Skip to contentSkip to conversation

arm64: dts: tqma8mpql: Fix temperature sensor compatible

PATCH In review Alexander Stein 2 participants 9 messages Dec 7, 2022 – Jan 2, 2023

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

PATCH 1/7 arm64: dts: tqma8mpql: Fix temperature sensor compatible

Use the correct compatible 'nxp,se97b' as it is an SE97BTP chip. While at it, fix the node name according to device tree spec recommendations. The EEPROM is a separate node anyway.

---
 arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts | 5 ++---
 arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi         | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts +2 -3
index a3340814099aa..f7f657b007a18 100644
@@ -516,9 +516,8 @@ tlv320aic3x04: audio-codec@18 {
 		ldoin-supply = <&reg_vcc_3v3>;
 	};
 
-	/* NXP SE97BTP with temperature sensor + eeprom */
-	se97_1c: temperature-sensor-eeprom@1c {
-		compatible = "nxp,se97", "jedec,jc-42.4-temp";
+	se97_1c: temperature-sensor@1c {
+		compatible = "nxp,se97b", "jedec,jc-42.4-temp";
 		reg = <0x1c>;
 	};
 
arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi +2 -3
index 7bd680a926ce7..ebc29a950ba9a 100644
@@ -63,9 +63,8 @@ &i2c1 {
 	sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
 	status = "okay";
 
-	/* NXP SE97BTP with temperature sensor + eeprom */
-	se97: temperature-sensor-eeprom@1b {
-		compatible = "nxp,se97", "jedec,jc-42.4-temp";
+	se97: temperature-sensor@1b {
+		compatible = "nxp,se97b", "jedec,jc-42.4-temp";
 		reg = <0x1b>;
 	};
 
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/7 arm64: dts: mba8mx: Fix temperature sensor compatible

Use the correct compatible 'nxp,se97b' as it is an SE97BTP chip. While at it, fix the node name according to device tree spec recommendations.

---
 arch/arm64/boot/dts/freescale/mba8mx.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/mba8mx.dtsi +2 -2
index 446a8ec3eb6fc..94d83f20233b7 100644
@@ -260,8 +260,8 @@ tlv320aic3x04: audio-codec@18 {
 		ldoin-supply = <&reg_vcc_3v3>;
 	};
 
-	sensor1: sensor@1f {
-		compatible = "nxp,se97", "jedec,jc-42.4-temp";
+	sensor1: temperator-sensor@1f {
+		compatible = "nxp,se97b", "jedec,jc-42.4-temp";
 		reg = <0x1f>;
 	};
 
Signature · 1 line
2.34.1
#2 lore raw

PATCH 3/7 arm64: dts: imx8mq-tqma8mq: Fix temperature sensor compatible

In reply to Alexander Stein

Use the correct compatible 'nxp,se97b' as it is an SE97BTP chip. While at it, fix the node name according to device tree spec recommendations. The EEPROM is a separate node anyway.

---
 arch/arm64/boot/dts/freescale/imx8mq-tqma8mq.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8mq-tqma8mq.dtsi +2 -2
index 9a95e30fb42d9..5ca6b22525469 100644
@@ -194,8 +194,8 @@ vgen6_reg: vgen6 {
 		};
 	};
 
-	sensor0: temperature-sensor-eeprom@1b {
-		compatible = "nxp,se97", "jedec,jc-42.4-temp";
+	sensor0: temperature-sensor@1b {
+		compatible = "nxp,se97b", "jedec,jc-42.4-temp";
 		reg = <0x1b>;
 	};
 
Signature · 1 line
2.34.1
#3 lore raw

PATCH 4/7 arm64: dts: imx8mn-tqma8mqnl: Fix temperature sensor compatible

In reply to Alexander Stein

Use the correct compatible 'nxp,se97b' as it is an SE97BTP chip. While at it, fix the node name according to device tree spec recommendations. The EEPROM is a separate node anyway.

---
 arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi +2 -2
index 48b965386e879..391ca5516e4c5 100644
@@ -77,8 +77,8 @@ &i2c1 {
 	sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
 	status = "okay";
 
-	sensor0: temperature-sensor-eeprom@1b {
-		compatible = "nxp,se97", "jedec,jc-42.4-temp";
+	sensor0: temperature-sensor@1b {
+		compatible = "nxp,se97b", "jedec,jc-42.4-temp";
 		reg = <0x1b>;
 	};
 
Signature · 1 line
2.34.1
#4 lore raw

PATCH 5/7 arm64: dts: imx8mm-tqma8mqml: Fix temperature sensor compatible

In reply to Alexander Stein

Use the correct compatible 'nxp,se97b' as it is an SE97BTP chip. While at it, fix the node name according to device tree spec recommendations. The EEPROM is a separate node anyway.

---
 arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi +2 -2
index 88d89cd46c74a..b4466a26d838a 100644
@@ -87,8 +87,8 @@ &i2c1 {
 	sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
 	status = "okay";
 
-	sensor0: temperature-sensor-eeprom@1b {
-		compatible = "nxp,se97", "jedec,jc-42.4-temp";
+	sensor0: temperature-sensor@1b {
+		compatible = "nxp,se97b", "jedec,jc-42.4-temp";
 		reg = <0x1b>;
 	};
 
Signature · 1 line
2.34.1
#5 lore raw

PATCH 6/7 ARM: dts: mba6ulx: Fix temperature sensor compatible

In reply to Alexander Stein

Use the correct compatible 'nxp,se97b' as it is an SE97BTP chip.

---
 arch/arm/boot/dts/mba6ulx.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/mba6ulx.dtsi +1 -1
index b8e576ab8860d..d08f525acfe56 100644
@@ -229,7 +229,7 @@ tlv320aic32x4: audio-codec@18 {
 	};
 
 	jc42: temperature-sensor@19 {
-		compatible = "nxp,se97", "jedec,jc-42.4-temp";
+		compatible = "nxp,se97b", "jedec,jc-42.4-temp";
 		reg = <0x19>;
 	};
 
Signature · 1 line
2.34.1
#6 lore raw

PATCH 7/7 ARM: dts: imx6ul-tqma6ul: Fix temperature sensor compatible

In reply to Alexander Stein

Use the correct compatible 'nxp,se97b' as it is an SE97BTP chip. While at it, fix the node name according to device tree spec recommendations. The EEPROM is a separate node anyway.

---
 arch/arm/boot/dts/imx6ul-tqma6ul-common.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx6ul-tqma6ul-common.dtsi +2 -2
index eca94ed6451b0..57e647fc32374 100644
@@ -116,8 +116,8 @@ reg_vldo4: vldo4 {
 		};
 	};
 
-	jc42_1a: eeprom-temperature-sensor@1a {
-		compatible = "nxp,se97", "jedec,jc-42.4-temp";
+	jc42_1a: eeprom-temperature@1a {
+		compatible = "nxp,se97b", "jedec,jc-42.4-temp";
 		reg = <0x1a>;
 	};
 
Signature · 1 line
2.34.1
#7 lore raw
In reply to Alexander Stein
Quoted 5 lines · Alexander Stein

Use the correct compatible 'nxp,se97b' as it is an SE97BTP chip. While at it, fix the node name according to device tree spec recommendations. The EEPROM is a separate node anyway.

Could you combine the series into two patches, one for arm64 and the other for ARM?

Shawn

Quoted 40 lines
---
 arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts | 5 ++---
 arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi         | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts +2 -3
index a3340814099aa..f7f657b007a18 100644
@@ -516,9 +516,8 @@ tlv320aic3x04: audio-codec@18 {
 		ldoin-supply = <&reg_vcc_3v3>;
 	};
 
-	/* NXP SE97BTP with temperature sensor + eeprom */
-	se97_1c: temperature-sensor-eeprom@1c {
-		compatible = "nxp,se97", "jedec,jc-42.4-temp";
+	se97_1c: temperature-sensor@1c {
+		compatible = "nxp,se97b", "jedec,jc-42.4-temp";
 		reg = <0x1c>;
 	};
 
arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi +2 -3
index 7bd680a926ce7..ebc29a950ba9a 100644
@@ -63,9 +63,8 @@ &i2c1 {
 	sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
 	status = "okay";
 
-	/* NXP SE97BTP with temperature sensor + eeprom */
-	se97: temperature-sensor-eeprom@1b {
-		compatible = "nxp,se97", "jedec,jc-42.4-temp";
+	se97: temperature-sensor@1b {
+		compatible = "nxp,se97b", "jedec,jc-42.4-temp";
 		reg = <0x1b>;
 	};
 
Signature · 1 line
2.34.1
#8 lore raw

Hi Shawn,

Am Samstag, 31. Dezember 2022, 13:57:58 CET schrieb Shawn Guo:

Quoted 9 lines · Alexander Stein
Quoted 5 lines

Use the correct compatible 'nxp,se97b' as it is an SE97BTP chip. While at it, fix the node name according to device tree spec recommendations. The EEPROM is a separate node anyway.

Could you combine the series into two patches, one for arm64 and the other for ARM?

I just split and resend the series, but I overlooked that you wanted to squash them actually :( I'll do another round.

Best regards,
Alexander

Quoted 48 lines

Shawn

Quoted 46 lines

---

 arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts | 5 ++---
 arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi         | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)
(quoted diff) +0 -0

b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts index a3340814099aa..f7f657b007a18 100644

arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts +2 -3
@@ -516,9 +516,8 @@ tlv320aic3x04: audio-codec@18 {
 
 		ldoin-supply = <&reg_vcc_3v3>;
 
 	};
 
-	/* NXP SE97BTP with temperature sensor + eeprom */
-	se97_1c: temperature-sensor-eeprom@1c {
-		compatible = "nxp,se97", "jedec,jc-42.4-temp";
+	se97_1c: temperature-sensor@1c {
+		compatible = "nxp,se97b", "jedec,jc-42.4-temp";
 
arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts +0 -0
 		reg = <0x1c>;
 
 	};
(quoted diff) +0 -0

b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi index 7bd680a926ce7..ebc29a950ba9a 100644

arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi +2 -3
@@ -63,9 +63,8 @@ &i2c1 {
 
 	sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
 	status = "okay";
 
-	/* NXP SE97BTP with temperature sensor + eeprom */
-	se97: temperature-sensor-eeprom@1b {
-		compatible = "nxp,se97", "jedec,jc-42.4-temp";
+	se97: temperature-sensor@1b {
+		compatible = "nxp,se97b", "jedec,jc-42.4-temp";
 
 		reg = <0x1b>;

};