Re: [PATCH v4 4/7] arm64: dts: allwinner: a64: sopine: enable power supplies

From: Chen-Yu Tsai
Date: Tue Oct 16 2018 - 00:15:11 EST


On Sat, Oct 13, 2018 at 4:09 PM Oskari Lemmela <oskari@xxxxxxxxxxx> wrote:
>
> Sopine baseboard have ACIN and battery connectors.

The commit message should be more specific, like how the two connections
from the PMIC are routed. In this case ACIN is routed from the SOM to
the DC jack on the baseboard, while the battery pins are routed to a 3-pin
connector next to the USB connectors.

ChenYu

>
> Signed-off-by: Oskari Lemmela <oskari@xxxxxxxxxxx>
> Reviewed-by: Quentin Schulz <quentin.schulz@xxxxxxxxxxx>
> ---
> .../boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
> index c21f2331add6..335cf2263d19 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
> @@ -69,6 +69,14 @@
> };
> };
>
> +&ac_power_supply {
> + status = "okay";
> +};
> +
> +&battery_power_supply {
> + status = "okay";
> +};
> +
> &ehci0 {
> status = "okay";
> };
> --
> 2.17.1
>