arm64: dts: tqma8mpql: Fix temperature sensor compatible
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
@@ -516,9 +516,8 @@ tlv320aic3x04: audio-codec@18 { ldoin-supply = <®_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
@@ -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
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
@@ -260,8 +260,8 @@ tlv320aic3x04: audio-codec@18 { ldoin-supply = <®_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
PATCH 3/7 arm64: dts: imx8mq-tqma8mq: Fix temperature sensor compatible
In reply to Alexander SteinUse 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
@@ -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
PATCH 4/7 arm64: dts: imx8mn-tqma8mqnl: Fix temperature sensor compatible
In reply to Alexander SteinUse 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
@@ -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
PATCH 5/7 arm64: dts: imx8mm-tqma8mqml: Fix temperature sensor compatible
In reply to Alexander SteinUse 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
@@ -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
PATCH 6/7 ARM: dts: mba6ulx: Fix temperature sensor compatible
In reply to Alexander SteinUse 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
@@ -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
PATCH 7/7 ARM: dts: imx6ul-tqma6ul: Fix temperature sensor compatible
In reply to Alexander SteinUse 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
@@ -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
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.
Signed-off-by Alexander Stein <[email protected]>
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@@ -516,9 +516,8 @@ tlv320aic3x04: audio-codec@18 { ldoin-supply = <®_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@@ -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
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.
Signed-off-by Alexander Stein <[email protected]>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.dtsindexa3340814099aa..f7f657b007a18100644arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts +2
-3@@ -516,9 +516,8 @@ tlv320aic3x04: audio-codec@18 { ldoin-supply = <®_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
-0reg = <0x1c>; };(quoted diff) +0
-0
b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsiindex7bd680a926ce7..ebc29a950ba9a100644arch/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>;};