[PATCH 6/7] ARM: dts: s5pv210: Add charger regulator to max8998 in Aries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Enabling and disabling of the charger is done via a regulator on
them max8998 PMIC.  Add control of it in preparation for full
charging support.

Signed-off-by: Jonathan Bakker <xc-racer2@xxxxxxx>
---
 arch/arm/boot/dts/s5pv210-aries.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi b/arch/arm/boot/dts/s5pv210-aries.dtsi
index 13a065f5df5e..781d843da89b 100644
--- a/arch/arm/boot/dts/s5pv210-aries.dtsi
+++ b/arch/arm/boot/dts/s5pv210-aries.dtsi
@@ -424,6 +424,12 @@
 				safe2_sreg: ESAFEOUT2 {
 					regulator-name = "SAFEOUT2";
 				};
+
+				charger_reg: CHARGER {
+					regulator-name = "CHARGER";
+					regulator-min-microamp = <90000>;
+					regulator-max-microamp = <800000>;
+				};
 			};
 		};
 	};
-- 
2.20.1




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux