[PATCH 4/4] ARM: dts: imx28-tx28: add trickle-charge config for DS1339

Lothar Waßmann LW at KARO-electronics.de
Wed Oct 11 04:05:39 PDT 2017


As the DS1339 driver now supports enabling the trickle charge feature
via DTB, add the appropriate properties to utilize this feature.

Signed-off-by: Lothar Waßmann <LW at KARO-electronics.de>
---
 arch/arm/boot/dts/imx28-tx28.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/imx28-tx28.dts b/arch/arm/boot/dts/imx28-tx28.dts
index 3c852f7..4684d2f 100644
--- a/arch/arm/boot/dts/imx28-tx28.dts
+++ b/arch/arm/boot/dts/imx28-tx28.dts
@@ -358,6 +358,8 @@
 	ds1339: rtc at 68 {
 		compatible = "mxim,ds1339";
 		reg = <0x68>;
+		trickle-resistor-ohms = <250>;
+		trickle-diode-disable;
 	};
 };
 
-- 
2.1.4




More information about the linux-arm-kernel mailing list