arm64: dts: imx8mm: Remove incorrect fallback compatible for ocotp
Subsystems (2)
PATCH 1/2 arm64: dts: imx8mm: Remove incorrect fallback compatible for ocotp
Compared to i.MX7D, i.MX8MM has different ocotp layout, so it should NOT use "fsl,imx7d-ocotp" as ocotp's fallback compatible, remove it.
--- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mm.dtsi +1 -1
@@ -426,7 +426,7 @@ }; ocotp: ocotp-ctrl@30350000 { - compatible = "fsl,imx8mm-ocotp", "fsl,imx7d-ocotp", "syscon"; + compatible = "fsl,imx8mm-ocotp", "syscon"; reg = <0x30350000 0x10000>; clocks = <&clk IMX8MM_CLK_OCOTP_ROOT>; /* For nvmem subnodes */
Signature · 1 line
2.7.4
PATCH 2/2 arm64: dts: imx8mn: Use "fsl,imx8mm-ocotp" as ocotp's fallback compatible
Use "fsl,imx8mm-ocotp" as i.MX8MN ocotp's fallback compatible instead of "fsl,imx7d-ocotp" to support SoC UID read, as i.MX8MN reuses i.MX8MM's SoC ID driver.
--- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mn.dtsi +1 -1
@@ -337,7 +337,7 @@ }; ocotp: ocotp-ctrl@30350000 { - compatible = "fsl,imx8mn-ocotp", "fsl,imx7d-ocotp", "syscon"; + compatible = "fsl,imx8mn-ocotp", "fsl,imx8mm-ocotp", "syscon"; reg = <0x30350000 0x10000>; clocks = <&clk IMX8MN_CLK_OCOTP_ROOT>; #address-cells = <1>;
Signature · 1 line
2.7.4
Quoted 13 lines · Anson Huang
Compared to i.MX7D, i.MX8MM has different ocotp layout, so it should NOT use "fsl,imx7d-ocotp" as ocotp's fallback compatible, remove it.
Signed-off-by Anson Huang <[email protected]>--- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm64/boot/dts/freescale/imx8mm.dtsi +0
-0
arch/arm64/boot/dts/freescale/imx8mm.dtsi line 432
Quoted 8 lines
arch/arm64/boot/dts/freescale/imx8mm.dtsi +1
-1@@ -426,7 +426,7 @@ }; ocotp: ocotp-ctrl@30350000 { - compatible = "fsl,imx8mm-ocotp", "fsl,imx7d-ocotp", "syscon"; + compatible = "fsl,imx8mm-ocotp", "syscon"; reg = <0x30350000 0x10000>; clocks = <&clk IMX8MM_CLK_OCOTP_ROOT>; /* For nvmem subnodes */
Why not fold the two patches?
Signature · 11 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Hi, Daniel
Quoted 20 lines · Anson Huang
Quoted 14 lines
Compared to i.MX7D, i.MX8MM has different ocotp layout, so it should NOT use "fsl,imx7d-ocotp" as ocotp's fallback compatible, remove it.
Signed-off-by Anson Huang <[email protected]>--- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm64/boot/dts/freescale/imx8mm.dtsi +0
-0arch/arm64/boot/dts/freescale/imx8mm.dtsi line 429
Quoted 4 lines
arch/arm64/boot/dts/freescale/imx8mm.dtsi +0
-1@@ -426,7 +426,7 @@ }; ocotp: ocotp-ctrl@30350000 { - compatible = "fsl,imx8mm-ocotp", "fsl,imx7d-ocotp", "syscon";
Quoted 6 lines
arch/arm64/boot/dts/freescale/imx8mm.dtsi line 432
Quoted 4 lines
arch/arm64/boot/dts/freescale/imx8mm.dtsi +1
-0+ compatible = "fsl,imx8mm-ocotp", "syscon"; reg = <0x30350000 0x10000>; clocks = <&clk IMX8MM_CLK_OCOTP_ROOT>; /* For nvmem subnodes */Why not fold the two patches?
For i.MX8MM, it just removes the incorrect fallback compatible, for i.MX8MN, it needs to replace the incorrect fallback compatible in order to support SoC UID read, so I think this should be 2 separate patch?
Thanks,
Anson.
Quoted 29 lines · Anson Huang
Hi, Daniel
Quoted 20 lines · Anson Huang
Quoted 14 lines
Compared to i.MX7D, i.MX8MM has different ocotp layout, so it should NOT use "fsl,imx7d-ocotp" as ocotp's fallback compatible, remove it.
Signed-off-by Anson Huang <[email protected]>--- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm64/boot/dts/freescale/imx8mm.dtsi +0
-0arch/arm64/boot/dts/freescale/imx8mm.dtsi line 429
Quoted 4 lines
arch/arm64/boot/dts/freescale/imx8mm.dtsi +0
-1@@ -426,7 +426,7 @@ }; ocotp: ocotp-ctrl@30350000 { - compatible = "fsl,imx8mm-ocotp", "fsl,imx7d-ocotp", "syscon";
Quoted 6 lines
arch/arm64/boot/dts/freescale/imx8mm.dtsi line 432
Quoted 4 lines
arch/arm64/boot/dts/freescale/imx8mm.dtsi +1
-0+ compatible = "fsl,imx8mm-ocotp", "syscon"; reg = <0x30350000 0x10000>; clocks = <&clk IMX8MM_CLK_OCOTP_ROOT>; /* For nvmem subnodes */Why not fold the two patches?
Quoted 3 lines
For i.MX8MM, it just removes the incorrect fallback compatible, for i.MX8MN, it needs to replace the incorrect fallback compatible in order to support SoC UID read, so I think this should be 2 separate patch?
Oh, yes, there is a subtle difference in the file name :) m|n. I understand now why you splitted it.
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
Shawn Guo
AppliedQuoted 4 lines · Anson Huang
Compared to i.MX7D, i.MX8MM has different ocotp layout, so it should NOT use "fsl,imx7d-ocotp" as ocotp's fallback compatible, remove it.
Signed-off-by Anson Huang <[email protected]>
Applied both, thanks.