Skip to contentSkip to conversation

ARM: dts: imx6sll: fix anatop thermal dtbs_check warnings

PATCH Applied Andreas Kemnade 2 participants 4 messages Oct 21, 2024 – Oct 22, 2024

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

PATCH 1/1 ARM: dts: imx6sll: fix anatop thermal dtbs_check warnings

Fix anatop thermal related dtbs_check warnings about node name and missing thermal-cells property.

---
 arch/arm/boot/dts/nxp/imx/imx6sll.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/nxp/imx/imx6sll.dtsi +2 -1
index ddeb5b37fb78b..85fe2a4ab97a0 100644
@@ -525,7 +525,7 @@ reg_3p0: regulator-3p0@20c8120 {
 					anatop-enable-bit = <0>;
 				};
 
-				tempmon: temperature-sensor {
+				tempmon: tempmon {
 					compatible = "fsl,imx6sll-tempmon", "fsl,imx6sx-tempmon";
 					interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
 					interrupt-parent = <&gpc>;
@@ -533,6 +533,7 @@ tempmon: temperature-sensor {
 					nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
 					nvmem-cell-names = "calib", "temp_grade";
 					clocks = <&clks IMX6SLL_CLK_PLL3_USB_OTG>;
+					#thermal-sensor-cells = <0>;
 				};
 			};
 
Signature · 1 line
2.39.5
#1 lore raw
Quoted 1 line · Andreas Kemnade

Fix anatop thermal related dtbs_check warnings about node name

Can we be clear what the warning about the node name is, too long?

Shawn

Quoted 31 lines

and missing thermal-cells property.

---
 arch/arm/boot/dts/nxp/imx/imx6sll.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/nxp/imx/imx6sll.dtsi +2 -1
index ddeb5b37fb78b..85fe2a4ab97a0 100644
@@ -525,7 +525,7 @@ reg_3p0: regulator-3p0@20c8120 {
 					anatop-enable-bit = <0>;
 				};
 
-				tempmon: temperature-sensor {
+				tempmon: tempmon {
 					compatible = "fsl,imx6sll-tempmon", "fsl,imx6sx-tempmon";
 					interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
 					interrupt-parent = <&gpc>;
@@ -533,6 +533,7 @@ tempmon: temperature-sensor {
 					nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
 					nvmem-cell-names = "calib", "temp_grade";
 					clocks = <&clks IMX6SLL_CLK_PLL3_USB_OTG>;
+					#thermal-sensor-cells = <0>;
 				};
 			};
 
Signature · 1 line
2.39.5
#2 lore raw

Am Tue, 22 Oct 2024 11:34:58 +0800
schrieb Shawn Guo <[email protected]>:

Quoted 5 lines · Andreas Kemnade
Quoted 1 line

Fix anatop thermal related dtbs_check warnings about node name

Can we be clear what the warning about the node name is, too long?

soc/imx/fsl,imx-anatop.yaml explicitely specifies the names of allowed subnodes and mandates the name tempmon.

Regards,
Andreas