* [PATCH 1/3] driver: nvmem: Add ocotp driver support for imx6ul @ 2016-11-07 5:41 ` Bai Ping 0 siblings, 0 replies; 10+ messages in thread From: Bai Ping @ 2016-11-07 5:41 UTC (permalink / raw) To: linux-arm-kernel i.MX6UL is an new SOC of i.MX6 family. Enable ocotp driver support for this SOC. Signed-off-by: Bai Ping <ping.bai@nxp.com> --- drivers/nvmem/imx-ocotp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/nvmem/imx-ocotp.c b/drivers/nvmem/imx-ocotp.c index ac27b9b..108e4bc 100644 --- a/drivers/nvmem/imx-ocotp.c +++ b/drivers/nvmem/imx-ocotp.c @@ -73,6 +73,7 @@ static const struct of_device_id imx_ocotp_dt_ids[] = { { .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); -- 2.8.2 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 1/3] driver: nvmem: Add ocotp driver support for imx6ul @ 2016-11-07 5:41 ` Bai Ping 0 siblings, 0 replies; 10+ messages in thread From: Bai Ping @ 2016-11-07 5:41 UTC (permalink / raw) To: srinivas.kandagatla, maxime.ripard, robh+dt, mark.rutland, shawnguo, kernel Cc: fabio.estevam, devicetree, ping.bai, linux-arm-kernel i.MX6UL is an new SOC of i.MX6 family. Enable ocotp driver support for this SOC. Signed-off-by: Bai Ping <ping.bai@nxp.com> --- drivers/nvmem/imx-ocotp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/nvmem/imx-ocotp.c b/drivers/nvmem/imx-ocotp.c index ac27b9b..108e4bc 100644 --- a/drivers/nvmem/imx-ocotp.c +++ b/drivers/nvmem/imx-ocotp.c @@ -73,6 +73,7 @@ static const struct of_device_id imx_ocotp_dt_ids[] = { { .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); -- 2.8.2 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 2/3] devicetree: bindings: nvmem: Add compatible string for imx6ul 2016-11-07 5:41 ` Bai Ping @ 2016-11-07 5:41 ` Bai Ping -1 siblings, 0 replies; 10+ messages in thread From: Bai Ping @ 2016-11-07 5:41 UTC (permalink / raw) To: linux-arm-kernel Add new compatible string for i.MX6UL SOC. Signed-off-by: Bai Ping <ping.bai@nxp.com> --- Documentation/devicetree/bindings/nvmem/imx-ocotp.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt b/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt index 383d588..a7ff65d 100644 --- a/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt +++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt @@ -1,13 +1,14 @@ 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,imx6sl-ocotp" (i.MX6SL), + "fsl,imx6sx-ocotp" (i.MX6SX), or + "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. -- 2.8.2 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 2/3] devicetree: bindings: nvmem: Add compatible string for imx6ul @ 2016-11-07 5:41 ` Bai Ping 0 siblings, 0 replies; 10+ messages in thread From: Bai Ping @ 2016-11-07 5:41 UTC (permalink / raw) To: srinivas.kandagatla, maxime.ripard, robh+dt, mark.rutland, shawnguo, kernel Cc: fabio.estevam, devicetree, ping.bai, linux-arm-kernel Add new compatible string for i.MX6UL SOC. Signed-off-by: Bai Ping <ping.bai@nxp.com> --- Documentation/devicetree/bindings/nvmem/imx-ocotp.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt b/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt index 383d588..a7ff65d 100644 --- a/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt +++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt @@ -1,13 +1,14 @@ 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,imx6sl-ocotp" (i.MX6SL), + "fsl,imx6sx-ocotp" (i.MX6SX), or + "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. -- 2.8.2 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 2/3] devicetree: bindings: nvmem: Add compatible string for imx6ul @ 2016-11-14 16:14 ` Rob Herring 0 siblings, 0 replies; 10+ messages in thread From: Rob Herring @ 2016-11-14 16:14 UTC (permalink / raw) To: linux-arm-kernel On Mon, Nov 07, 2016 at 01:41:20PM +0800, Bai Ping wrote: > Add new compatible string for i.MX6UL SOC. > > Signed-off-by: Bai Ping <ping.bai@nxp.com> > --- > Documentation/devicetree/bindings/nvmem/imx-ocotp.txt | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt b/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt > index 383d588..a7ff65d 100644 > --- a/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt > +++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt > @@ -1,13 +1,14 @@ > 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,imx6sl-ocotp" (i.MX6SL), > + "fsl,imx6sx-ocotp" (i.MX6SX), or > + "fsl,imx6ul-ocotp" (i.MX6UL), followed by "syscon". This should be reformatted such that it's not a 5 line change to add a compatible. "one of" defines this is an OR relationship, so drop that. Move 'followed by "syscon"' to below the list of compatibles. > - reg: Should contain the register base and length. > - clocks: Should contain a phandle pointing to the gated peripheral clock. > > -- > 2.8.2 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel at lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/3] devicetree: bindings: nvmem: Add compatible string for imx6ul @ 2016-11-14 16:14 ` Rob Herring 0 siblings, 0 replies; 10+ messages in thread From: Rob Herring @ 2016-11-14 16:14 UTC (permalink / raw) To: Bai Ping Cc: srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A, maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8, mark.rutland-5wv7dgnIgG8, shawnguo-DgEjT+Ai2ygdnm+yROfE0A, kernel-bIcnvbaLZ9MEGnE8C9+IrQ, fabio.estevam-3arQi8VN3Tc, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On Mon, Nov 07, 2016 at 01:41:20PM +0800, Bai Ping wrote: > Add new compatible string for i.MX6UL SOC. > > Signed-off-by: Bai Ping <ping.bai-3arQi8VN3Tc@public.gmane.org> > --- > Documentation/devicetree/bindings/nvmem/imx-ocotp.txt | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt b/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt > index 383d588..a7ff65d 100644 > --- a/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt > +++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt > @@ -1,13 +1,14 @@ > 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,imx6sl-ocotp" (i.MX6SL), > + "fsl,imx6sx-ocotp" (i.MX6SX), or > + "fsl,imx6ul-ocotp" (i.MX6UL), followed by "syscon". This should be reformatted such that it's not a 5 line change to add a compatible. "one of" defines this is an OR relationship, so drop that. Move 'followed by "syscon"' to below the list of compatibles. > - reg: Should contain the register base and length. > - clocks: Should contain a phandle pointing to the gated peripheral clock. > > -- > 2.8.2 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 2/3] devicetree: bindings: nvmem: Add compatible string for imx6ul 2016-11-14 16:14 ` Rob Herring @ 2016-11-15 7:25 ` Jacky Bai -1 siblings, 0 replies; 10+ messages in thread From: Jacky Bai @ 2016-11-15 7:25 UTC (permalink / raw) To: linux-arm-kernel > > Add new compatible string for i.MX6UL SOC. > > > > Signed-off-by: Bai Ping <ping.bai@nxp.com> > > --- > > Documentation/devicetree/bindings/nvmem/imx-ocotp.txt | 7 ++++--- > > 1 file changed, 4 insertions(+), 3 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt > > b/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt > > index 383d588..a7ff65d 100644 > > --- a/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt > > +++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt > > @@ -1,13 +1,14 @@ > > 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,imx6sl-ocotp" (i.MX6SL), > > + "fsl,imx6sx-ocotp" (i.MX6SX), or > > + "fsl,imx6ul-ocotp" (i.MX6UL), followed by "syscon". > > This should be reformatted such that it's not a 5 line change to add a > compatible. "one of" defines this is an OR relationship, so drop that. > Move 'followed by "syscon"' to below the list of compatibles. > Thanks for review, I will adopt in V2. Jacky Bai > > - reg: Should contain the register base and length. > > - clocks: Should contain a phandle pointing to the gated peripheral clock. > > > > -- > > 2.8.2 > > > > > > _______________________________________________ > > linux-arm-kernel mailing list > > linux-arm-kernel at lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [PATCH 2/3] devicetree: bindings: nvmem: Add compatible string for imx6ul @ 2016-11-15 7:25 ` Jacky Bai 0 siblings, 0 replies; 10+ messages in thread From: Jacky Bai @ 2016-11-15 7:25 UTC (permalink / raw) To: Rob Herring Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, srinivas.kandagatla@linaro.org, kernel@pengutronix.de, Fabio Estevam, maxime.ripard@free-electrons.com, shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org > > Add new compatible string for i.MX6UL SOC. > > > > Signed-off-by: Bai Ping <ping.bai@nxp.com> > > --- > > Documentation/devicetree/bindings/nvmem/imx-ocotp.txt | 7 ++++--- > > 1 file changed, 4 insertions(+), 3 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt > > b/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt > > index 383d588..a7ff65d 100644 > > --- a/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt > > +++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt > > @@ -1,13 +1,14 @@ > > 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,imx6sl-ocotp" (i.MX6SL), > > + "fsl,imx6sx-ocotp" (i.MX6SX), or > > + "fsl,imx6ul-ocotp" (i.MX6UL), followed by "syscon". > > This should be reformatted such that it's not a 5 line change to add a > compatible. "one of" defines this is an OR relationship, so drop that. > Move 'followed by "syscon"' to below the list of compatibles. > Thanks for review, I will adopt in V2. Jacky Bai > > - reg: Should contain the register base and length. > > - clocks: Should contain a phandle pointing to the gated peripheral clock. > > > > -- > > 2.8.2 > > > > > > _______________________________________________ > > linux-arm-kernel mailing list > > linux-arm-kernel@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 3/3] ARM: dts: imx: Add ocotp node for imx6ul 2016-11-07 5:41 ` Bai Ping @ 2016-11-07 5:41 ` Bai Ping -1 siblings, 0 replies; 10+ messages in thread From: Bai Ping @ 2016-11-07 5:41 UTC (permalink / raw) To: linux-arm-kernel Add ocotp node for i.MX6UL SOC. Signed-off-by: Bai Ping <ping.bai@nxp.com> --- arch/arm/boot/dts/imx6ul.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index c5c05fd..c6f6613 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul.dtsi @@ -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>; -- 2.8.2 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 3/3] ARM: dts: imx: Add ocotp node for imx6ul @ 2016-11-07 5:41 ` Bai Ping 0 siblings, 0 replies; 10+ messages in thread From: Bai Ping @ 2016-11-07 5:41 UTC (permalink / raw) To: srinivas.kandagatla, maxime.ripard, robh+dt, mark.rutland, shawnguo, kernel Cc: fabio.estevam, devicetree, ping.bai, linux-arm-kernel Add ocotp node for i.MX6UL SOC. Signed-off-by: Bai Ping <ping.bai@nxp.com> --- arch/arm/boot/dts/imx6ul.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index c5c05fd..c6f6613 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul.dtsi @@ -849,6 +849,12 @@ reg = <0x021b0000 0x4000>; }; + ocotp: ocotp-ctrl@021bc000 { + compatible = "fsl,imx6ul-ocotp", "syscon"; + reg = <0x021bc000 0x4000>; + clocks = <&clks IMX6UL_CLK_OCOTP>; + }; + lcdif: lcdif@021c8000 { compatible = "fsl,imx6ul-lcdif", "fsl,imx28-lcdif"; reg = <0x021c8000 0x4000>; -- 2.8.2 ^ permalink raw reply related [flat|nested] 10+ messages in thread
end of thread, other threads:[~2016-11-15 7:25 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-11-07 5:41 [PATCH 1/3] driver: nvmem: Add ocotp driver support for imx6ul Bai Ping 2016-11-07 5:41 ` Bai Ping 2016-11-07 5:41 ` [PATCH 2/3] devicetree: bindings: nvmem: Add compatible string " Bai Ping 2016-11-07 5:41 ` Bai Ping 2016-11-14 16:14 ` Rob Herring 2016-11-14 16:14 ` Rob Herring 2016-11-15 7:25 ` Jacky Bai 2016-11-15 7:25 ` Jacky Bai 2016-11-07 5:41 ` [PATCH 3/3] ARM: dts: imx: Add ocotp node " Bai Ping 2016-11-07 5:41 ` Bai Ping
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.