OSDN Git Service

nvmem: octop: Add i.MX7D support
authorPeng Fan <peng.fan@nxp.com>
Fri, 31 Mar 2017 12:44:53 +0000 (13:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 15:51:48 +0000 (17:51 +0200)
Add i.MX7D support.
There is 16 banks, each bank 4 words.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/imx-ocotp.c

index 549177d..0d33705 100644 (file)
@@ -74,6 +74,7 @@ static const struct of_device_id imx_ocotp_dt_ids[] = {
        { .compatible = "fsl,imx6sl-ocotp", (void *)64 },
        { .compatible = "fsl,imx6sx-ocotp", (void *)128 },
        { .compatible = "fsl,imx6ul-ocotp", (void *)128 },
+       { .compatible = "fsl,imx7d-ocotp", (void *)64 },
        { },
 };
 MODULE_DEVICE_TABLE(of, imx_ocotp_dt_ids);