diff mbox series

nvmem: allow to select i.MX nvmem driver for i.MX 7D

Message ID 20190203094337.5063-1-srinivas.kandagatla@linaro.org
State New
Headers show
Series nvmem: allow to select i.MX nvmem driver for i.MX 7D | expand

Commit Message

Srinivas Kandagatla Feb. 3, 2019, 9:43 a.m. UTC
From: Stefan Agner <stefan@agner.ch>


The imx-ocotp nvmem driver supports the i.MX 7D SoC too. Allow to select
the imx-ocotp driver even if only the i.MX 7D SoC has been selected.

Fixes: 711d45477931 ("nvmem: octop: Add i.MX7D support")
Signed-off-by: Stefan Agner <stefan@agner.ch>

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

---
Hi Greg, 
If its not too late, can you take this patch for 5.1.

Thanks,
srini

 drivers/nvmem/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.20.1

Comments

Greg KH Feb. 3, 2019, 12:10 p.m. UTC | #1
On Sun, Feb 03, 2019 at 09:43:37AM +0000, Srinivas Kandagatla wrote:
> From: Stefan Agner <stefan@agner.ch>

> 

> The imx-ocotp nvmem driver supports the i.MX 7D SoC too. Allow to select

> the imx-ocotp driver even if only the i.MX 7D SoC has been selected.

> 

> Fixes: 711d45477931 ("nvmem: octop: Add i.MX7D support")

> Signed-off-by: Stefan Agner <stefan@agner.ch>

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

> ---

> Hi Greg, 

> If its not too late, can you take this patch for 5.1.


Not too late at all, now queued up.

greg k-h
diff mbox series

Patch

diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig
index 0a7a470ee859..9bbe2816400a 100644
--- a/drivers/nvmem/Kconfig
+++ b/drivers/nvmem/Kconfig
@@ -26,7 +26,7 @@  config NVMEM_IMX_IIM
 
 config NVMEM_IMX_OCOTP
 	tristate "i.MX6 On-Chip OTP Controller support"
-	depends on SOC_IMX6 || COMPILE_TEST
+	depends on SOC_IMX6 || SOC_IMX7D || COMPILE_TEST
 	depends on HAS_IOMEM
 	help
 	  This is a driver for the On-Chip OTP Controller (OCOTP) available on