Message ID | 20181013080848.29894-5-oskari@lemmela.net (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
Series | AXP8x3 AC and battery power supply support | expand |
On Sat, Oct 13, 2018 at 4:09 PM Oskari Lemmela <oskari@lemmela.net> 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@lemmela.net> > Reviewed-by: Quentin Schulz <quentin.schulz@bootlin.com> > --- > .../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 >
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"; };