diff options
author | Vincent Shih <vincent.sunplus@gmail.com> | 2022-02-23 22:35:01 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-25 11:49:36 +0100 |
commit | 8747ec2e9762ed9ae53b3a590938f454b6a1abdf (patch) | |
tree | df92aa1b341ecd51a62da2f8745a9294789f3e15 /drivers/nvmem/Kconfig | |
parent | bc5c75e0a5a9400f81a987cc720100ac475fa4d8 (diff) | |
download | linux-8747ec2e9762ed9ae53b3a590938f454b6a1abdf.tar.bz2 |
nvmem: Add driver for OCOTP in Sunplus SP7021
Add driver for OCOTP in Sunplus SP7021
Signed-off-by: Vincent Shih <vincent.sunplus@gmail.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220223223502.29454-3-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvmem/Kconfig')
-rw-r--r-- | drivers/nvmem/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig index 4063ea15f7d2..555aa77a574d 100644 --- a/drivers/nvmem/Kconfig +++ b/drivers/nvmem/Kconfig @@ -312,4 +312,16 @@ config NVMEM_LAYERSCAPE_SFP This driver can also be built as a module. If so, the module will be called layerscape-sfp. +config NVMEM_SUNPLUS_OCOTP + tristate "Sunplus SoC OTP support" + depends on SOC_SP7021 || COMPILE_TEST + depends on HAS_IOMEM + help + This is a driver for the On-chip OTP controller (OCOTP) available + on Sunplus SoCs. It provides access to 128 bytes of one-time + programmable eFuse. + + This driver can also be built as a module. If so, the module + will be called nvmem-sunplus-ocotp. + endif |