ARM: sun7i: Cubietruck: enable ACIN und USB power supply subnode
Subsystems (2)
PATCH 1/1 ARM: sun7i: Cubietruck: enable ACIN und USB power supply subnode
The Cubietruck has an AXP209 PMIC and can be power-supplied by ACIN via
the CHG-IN pin or by USB.
This enables the ACIN and the USB power supply subnode in the DT.
Signed-off-by Alexander Syring <[email protected]>
---
Send again to all relevant people
--- arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 9 +++++++++ 1 file changed, 9 insertions(+)
arch/arm/boot/dts/sun7i-a20-cubietruck.dts +9 -0
@@ -267,6 +267,10 @@ #include "axp209.dtsi" +&ac_power_supply { + status = "okay"; +}; + ®_dcdc2 { regulator-always-on; regulator-min-microvolt = <1000000>;
@@ -323,6 +327,10 @@ status = "okay"; }; +&usb_power_supply { + status = "okay"; +}; + &usbphy { pinctrl-names = "default"; pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
@@ -333,3 +341,4 @@ usb2_vbus-supply = <®_usb2_vbus>; status = "okay"; }; +
--
2.11.0
Hi,
Quoted 41 lines · Alexander Syring
The Cubietruck has an AXP209 PMIC and can be power-supplied by ACIN via
the CHG-IN pin or by USB.This enables the ACIN and the USB power supply subnode in the DT.
Signed-off-by Alexander Syring <[email protected]>---
Send again to all relevant people
--- arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 9 +++++++++ 1 file changed, 9 insertions(+)arch/arm/boot/dts/sun7i-a20-cubietruck.dts +8
-0@@ -267,6 +267,10 @@ #include "axp209.dtsi" +&ac_power_supply { + status = "okay"; +}; + ®_dcdc2 { regulator-always-on; regulator-min-microvolt = <1000000>;@@ -323,6 +327,10 @@ status = "okay"; }; +&usb_power_supply { + status = "okay"; +}; + &usbphy { pinctrl-names = "default"; pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
arch/arm/boot/dts/sun7i-a20-cubietruck.dts line 344
Quoted 4 lines
arch/arm/boot/dts/sun7i-a20-cubietruck.dts +1
-0@@ -333,3 +341,4 @@ usb2_vbus-supply = <®_usb2_vbus>; status = "okay"; }; +
You had a whitespace error here. I fixed it, and applied.
Thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170403/d2682128/attachment.sig>