Skip to contentSkip to conversation

ARM: dts: sun8i-h3: Drop args in 'thermal-sensors'

PATCH Applied Rob Herring 2 participants 2 messages Feb 4, 2022 – Feb 7, 2022

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 ARM: dts: sun8i-h3: Drop args in 'thermal-sensors'

The "allwinner,sun8i-h3-ths" thermal sensor has 0 argument cells, but the consumer has an argument cell. It is ignored by the code, but the error was found with some upcoming schema validation changes. The schema and code both agree that 0 cells is correct.

---
 arch/arm/boot/dts/sun8i-h3.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/sun8i-h3.dtsi +1 -1
index 845f25235407..eac2349a2380 100644
@@ -245,7 +245,7 @@ thermal-zones {
 		cpu_thermal: cpu-thermal {
 			polling-delay-passive = <0>;
 			polling-delay = <0>;
-			thermal-sensors = <&ths 0>;
+			thermal-sensors = <&ths>;
 
 			trips {
 				cpu_hot_trip: cpu-hot {
Signature · 1 line
2.32.0
#1 lore raw

Re: (subset) [PATCH] ARM: dts: sun8i-h3: Drop args in 'thermal-sensors'

Quoted 6 lines · Rob Herring

The "allwinner,sun8i-h3-ths" thermal sensor has 0 argument cells, but the consumer has an argument cell. It is ignored by the code, but the error was found with some upcoming schema validation changes. The schema and code both agree that 0 cells is correct.

Applied to sunxi/linux.git (sunxi/dt-for-5.18).

Thanks!
Maxime