Devicetree
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: ti/omap: omap4-epson-embt2ws: Add temperature sensor
@ 2026-11-28 23:15 Andreas Kemnade
  2026-11-28 23:22 ` sashiko-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Kemnade @ 2026-11-28 23:15 UTC (permalink / raw)
  To: aaro.koskinen, andreas, khilman, rogerq, tony, robh, krzk+dt,
	conor+dt, linux-omap, devicetree

The Jorjin SOM on that board has a temperature sensor.
Type indentified by looking at default values and register width.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
 arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
index d51913620f06b..ee385423c7b76 100644
--- a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
+++ b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
@@ -413,6 +413,12 @@ tlv320aic3x: codec@18 {
 		reset-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
 	};
 
+	sensor@48 {
+		compatible = "ti,tmp102";
+		label = "som";
+		reg = <0x48>;
+	};
+
 	mpu9150: imu@68 {
 		compatible = "invensense,mpu9150";
 		reg = <0x68>;
-- 
2.47.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: ti/omap: omap4-epson-embt2ws: Add temperature sensor
  2026-11-28 23:15 [PATCH] ARM: dts: ti/omap: omap4-epson-embt2ws: Add temperature sensor Andreas Kemnade
@ 2026-11-28 23:22 ` sashiko-bot
  0 siblings, 0 replies; 2+ messages in thread
From: sashiko-bot @ 2026-11-28 23:22 UTC (permalink / raw)
  To: Andreas Kemnade, devicetree; +Cc: robh, conor+dt

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] ARM: dts: omap4-epson-embt2ws: non-standard node name and
  property order
--

commit c96c04e3b7e272bcddbd33bdb194e678124b0be6
Author: Andreas Kemnade <andreas@kemnade.info>

ARM: dts: ti/omap: omap4-epson-embt2ws: Add temperature sensor

This commit adds a TI TMP102 temperature sensor node on the i2c4 bus for
the Jorjin SOM on the EpsonMoverio BT-200 board.

> diff --git a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
> index d51913620f06b..ee385423c7b76 100644
> --- a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
> +++ b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
> @@ -413,6 +413,12 @@ tlv320aic3x: codec@18 {
>  		reset-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
>  	};
>  
> +	sensor@48 {
> +		compatible = "ti,tmp102";
> +		label = "som";
> +		reg = <0x48>;
> +	};
> +
>  	mpu9150: imu@68 {
>  		compatible = "invensense,mpu9150";
>  		reg = <0x68>;

[Severity: Low]
This isn't a bug, but per the Devicetree generic node naming guidelines
and Documentation/devicetree/bindings/dts-coding-style.rst, should this
node be named temperature-sensor@48 with reg placed immediately after
compatible (before label)?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261128231552.2067233-1-andreas@kemnade.info?part=1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-28 23:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-28 23:15 [PATCH] ARM: dts: ti/omap: omap4-epson-embt2ws: Add temperature sensor Andreas Kemnade
2026-11-28 23:22 ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox