diff mbox series

[08/10] nvmem: imx-ocotp: Enable i.MX7D OTP write support

Message ID 1508838874-32252-9-git-send-email-srinivas.kandagatla@linaro.org
State New
Headers show
Series nvmem: patches set-2 for v4.15 | expand

Commit Message

Srinivas Kandagatla Oct. 24, 2017, 9:54 a.m. UTC
From: Bryan O'Donoghue <pure.logic@nexus-software.ie>


After applying patches for both banked access and write timings we can
re-enable the OTP write interface on i.MX7D processors.

Fixes: 0642bac7da42 ("nvmem: imx-ocotp: add write support")

Signed-off-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

---
 drivers/nvmem/imx-ocotp.c | 2 --
 1 file changed, 2 deletions(-)

-- 
1.9.1
diff mbox series

Patch

diff --git a/drivers/nvmem/imx-ocotp.c b/drivers/nvmem/imx-ocotp.c
index be8d002..79efce6 100644
--- a/drivers/nvmem/imx-ocotp.c
+++ b/drivers/nvmem/imx-ocotp.c
@@ -467,8 +467,6 @@  static int imx_ocotp_probe(struct platform_device *pdev)
 	imx_ocotp_nvmem_config.dev = dev;
 	imx_ocotp_nvmem_config.priv = priv;
 	priv->config = &imx_ocotp_nvmem_config;
-	if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx7d-ocotp"))
-		imx_ocotp_nvmem_config.read_only = true;
 	nvmem = nvmem_register(&imx_ocotp_nvmem_config);
 
 	if (IS_ERR(nvmem))