Skip to contentSkip to conversation

ARM: dts: helios4: use national,lm75 compatible

PATCH In review Rosen Penev 2 participants 2 messages Aug 31 – Sep 30

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

PATCH 1/1 ARM: dts: helios4: use national,lm75 compatible

The temp@4c node uses "ti,lm75", which no binding covers and which dtbs_check rejects:

temp@4c: failed to match any schema with compatible: ['ti,lm75']

The LM75 was originally a National Semiconductor part (now owned by TI) and the lm75 driver binds it via the matching "national,lm75" entry. Use the documented compatible; no functional change. The i2c name fallback ends up binding it.

Assisted-by opencode:big-pickle
---
 arch/arm/boot/dts/marvell/armada-388-helios4.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/marvell/armada-388-helios4.dts +1 -1
index 548fb92ca811..39b2d4fa742c 100644
@@ -200,7 +200,7 @@ usb3-ilimit-hog {
 				};
 
 				temp_sensor: temp@4c {
-					compatible = "ti,lm75";
+					compatible = "national,lm75";
 					reg = <0x4c>;
 					vs-supply = <&reg_3p3v>;
 				};
Signature · 1 line
2.55.0
maintainer
#1 lore raw
Quoted 5 lines · Rosen Penev

The temp@4c node uses "ti,lm75", which no binding covers and which dtbs_check rejects:

temp@4c: failed to match any schema with compatible: ['ti,lm75']

Quoted 7 lines

The LM75 was originally a National Semiconductor part (now owned by TI) and the lm75 driver binds it via the matching "national,lm75" entry. Use the documented compatible; no functional change. The i2c name fallback ends up binding it.

Assisted-by opencode:big-pickle

Applied on mvebu/dt

Thanks,

Gregory

Quoted 20 lines
---
 arch/arm/boot/dts/marvell/armada-388-helios4.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/marvell/armada-388-helios4.dts +1 -1
index 548fb92ca811..39b2d4fa742c 100644
@@ -200,7 +200,7 @@ usb3-ilimit-hog {
 				};
 
 				temp_sensor: temp@4c {
-					compatible = "ti,lm75";
+					compatible = "national,lm75";
 					reg = <0x4c>;
 					vs-supply = <&reg_3p3v>;
 				};
Signature · 1 line
2.55.0
Signature · 3 lines
Grégory CLEMENT, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com