Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753786AbdLUQmP (ORCPT ); Thu, 21 Dec 2017 11:42:15 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:41818 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753214AbdLUQmO (ORCPT ); Thu, 21 Dec 2017 11:42:14 -0500 X-Google-Smtp-Source: ACJfBosOqDs8CAfFm98LvVJhFDHBeevwt4jEjZHyht3n2PLP1a5AacoU08jx5tsNu5v4goRjMQ4HoA== From: your name To: linux-kernel@vger.kernel.org Cc: Andrey Yurovsky , pure.logic@nexus-software.ie, srinivas.kandagatla@linaro.org, gregkh@linuxfoundation.org, p.zabel@pengutronix.de, richard.leitner@skidata.com Subject: [PATCH] nvmem: imx-ocotp: update Kconfig to incluide i.MX7 Date: Thu, 21 Dec 2017 08:42:03 -0800 Message-Id: <20171221164203.1302-1-yurovsky@gmail.com> X-Mailer: git-send-email 2.14.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1115 Lines: 33 From: Andrey Yurovsky This driver supports the i.MX7 as well and OTP capacity varies by SoC. Update the depends on line to include SOC_IMX7D and update the help text. Signed-off-by: Andrey Yurovsky --- drivers/nvmem/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig index ff505af064ba..3fe24fda08b7 100644 --- a/drivers/nvmem/Kconfig +++ b/drivers/nvmem/Kconfig @@ -25,12 +25,12 @@ config NVMEM_IMX_IIM will be called nvmem-imx-iim. config NVMEM_IMX_OCOTP - tristate "i.MX6 On-Chip OTP Controller support" - depends on SOC_IMX6 || COMPILE_TEST + tristate "i.MX6 and i.MX7 On-Chip OTP Controller support" + 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 - i.MX6 SoCs, providing access to 4 Kbits of one-time programmable + i.MX6 and i.MX7 SoCs, providing access to one-time programmable eFuses. This driver can also be built as a module. If so, the module -- 2.14.3