diff mbox series

[1/7] arm64: dts: tqma8mpql: Fix temperature sensor compatible

Message ID 20221207124205.1373202-1-alexander.stein@ew.tq-group.com
State New
Headers show
Series [1/7] arm64: dts: tqma8mpql: Fix temperature sensor compatible | expand

Commit Message

Alexander Stein Dec. 7, 2022, 12:41 p.m. UTC
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 <alexander.stein@ew.tq-group.com>
---
 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(-)

Comments

Alexander Stein Jan. 2, 2023, 2:50 p.m. UTC | #1
Hi Shawn,

Am Samstag, 31. Dezember 2022, 13:57:58 CET schrieb Shawn Guo:
> On Wed, Dec 07, 2022 at 01:41:59PM +0100, Alexander Stein wrote:
> > 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 <alexander.stein@ew.tq-group.com>
> 
> 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

> Shawn
> 
> > ---
> > 
> >  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(-)
> > 
> > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts
> > b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts index
> > a3340814099aa..f7f657b007a18 100644
> > --- a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts
> > +++ b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts
> > @@ -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>;
> >  	
> >  	};
> > 
> > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi
> > b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi index
> > 7bd680a926ce7..ebc29a950ba9a 100644
> > --- a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi
> > @@ -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>;
> >  	
> >  	};
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts
index a3340814099aa..f7f657b007a18 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts
@@ -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>;
 	};
 
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi
index 7bd680a926ce7..ebc29a950ba9a 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi
@@ -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>;
 	};