driver: nvmem: Add ocotp driver support for imx6ul
Subsystems (3)
PATCH v2 1/3 driver: nvmem: Add ocotp driver support for imx6ul
i.MX6UL is an new SOC of i.MX6 family. Enable ocotp driver support for this SOC.
--- drivers/nvmem/imx-ocotp.c | 1 + 1 file changed, 1 insertion(+)
drivers/nvmem/imx-ocotp.c +1 -0
@@ -73,6 +73,7 @@ static int imx_ocotp_read(void *context, unsigned int offset, { .compatible = "fsl,imx6q-ocotp", (void *)128 }, { .compatible = "fsl,imx6sl-ocotp", (void *)32 }, { .compatible = "fsl,imx6sx-ocotp", (void *)128 }, + { .compatible = "fsl,imx6ul-ocotp", (void *)128 }, { }, };MODULE_DEVICE_TABLE (of, imx_ocotp_dt_ids);
Signature · 1 line
1.9.1
PATCH v2 2/3 devicetree: bindings: nvmem: Add compatible string for imx6ul
Add new compatible string for i.MX6UL SOC.
---
Changes for V2:
- reformat the changes suggested by Rob Herring
Documentation/devicetree/bindings/nvmem/imx-ocotp.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/nvmem/imx-ocotp.txt +4 -2
@@ -1,13 +1,15 @@ Freescale i.MX6 On-Chip OTP Controller (OCOTP) device tree bindings This binding represents the on-chip eFuse OTP controller found on -i.MX6Q/D, i.MX6DL/S, i.MX6SL, and i.MX6SX SoCs. +i.MX6Q/D, i.MX6DL/S, i.MX6SL, i.MX6SX and i.MX6UL SoCs. Required properties: - compatible: should be one of "fsl,imx6q-ocotp" (i.MX6Q/D/DL/S), "fsl,imx6sl-ocotp" (i.MX6SL), or - "fsl,imx6sx-ocotp" (i.MX6SX), followed by "syscon". + "fsl,imx6sx-ocotp" (i.MX6SX), + "fsl,imx6ul-ocotp" (i.MX6UL), + followed by "syscon". - reg: Should contain the register base and length. - clocks: Should contain a phandle pointing to the gated peripheral clock.
Signature · 1 line
1.9.1
Rob Herring
maintainerPATCH v2 2/3 devicetree: bindings: nvmem: Add compatible string for imx6ul
Quoted 9 lines · Bai Ping
Add new compatible string for i.MX6UL SOC.
Signed-off-by Bai Ping <[email protected]>---
Changes for V2:
- reformat the changes suggested by Rob HerringDocumentation/devicetree/bindings/nvmem/imx-ocotp.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
PATCH v2 3/3 ARM: dts: imx: Add ocotp node for imx6ul
In reply to Bai PingAdd ocotp node for i.MX6UL SOC.
--- arch/arm/boot/dts/imx6ul.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm/boot/dts/imx6ul.dtsi +6 -0
@@ -849,6 +849,12 @@ reg = <0x021b0000 0x4000>; }; + ocotp: ocotp-ctrl at 021bc000 { + compatible = "fsl,imx6ul-ocotp", "syscon"; + reg = <0x021bc000 0x4000>; + clocks = <&clks IMX6UL_CLK_OCOTP>; + }; + lcdif: lcdif at 021c8000 { compatible = "fsl,imx6ul-lcdif", "fsl,imx28-lcdif"; reg = <0x021c8000 0x4000>;
Signature · 1 line
1.9.1
PATCH v2 3/3 ARM: dts: imx: Add ocotp node for imx6ul
Quoted 3 lines · Bai Ping
Add ocotp node for i.MX6UL SOC.
Signed-off-by Bai Ping <[email protected]>
The DTS change looks good to me. But I cannot apply it until the driver and bindings part get accepted. You should figure out who is collecting nvmem patches. It seems to be Greg Kroah-Hartman, who is not on copy.
Shawn
Quoted 29 lines
--- arch/arm/boot/dts/imx6ul.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)arch/arm/boot/dts/imx6ul.dtsi +6
-0@@ -849,6 +849,12 @@ reg = <0x021b0000 0x4000>; }; + ocotp: ocotp-ctrl at 021bc000 { + compatible = "fsl,imx6ul-ocotp", "syscon"; + reg = <0x021bc000 0x4000>; + clocks = <&clks IMX6UL_CLK_OCOTP>; + }; + lcdif: lcdif at 021c8000 { compatible = "fsl,imx6ul-lcdif", "fsl,imx28-lcdif"; reg = <0x021c8000 0x4000>;Signature · 7 lines
1.9.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel at lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH v2 3/3 ARM: dts: imx: Add ocotp node for imx6ul
Quoted 8 lines · Shawn Guo
Quoted 3 lines · Bai Ping
Add ocotp node for i.MX6UL SOC.
Signed-off-by Bai Ping <[email protected]>The DTS change looks good to me. But I cannot apply it until the driver and bindings part get accepted. You should figure out who is collecting nvmem patches. It seems to be Greg Kroah-Hartman, who is not on copy.
Sorry for delay in response,
I will take care of the 1/3 and 2/3 nvmem patches.
Thanks,
srini
Quoted 34 lines
Shawn
Quoted 29 lines
--- arch/arm/boot/dts/imx6ul.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)arch/arm/boot/dts/imx6ul.dtsi +6
-1@@ -849,6 +849,12 @@ reg = <0x021b0000 0x4000>; }; + ocotp: ocotp-ctrl at 021bc000 { + compatible = "fsl,imx6ul-ocotp", "syscon"; + reg = <0x021bc000 0x4000>; + clocks = <&clks IMX6UL_CLK_OCOTP>; + }; + lcdif: lcdif at 021c8000 { compatible = "fsl,imx6ul-lcdif", "fsl,imx28-lcdif"; reg = <0x021c8000 0x4000>; --1.9.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Shawn Guo
AppliedPATCH v2 3/3 ARM: dts: imx: Add ocotp node for imx6ul
In reply to Bai PingQuoted 3 lines · Bai Ping
Add ocotp node for i.MX6UL SOC.
Signed-off-by Bai Ping <[email protected]>
Applied, thanks.