* [PATCH 1/3] documentation: nvmem: imx-ocotp: Add i.MX6UL support
@ 2016-04-19 8:59 Peng Fan
2016-04-19 8:59 ` [PATCH 2/3] arm: dts: imx6ul: add ocotp node Peng Fan
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Peng Fan @ 2016-04-19 8:59 UTC (permalink / raw)
To: linux-arm-kernel
Add i.MX6UL support in documentation.
Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Rob Herring <robh+dt@kernel.org>
---
Documentation/devicetree/bindings/nvmem/imx-ocotp.txt | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt b/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt
index 383d588..ca2075b 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,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.
--
1.8.4.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/3] arm: dts: imx6ul: add ocotp node
2016-04-19 8:59 [PATCH 1/3] documentation: nvmem: imx-ocotp: Add i.MX6UL support Peng Fan
@ 2016-04-19 8:59 ` Peng Fan
2016-04-19 8:59 ` [PATCH 3/3] nvmem: imx-ocotp: support i.MX6UL Peng Fan
2016-04-21 15:10 ` [PATCH 1/3] documentation: nvmem: imx-ocotp: Add i.MX6UL support Rob Herring
2 siblings, 0 replies; 4+ messages in thread
From: Peng Fan @ 2016-04-19 8:59 UTC (permalink / raw)
To: linux-arm-kernel
Add ocotp node for i.MX6UL
Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Rob Herring <robh+dt@kernel.org>
---
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 7177899..aebd607 100644
--- a/arch/arm/boot/dts/imx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul.dtsi
@@ -839,6 +839,12 @@
reg = <0x021b0000 0x4000>;
};
+ ocotp: ocotp 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.8.4.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 3/3] nvmem: imx-ocotp: support i.MX6UL
2016-04-19 8:59 [PATCH 1/3] documentation: nvmem: imx-ocotp: Add i.MX6UL support Peng Fan
2016-04-19 8:59 ` [PATCH 2/3] arm: dts: imx6ul: add ocotp node Peng Fan
@ 2016-04-19 8:59 ` Peng Fan
2016-04-21 15:10 ` [PATCH 1/3] documentation: nvmem: imx-ocotp: Add i.MX6UL support Rob Herring
2 siblings, 0 replies; 4+ messages in thread
From: Peng Fan @ 2016-04-19 8:59 UTC (permalink / raw)
To: linux-arm-kernel
Add of_device_id entry for i.MX6UL to let imx-ocotp driver
support i.MX6UL.
Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Shawn Guo <shawnguo@kernel.org>
---
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 55095c0..4c6e05a 100644
--- a/drivers/nvmem/imx-ocotp.c
+++ b/drivers/nvmem/imx-ocotp.c
@@ -96,6 +96,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);
--
1.8.4.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 1/3] documentation: nvmem: imx-ocotp: Add i.MX6UL support
2016-04-19 8:59 [PATCH 1/3] documentation: nvmem: imx-ocotp: Add i.MX6UL support Peng Fan
2016-04-19 8:59 ` [PATCH 2/3] arm: dts: imx6ul: add ocotp node Peng Fan
2016-04-19 8:59 ` [PATCH 3/3] nvmem: imx-ocotp: support i.MX6UL Peng Fan
@ 2016-04-21 15:10 ` Rob Herring
2 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2016-04-21 15:10 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Apr 19, 2016 at 04:59:12PM +0800, Peng Fan wrote:
> Add i.MX6UL support in documentation.
>
> Signed-off-by: Peng Fan <van.freenix@gmail.com>
> Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
> Cc: Rob Herring <robh+dt@kernel.org>
> ---
> Documentation/devicetree/bindings/nvmem/imx-ocotp.txt | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-04-21 15:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-19 8:59 [PATCH 1/3] documentation: nvmem: imx-ocotp: Add i.MX6UL support Peng Fan
2016-04-19 8:59 ` [PATCH 2/3] arm: dts: imx6ul: add ocotp node Peng Fan
2016-04-19 8:59 ` [PATCH 3/3] nvmem: imx-ocotp: support i.MX6UL Peng Fan
2016-04-21 15:10 ` [PATCH 1/3] documentation: nvmem: imx-ocotp: Add i.MX6UL support Rob Herring
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).