Skip to contentSkip to conversation

ARM: dts: imx28: Use correct compatible string for RTC

PATCH Applied Thierry Reding 4 participants 6 messages Dec 20, 2021 – Jan 28, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: dts: imx28: Use correct compatible string for RTC

From: Thierry Reding <[email protected]>

The "mxim" vendor prefix does not exit, though it looks like it might have been a typo'ed "maxim". Still, no compatible string exists that matches "maxim,ds1339". The closest is the "dallas,ds1339" and since this node is named "rtc" that's probably the one that was intended.

---
 arch/arm/boot/dts/imx28-tx28.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx28-tx28.dts +1 -1
index 164254c28f8e..a1fd508ee425 100644
@@ -356,7 +356,7 @@ touchscreen: tsc2007@48 {
 	};
 
 	ds1339: rtc@68 {
-		compatible = "mxim,ds1339";
+		compatible = "dallas,ds1339";
 		reg = <0x68>;
 		trickle-resistor-ohms = <250>;
 		trickle-diode-disable;
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw

PATCH 2/2 ARM: dts: imx: Rename RTC device tree nodes

From: Thierry Reding <[email protected]>

Device tree nodes for RTC devices should be called "rtc", so fix up some instances where that wasn't the case.

---
 arch/arm/boot/dts/imx51-ts4800.dts           | 2 +-
 arch/arm/boot/dts/imx53-tx53.dtsi            | 2 +-
 arch/arm/boot/dts/imx6q-tbs2910.dts          | 2 +-
 arch/arm/boot/dts/imx6qdl-tx6-mb7.dtsi       | 2 +-
 arch/arm/boot/dts/imx6ul-tx6ul-mainboard.dts | 2 +-
 arch/arm/boot/dts/imx7-colibri-aster.dtsi    | 2 +-
 arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi  | 2 +-
 arch/arm/boot/dts/vf-colibri-eval-v3.dtsi    | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)
arch/arm/boot/dts/imx51-ts4800.dts +1 -1
index 6ecb83e7f336..85654d6baf28 100644
@@ -102,7 +102,7 @@ &i2c2 {
 	pinctrl-0 = <&pinctrl_i2c2>;
 	status = "okay";
 
-	rtc: m41t00@68 {
+	rtc: rtc@68 {
 		compatible = "st,m41t00";
 		reg = <0x68>;
 	};
arch/arm/boot/dts/imx53-tx53.dtsi +1 -1
index 7c9730f3f820..572260518098 100644
@@ -252,7 +252,7 @@ &i2c1 {
 	clock-frequency = <400000>;
 	status = "okay";
 
-	rtc1: ds1339@68 {
+	rtc1: rtc@68 {
 		compatible = "dallas,ds1339";
 		reg = <0x68>;
 		pinctrl-names = "default";
arch/arm/boot/dts/imx6q-tbs2910.dts +1 -1
index 343364d3e4f7..8daef65d5bb3 100644
@@ -159,7 +159,7 @@ &i2c3 {
 	pinctrl-0 = <&pinctrl_i2c3>;
 	status = "okay";
 
-	rtc: ds1307@68 {
+	rtc: rtc@68 {
 		compatible = "dallas,ds1307";
 		reg = <0x68>;
 	};
arch/arm/boot/dts/imx6qdl-tx6-mb7.dtsi +1 -1
index 410972e1dca9..99ec7a838f8d 100644
@@ -85,7 +85,7 @@ &ds1339 {
 };
 
 &i2c3 {
-	rtc: mcp7940x@6f {
+	rtc: rtc@6f {
 		compatible = "microchip,mcp7940x";
 		reg = <0x6f>;
 	};
arch/arm/boot/dts/imx6ul-tx6ul-mainboard.dts +1 -1
index 97686097a86e..92ac0edcb608 100644
@@ -119,7 +119,7 @@ &i2c2 {
 	/delete-node/ codec@a;
 	/delete-node/ touchscreen@48;
 
-	rtc: mcp7940x@6f {
+	rtc: rtc@6f {
 		compatible = "microchip,mcp7940x";
 		reg = <0x6f>;
 	};
arch/arm/boot/dts/imx7-colibri-aster.dtsi +1 -1
index 139188eb9f40..b770fc937970 100644
@@ -103,7 +103,7 @@ touchscreen@4a {
 	};
 
 	/* M41T0M6 real time clock on carrier board */
-	rtc: m41t0m6@68 {
+	rtc: rtc@68 {
 		compatible = "st,m41t0";
 		reg = <0x68>;
 	};
arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi +1 -1
index 3caf450735d7..3b9df8c82ae3 100644
@@ -129,7 +129,7 @@ touchscreen@4a {
 	};
 
 	/* M41T0M6 real time clock on carrier board */
-	rtc: m41t0m6@68 {
+	rtc: rtc@68 {
 		compatible = "st,m41t0";
 		reg = <0x68>;
 	};
arch/arm/boot/dts/vf-colibri-eval-v3.dtsi +1 -1
index c12a1b8bc086..14c411f146f5 100644
@@ -103,7 +103,7 @@ &i2c0 {
 	status = "okay";
 
 	/* M41T0M6 real time clock on carrier board */
-	rtc: m41t0m6@68 {
+	rtc: rtc@68 {
 		compatible = "st,m41t0";
 		reg = <0x68>;
 	};
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
reviewer Reviewed-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] ARM: dts: imx: Rename RTC device tree nodes

Quoted 7 lines · Thierry Reding

From: Thierry Reding <[email protected]>

Device tree nodes for RTC devices should be called "rtc", so fix up some instances where that wasn't the case.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

reviewer Reviewed-by on v1 1/2
#3 lore raw
In reply to Thierry Reding

[Adding Lothar on Cc]

Quoted 18 lines · Thierry Reding

From: Thierry Reding <[email protected]>

The "mxim" vendor prefix does not exit, though it looks like it might have been a typo'ed "maxim". Still, no compatible string exists that matches "maxim,ds1339". The closest is the "dallas,ds1339" and since this node is named "rtc" that's probably the one that was intended.

---
 arch/arm/boot/dts/imx28-tx28.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx28-tx28.dts +0 -0
index 164254c28f8e..a1fd508ee425 100644

arch/arm/boot/dts/imx28-tx28.dts touchscreen: tsc2007@48 { · line 359

Quoted 5 lines
arch/arm/boot/dts/imx28-tx28.dts +1 -1
@@ -356,7 +356,7 @@ touchscreen: tsc2007@48 {
        };
 
        ds1339: rtc@68 {
-               compatible = "mxim,ds1339";
+               compatible = "dallas,ds1339";

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#4 lore raw
Quoted 24 lines · Fabio Estevam

[Adding Lothar on Cc]

Quoted 20 lines · Thierry Reding

From: Thierry Reding <[email protected]>

The "mxim" vendor prefix does not exit, though it looks like it might have been a typo'ed "maxim". Still, no compatible string exists that matches "maxim,ds1339". The closest is the "dallas,ds1339" and since this node is named "rtc" that's probably the one that was intended.

---
 arch/arm/boot/dts/imx28-tx28.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx28-tx28.dts +0 -0
index 164254c28f8e..a1fd508ee425 100644
@@ -356,7 +356,7 @@ touchscreen: tsc2007@48 {
        };
 
Quoted 5 lines

arch/arm/boot/dts/imx28-tx28.dts touchscreen: tsc2007@48 { · line 359

Quoted 3 lines
arch/arm/boot/dts/imx28-tx28.dts +1 -1
        ds1339: rtc@68 {
-               compatible = "mxim,ds1339";
+               compatible = "dallas,ds1339";  
Signature · 14 lines
___________________________________________________________

Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Geschäftsführer: Matthias Kaussen
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996

www.karo-electronics.de | [email protected]
___________________________________________________________

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Applied
#5 lore raw
In reply to Thierry Reding
Quoted 8 lines · Thierry Reding

From: Thierry Reding <[email protected]>

The "mxim" vendor prefix does not exit, though it looks like it might have been a typo'ed "maxim". Still, no compatible string exists that matches "maxim,ds1339". The closest is the "dallas,ds1339" and since this node is named "rtc" that's probably the one that was intended.

Applied both, thanks!

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel