2023-11-02 22:12:34

by João Rodrigues

[permalink] [raw]
Subject: [PATCH v1] ARM: dts: imx: tqma7: add lm75a sensor (rev. 01xxx)

From: João Rodrigues <[email protected]>

TQMa7x (revision 01xxx) uses a LM75A temperature sensor.
The two sensors use different I2C addresses, so we can set both sensors
simultaneously.

Signed-off-by: João Rodrigues <[email protected]>
---
arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi
index fe42b0a4683..3fc3130f9de 100644
--- a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi
@@ -128,11 +128,16 @@ vgen6_reg: vldo4 {
};
};

- /* NXP SE97BTP with temperature sensor + eeprom */
+ /* LM75A temperature sensor, TQMa7x 01xx */
+ lm75a: temperature-sensor@48 {
+ compatible = "national,lm75a";
+ reg = <0x48>;
+ };
+
+ /* NXP SE97BTP with temperature sensor + eeprom, TQMa7x 02xx */
se97b: temperature-sensor-eeprom@1e {
compatible = "nxp,se97b", "jedec,jc-42.4-temp";
reg = <0x1e>;
- status = "okay";
};

/* ST M24C64 */
--
2.25.1


2023-11-03 21:36:42

by Fabio Estevam

[permalink] [raw]
Subject: Re: [PATCH v1] ARM: dts: imx: tqma7: add lm75a sensor (rev. 01xxx)

[Adding Bruno and Alexander]

On Thu, Nov 2, 2023 at 7:12 PM João Rodrigues <[email protected]> wrote:
>
> From: João Rodrigues <[email protected]>
>
> TQMa7x (revision 01xxx) uses a LM75A temperature sensor.
> The two sensors use different I2C addresses, so we can set both sensors
> simultaneously.
>
> Signed-off-by: João Rodrigues <[email protected]>
> ---
> arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi
> index fe42b0a4683..3fc3130f9de 100644
> --- a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi
> +++ b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi
> @@ -128,11 +128,16 @@ vgen6_reg: vldo4 {
> };
> };
>
> - /* NXP SE97BTP with temperature sensor + eeprom */
> + /* LM75A temperature sensor, TQMa7x 01xx */
> + lm75a: temperature-sensor@48 {
> + compatible = "national,lm75a";
> + reg = <0x48>;
> + };
> +
> + /* NXP SE97BTP with temperature sensor + eeprom, TQMa7x 02xx */
> se97b: temperature-sensor-eeprom@1e {
> compatible = "nxp,se97b", "jedec,jc-42.4-temp";
> reg = <0x1e>;
> - status = "okay";
> };
>
> /* ST M24C64 */
> --
> 2.25.1
>

2023-11-07 06:34:51

by Alexander Stein

[permalink] [raw]
Subject: Re: [PATCH v1] ARM: dts: imx: tqma7: add lm75a sensor (rev. 01xxx)

Hi,

Am Freitag, 3. November 2023, 22:07:08 CET schrieb Fabio Estevam:
> [Adding Bruno and Alexander]
>
> On Thu, Nov 2, 2023 at 7:12 PM João Rodrigues <[email protected]> wrote:
> > From: João Rodrigues <[email protected]>
> >
> > TQMa7x (revision 01xxx) uses a LM75A temperature sensor.
> > The two sensors use different I2C addresses, so we can set both sensors
> > simultaneously.

I've contacted responsible department and I am waiting for more details.

Best regards,
Alexander

> > Signed-off-by: João Rodrigues <[email protected]>
> > ---
> >
> > arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi | 9 +++++++--
> > 1 file changed, 7 insertions(+), 2 deletions(-)
> >
> > diff --git a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi
> > b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi index
> > fe42b0a4683..3fc3130f9de 100644
> > --- a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi
> > +++ b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi
> > @@ -128,11 +128,16 @@ vgen6_reg: vldo4 {
> >
> > };
> >
> > };
> >
> > - /* NXP SE97BTP with temperature sensor + eeprom */
> > + /* LM75A temperature sensor, TQMa7x 01xx */
> > + lm75a: temperature-sensor@48 {
> > + compatible = "national,lm75a";
> > + reg = <0x48>;
> > + };
> > +
> > + /* NXP SE97BTP with temperature sensor + eeprom, TQMa7x 02xx */
> >
> > se97b: temperature-sensor-eeprom@1e {
> >
> > compatible = "nxp,se97b", "jedec,jc-42.4-temp";
> > reg = <0x1e>;
> >
> > - status = "okay";
> >
> > };
> >
> > /* ST M24C64 */
> >
> > --
> > 2.25.1


--
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/


2023-12-05 12:15:49

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH v1] ARM: dts: imx: tqma7: add lm75a sensor (rev. 01xxx)

On Thu, Nov 02, 2023 at 11:11:30PM +0100, Jo?o Rodrigues wrote:
> From: Jo?o Rodrigues <[email protected]>
>
> TQMa7x (revision 01xxx) uses a LM75A temperature sensor.
> The two sensors use different I2C addresses, so we can set both sensors
> simultaneously.
>
> Signed-off-by: Jo?o Rodrigues <[email protected]>

Applied, thanks!