Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1731605 > unrolled thread
| Started by | Icenowy Zheng <icenowy@aosc.io> |
|---|---|
| First post | 2017-09-13 15:30 +0200 |
| Last post | 2017-09-14 10:00 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] ARM: sun7i: a20: enable ac/battery power supplies for Lamobo R1 board Icenowy Zheng <icenowy@aosc.io> - 2017-09-13 15:30 +0200
Re: [PATCH] ARM: sun7i: a20: enable ac/battery power supplies for Lamobo R1 board Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-09-14 10:00 +0200
| From | Icenowy Zheng <icenowy@aosc.io> |
|---|---|
| Date | 2017-09-13 15:30 +0200 |
| Subject | [PATCH] ARM: sun7i: a20: enable ac/battery power supplies for Lamobo R1 board |
| Message-ID | <upfTP-7V2-7@gated-at.bofh.it> |
The Lamobo R1 board connected the ACIN of the AXP209 PMIC to a MicroUSB
port, and the battery input is connected to a generic connector.
Enable these two power supplies in the device tree.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
index 004b6ddac813..6ab2a6649eb1 100644
--- a/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
+++ b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
@@ -241,6 +241,14 @@
#include "axp209.dtsi"
+&ac_power_supply {
+ status = "okay";
+};
+
+&battery_power_supply {
+ status = "okay";
+};
+
®_ahci_5v {
gpio = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */
status = "okay";
--
2.13.5
[toc] | [next] | [standalone]
| From | Maxime Ripard <maxime.ripard@free-electrons.com> |
|---|---|
| Date | 2017-09-14 10:00 +0200 |
| Subject | Re: [PATCH] ARM: sun7i: a20: enable ac/battery power supplies for Lamobo R1 board |
| Message-ID | <upxe2-2cp-21@gated-at.bofh.it> |
| In reply to | #1731605 |
[Multipart message — attachments visible in raw view] — view raw
On Wed, Sep 13, 2017 at 09:21:30PM +0800, Icenowy Zheng wrote: > The Lamobo R1 board connected the ACIN of the AXP209 PMIC to a MicroUSB > port, and the battery input is connected to a generic connector. > > Enable these two power supplies in the device tree. > > Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Applied for 4.15, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web