ARM: dts: imx6sll: Remove regulator-3p0 unit address
Subsystems (2)
Fabio Estevam
reviewerPATCH 1/3 ARM: dts: imx6sll: Remove regulator-3p0 unit address
From: Fabio Estevam <[email protected]>
According to imx-thermal.yaml, the anatop regulators should not contain unit-address/reg entries.
Change it accordingly.
--- arch/arm/boot/dts/nxp/imx/imx6sll.dtsi | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
arch/arm/boot/dts/nxp/imx/imx6sll.dtsi +1 -4
@@ -507,12 +507,9 @@ anatop: anatop@20c8000 { interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; - #address-cells = <1>; - #size-cells = <0>; - reg_3p0: regulator-3p0@20c8120 { + reg_3p0: regulator-3p0 { compatible = "fsl,anatop-regulator"; - reg = <0x20c8120>; regulator-name = "vdd3p0"; regulator-min-microvolt = <2625000>; regulator-max-microvolt = <3400000>;
Signature · 1 line
2.34.1
Fabio Estevam
reviewerPATCH 2/3 ARM: dts: imx6sx: Fix tempmon description
From: Fabio Estevam <[email protected]>
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.
--- arch/arm/boot/dts/nxp/imx/imx6sx.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/nxp/imx/imx6sx.dtsi +2 -1
@@ -715,13 +715,14 @@ reg_soc: regulator-vddsoc { }; 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>; }; };
Signature · 1 line
2.34.1
Fabio Estevam
reviewerPATCH 3/3 ARM: dts: imx6sl: Pass tempmon #thermal-sensor-cells
In reply to Fabio EstevamFrom: Fabio Estevam <[email protected]>
According to fsl,imx-anatop.yaml, #thermal-sensor-cells is a required property.
Add it to fix the following dt-schema warning:
tempmon: '#thermal-sensor-cells' is a required property
--- arch/arm/boot/dts/nxp/imx/imx6sl.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/nxp/imx/imx6sl.dtsi +1 -0
@@ -631,6 +631,7 @@ tempmon: tempmon { nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>; nvmem-cell-names = "calib", "temp_grade"; clocks = <&clks IMX6SL_CLK_PLL3_USB_OTG>; + #thermal-sensor-cells = <0>; }; };
Signature · 1 line
2.34.1
Shawn Guo
AppliedQuoted 8 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
According to
imx-thermal.yaml, the anatop regulators should not contain unit-address/reg entries.Change it accordingly.
Signed-off-by Fabio Estevam <[email protected]>
Applied all, thanks!