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

Jonathan Bakker xc-racer2 at live.ca
Wed Mar 23 08:03:10 PDT 2022


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 at live.ca>
---
 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




More information about the linux-arm-kernel mailing list