* [PATCH v2 1/3] driver: nvmem: Add ocotp driver support for imx6ul @ 2016-11-17 1:08 Bai Ping 2016-11-17 1:08 ` [PATCH v2 2/3] devicetree: bindings: nvmem: Add compatible string " Bai Ping 2016-11-17 1:08 ` [PATCH v2 3/3] ARM: dts: imx: Add ocotp node " Bai Ping 0 siblings, 2 replies; 7+ messages in thread From: Bai Ping @ 2016-11-17 1:08 UTC (permalink / raw) To: robh, shawnguo, mark.rutland Cc: devicetree, ping.bai, srinivas.kandagatla, kernel, fabio.estevam, maxime.ripard, 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 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); -- 1.9.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v2 2/3] devicetree: bindings: nvmem: Add compatible string for imx6ul 2016-11-17 1:08 [PATCH v2 1/3] driver: nvmem: Add ocotp driver support for imx6ul Bai Ping @ 2016-11-17 1:08 ` Bai Ping [not found] ` <1479344899-3141-2-git-send-email-ping.bai-3arQi8VN3Tc@public.gmane.org> 2016-11-17 1:08 ` [PATCH v2 3/3] ARM: dts: imx: Add ocotp node " Bai Ping 1 sibling, 1 reply; 7+ messages in thread From: Bai Ping @ 2016-11-17 1:08 UTC (permalink / raw) To: robh, shawnguo, mark.rutland Cc: devicetree, ping.bai, srinivas.kandagatla, kernel, fabio.estevam, maxime.ripard, linux-arm-kernel Add new compatible string for i.MX6UL SOC. Signed-off-by: Bai Ping <ping.bai@nxp.com> --- 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(-) diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt b/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt index 383d588..966a72e 100644 --- a/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt +++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt @@ -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. -- 1.9.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
[parent not found: <1479344899-3141-2-git-send-email-ping.bai-3arQi8VN3Tc@public.gmane.org>]
* Re: [PATCH v2 2/3] devicetree: bindings: nvmem: Add compatible string for imx6ul [not found] ` <1479344899-3141-2-git-send-email-ping.bai-3arQi8VN3Tc@public.gmane.org> @ 2016-11-18 14:17 ` Rob Herring 0 siblings, 0 replies; 7+ messages in thread From: Rob Herring @ 2016-11-18 14:17 UTC (permalink / raw) To: Bai Ping Cc: shawnguo-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8, srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A, maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8, kernel-bIcnvbaLZ9MEGnE8C9+IrQ, devicetree-u79uwXL29TY76Z2rM5mHXA, fabio.estevam-3arQi8VN3Tc, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On Thu, Nov 17, 2016 at 09:08:18AM +0800, Bai Ping wrote: > Add new compatible string for i.MX6UL SOC. > > Signed-off-by: Bai Ping <ping.bai-3arQi8VN3Tc@public.gmane.org> > --- > 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(-) Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> -- 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] 7+ messages in thread
* [PATCH v2 3/3] ARM: dts: imx: Add ocotp node for imx6ul 2016-11-17 1:08 [PATCH v2 1/3] driver: nvmem: Add ocotp driver support for imx6ul Bai Ping 2016-11-17 1:08 ` [PATCH v2 2/3] devicetree: bindings: nvmem: Add compatible string " Bai Ping @ 2016-11-17 1:08 ` Bai Ping [not found] ` <1479344899-3141-3-git-send-email-ping.bai-3arQi8VN3Tc@public.gmane.org> 1 sibling, 1 reply; 7+ messages in thread From: Bai Ping @ 2016-11-17 1:08 UTC (permalink / raw) To: robh, shawnguo, mark.rutland Cc: devicetree, ping.bai, srinivas.kandagatla, kernel, fabio.estevam, maxime.ripard, 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>; -- 1.9.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
[parent not found: <1479344899-3141-3-git-send-email-ping.bai-3arQi8VN3Tc@public.gmane.org>]
* Re: [PATCH v2 3/3] ARM: dts: imx: Add ocotp node for imx6ul [not found] ` <1479344899-3141-3-git-send-email-ping.bai-3arQi8VN3Tc@public.gmane.org> @ 2016-12-30 2:25 ` Shawn Guo 2017-01-04 14:06 ` Srinivas Kandagatla 2017-01-10 1:35 ` Shawn Guo 1 sibling, 1 reply; 7+ messages in thread From: Shawn Guo @ 2016-12-30 2:25 UTC (permalink / raw) To: Bai Ping Cc: robh-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8, devicetree-u79uwXL29TY76Z2rM5mHXA, srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A, kernel-bIcnvbaLZ9MEGnE8C9+IrQ, fabio.estevam-3arQi8VN3Tc, maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On Thu, Nov 17, 2016 at 09:08:19AM +0800, Bai Ping wrote: > Add ocotp node for i.MX6UL SOC. > > Signed-off-by: Bai Ping <ping.bai-3arQi8VN3Tc@public.gmane.org> 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 > --- > 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>; > -- > 1.9.1 > > > _______________________________________________ > 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] 7+ messages in thread
* Re: [PATCH v2 3/3] ARM: dts: imx: Add ocotp node for imx6ul 2016-12-30 2:25 ` Shawn Guo @ 2017-01-04 14:06 ` Srinivas Kandagatla 0 siblings, 0 replies; 7+ messages in thread From: Srinivas Kandagatla @ 2017-01-04 14:06 UTC (permalink / raw) To: Shawn Guo, Bai Ping Cc: mark.rutland, robh, devicetree, kernel, fabio.estevam, maxime.ripard, linux-arm-kernel On 30/12/16 02:25, Shawn Guo wrote: > On Thu, Nov 17, 2016 at 09:08:19AM +0800, Bai Ping wrote: >> Add ocotp node for i.MX6UL SOC. >> >> Signed-off-by: Bai Ping <ping.bai@nxp.com> > > 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 > > Shawn > >> --- >> 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>; >> -- >> 1.9.1 >> >> >> _______________________________________________ >> 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] 7+ messages in thread
* Re: [PATCH v2 3/3] ARM: dts: imx: Add ocotp node for imx6ul [not found] ` <1479344899-3141-3-git-send-email-ping.bai-3arQi8VN3Tc@public.gmane.org> 2016-12-30 2:25 ` Shawn Guo @ 2017-01-10 1:35 ` Shawn Guo 1 sibling, 0 replies; 7+ messages in thread From: Shawn Guo @ 2017-01-10 1:35 UTC (permalink / raw) To: Bai Ping Cc: robh-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8, devicetree-u79uwXL29TY76Z2rM5mHXA, srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A, kernel-bIcnvbaLZ9MEGnE8C9+IrQ, fabio.estevam-3arQi8VN3Tc, maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On Thu, Nov 17, 2016 at 09:08:19AM +0800, Bai Ping wrote: > Add ocotp node for i.MX6UL SOC. > > Signed-off-by: Bai Ping <ping.bai-3arQi8VN3Tc@public.gmane.org> Applied, thanks. -- 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] 7+ messages in thread
end of thread, other threads:[~2017-01-10 1:35 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-11-17 1:08 [PATCH v2 1/3] driver: nvmem: Add ocotp driver support for imx6ul Bai Ping 2016-11-17 1:08 ` [PATCH v2 2/3] devicetree: bindings: nvmem: Add compatible string " Bai Ping [not found] ` <1479344899-3141-2-git-send-email-ping.bai-3arQi8VN3Tc@public.gmane.org> 2016-11-18 14:17 ` Rob Herring 2016-11-17 1:08 ` [PATCH v2 3/3] ARM: dts: imx: Add ocotp node " Bai Ping [not found] ` <1479344899-3141-3-git-send-email-ping.bai-3arQi8VN3Tc@public.gmane.org> 2016-12-30 2:25 ` Shawn Guo 2017-01-04 14:06 ` Srinivas Kandagatla 2017-01-10 1:35 ` Shawn Guo
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).