Message ID | 20181006211836.28253-3-oskari@lemmela.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v2,1/6] dt-bindings: power: supply: axp20x: add AXP813 AC power DT binding | expand |
Hi Oskari, On Sun, Oct 07, 2018 at 12:18:32AM +0300, Oskari Lemmela wrote: > Add AC power supply subnode for AXP81X PMIC. > > Signed-off-by: Oskari Lemmela <oskari@lemmela.net> > --- > arch/arm/boot/dts/axp81x.dtsi | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/boot/dts/axp81x.dtsi b/arch/arm/boot/dts/axp81x.dtsi > index 043c717dcef1..67c17151b584 100644 > --- a/arch/arm/boot/dts/axp81x.dtsi > +++ b/arch/arm/boot/dts/axp81x.dtsi > @@ -69,6 +69,11 @@ > }; > }; > > + ac_power_supply: ac-power-supply { > + compatible = "x-powers,axp813-ac-power-supply"; > + status = "disabled"; > + }; > + IIRC, when it's a DT node of something that has no address (register or bus address), we order alphabetically the DT nodes within the same parent node. So here, we would put it before axp_adc. Thanks, Quentin
diff --git a/arch/arm/boot/dts/axp81x.dtsi b/arch/arm/boot/dts/axp81x.dtsi index 043c717dcef1..67c17151b584 100644 --- a/arch/arm/boot/dts/axp81x.dtsi +++ b/arch/arm/boot/dts/axp81x.dtsi @@ -69,6 +69,11 @@ }; }; + ac_power_supply: ac-power-supply { + compatible = "x-powers,axp813-ac-power-supply"; + status = "disabled"; + }; + battery_power_supply: battery-power-supply { compatible = "x-powers,axp813-battery-power-supply"; status = "disabled";
Add AC power supply subnode for AXP81X PMIC. Signed-off-by: Oskari Lemmela <oskari@lemmela.net> --- arch/arm/boot/dts/axp81x.dtsi | 5 +++++ 1 file changed, 5 insertions(+)