ARM: dts: imx6sll: fix anatop thermal dtbs_check warnings
Subsystems (2)
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
@@ -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
Quoted 1 line · Andreas Kemnade
Fix anatop thermal related
dtbs_checkwarnings 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.
Signed-off-by Andreas Kemnade <[email protected]>--- 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@@ -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
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_checkwarnings about node nameCan 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
Shawn Guo
AppliedQuoted 4 lines · Andreas Kemnade
Fix anatop thermal related
dtbs_checkwarnings about node name and missing thermal-cells property.Signed-off-by Andreas Kemnade <[email protected]>
Applied, thanks!