]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: imx6sx: Fix tempmon description
authorFabio Estevam <festevam@denx.de>
Fri, 25 Oct 2024 01:08:54 +0000 (22:08 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sat, 2 Nov 2024 03:26:05 +0000 (11:26 +0800)
According to imx-thermal.yaml, the valid compatible string
for i.MX6SX is just: compatible = "fsl,imx6sx-tempmon".

Also pass #thermal-sensor-cells = <0> as it is a required property.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx6sx.dtsi

index a94bebaa858a2e893ce7dc9d93034de0e4d32de5..a9550f115f82699336f62c33214c9a9bb04e79e0 100644 (file)
                                };
 
                                tempmon: tempmon {
-                                       compatible = "fsl,imx6sx-tempmon", "fsl,imx6q-tempmon";
+                                       compatible = "fsl,imx6sx-tempmon";
                                        interrupt-parent = <&gpc>;
                                        interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
                                        fsl,tempmon = <&anatop>;
                                        nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
                                        nvmem-cell-names = "calib", "temp_grade";
                                        clocks = <&clks IMX6SX_CLK_PLL3_USB_OTG>;
+                                       #thermal-sensor-cells = <0>;
                                };
                        };