Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nvmem: imx-ocotp: Enable i.MX7D OTP write support

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Bryan O'Donoghue and committed by
Greg Kroah-Hartman
a32bab32 828ae7a4

-2
-2
drivers/nvmem/imx-ocotp.c
··· 466 466 imx_ocotp_nvmem_config.dev = dev; 467 467 imx_ocotp_nvmem_config.priv = priv; 468 468 priv->config = &imx_ocotp_nvmem_config; 469 - if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx7d-ocotp")) 470 - imx_ocotp_nvmem_config.read_only = true; 471 469 nvmem = nvmem_register(&imx_ocotp_nvmem_config); 472 470 473 471 if (IS_ERR(nvmem))