Skip to contentSkip to conversation

ARM: dts: imx51-zii-rdu1: Fix the rtc compatible string

PATCH New Fabio Estevam 4 participants 7 messages Sep 18, 2018 – Sep 26, 2018

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/2 ARM: dts: imx51-zii-rdu1: Fix the rtc compatible string

According to Documentation/devicetree/bindings/rtc/rtc-ds1307.txt the original compatible "maxim,ds1341" is not a valid entry.

Switch to the documented "dallas,ds1341" compatible.

---
 arch/arm/boot/dts/imx51-zii-rdu1.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx51-zii-rdu1.dts +1 -1
index 469cce2..e45a15c 100644
@@ -508,7 +508,7 @@
 	};
 
 	ds1341: rtc at 68 {
-		compatible = "maxim,ds1341";
+		compatible = "dallas,ds1341";
 		reg = <0x68>;
 	};
 
Signature · 1 line
2.7.4
author reviewer
#1 lore raw

PATCH 2/2 ARM: dts: imx6qdl-zii-rdu2: Disable the internal RTC

On the imx6qdl-zii-rdu2 board the RTC functionality is provided via a DS1341 RTC connected via I2C bus, so we can safely disable the internal one.

---
 arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +4 -0
index 7fff371..85e79a3 100644
@@ -813,6 +813,10 @@
 	status = "okay";
 };
 
+&snvs_rtc {
+	status = "disabled";
+};
+
 &ssi1 {
 	status = "okay";
 };
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/2 ARM: dts: imx6qdl-zii-rdu2: Disable the internal RTC

Am Dienstag, den 18.09.2018, 08:43 -0300 schrieb Fabio Estevam:

Quoted 6 lines

On the imx6qdl-zii-rdu2 board the RTC functionality is provided via a DS1341 RTC connected via I2C bus, so we can safely disable the internal one.?

Quoted 19 lines

---
?arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 4 ++++
?1 file changed, 4 insertions(+)

arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +0 -0
index 7fff371..85e79a3 100644
@@ -813,6 +813,10 @@
 > ?	status = "okay";
 ?};

?
+&snvs_rtc {

Quoted 1 line
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +1 -0
+	status = "disabled";
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +2 -0
+};
+

?&ssi1 {

Quoted 1 line

? status = "okay";

?};

#4 lore raw

PATCH 1/2 ARM: dts: imx51-zii-rdu1: Fix the rtc compatible string

In reply to Fabio Estevam

Am Dienstag, den 18.09.2018, 08:43 -0300 schrieb Fabio Estevam:

Quoted 7 lines

According to Documentation/devicetree/bindings/rtc/rtc-ds1307.txt the original compatible "maxim,ds1341" is not a valid entry.

Switch to the documented "dallas,ds1341" compatible.

Quoted 17 lines

---
?arch/arm/boot/dts/imx51-zii-rdu1.dts | 2 +-
?1 file changed, 1 insertion(+), 1 deletion(-)

arch/arm/boot/dts/imx51-zii-rdu1.dts +0 -0
index 469cce2..e45a15c 100644
@@ -508,7 +508,7 @@
 > ?	};

?

Quoted 5 lines
Quoted 1 line

? ds1341: rtc at 68 {

arch/arm/boot/dts/imx51-zii-rdu1.dts +1 -1
-		compatible = "maxim,ds1341";
+		compatible = "dallas,ds1341";

? reg = <0x68>;
? };

?