[04/12] ARM: dts: imx6-tx6: add trickle-charge config for DS1339

Message ID 1507722635-30801-5-git-send-email-LW@KARO-electronics.de
State New
Headers show
Series
  • ARM: dts: imx6: Update dts files for the Ka-Ro TX6 module series
Related show

Commit Message

Lothar Waßmann Oct. 11, 2017, 11:50 a.m.
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@KARO-electronics.de>
---
 arch/arm/boot/dts/imx6qdl-tx6.dtsi | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/arch/arm/boot/dts/imx6qdl-tx6.dtsi b/arch/arm/boot/dts/imx6qdl-tx6.dtsi
index c6bec97..a50bf71 100644
--- a/arch/arm/boot/dts/imx6qdl-tx6.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-tx6.dtsi
@@ -284,6 +284,8 @@ 
 	ds1339: rtc@68 {
 		compatible = "dallas,ds1339";
 		reg = <0x68>;
+		trickle-resistor-ohms = <250>;
+		trickle-diode-disable;
 	};
 };