diff options
Diffstat (limited to 'drivers/nvmem/Kconfig')
-rw-r--r-- | drivers/nvmem/Kconfig | 42 |
1 files changed, 40 insertions, 2 deletions
diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig index 3781f7a839..255198b2ad 100644 --- a/drivers/nvmem/Kconfig +++ b/drivers/nvmem/Kconfig @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only menuconfig NVMEM bool "NVMEM Support" help @@ -43,6 +44,13 @@ config IMX_OCOTP_WRITE mw -l -d /dev/imx-ocotp 0x8C 0x00001234 mw -l -d /dev/imx-ocotp 0x88 0x56789ABC +config IMX_OCOTP_ELE + tristate "i.MX9 On Chip OTP controller" + depends on ARCH_IMX93 + depends on OFDEVICE + help + This adds support for the i.MX9 On-Chip OTP controller. + config RAVE_SP_EEPROM tristate "Rave SP EEPROM Support" depends on RAVE_SP_CORE @@ -57,13 +65,43 @@ config EEPROM_93XX46 supports both read and write commands and also the command to erase the whole EEPROM. +config NVMEM_ROCKCHIP_OTP + tristate "Rockchip OTP controller support" + depends on ARCH_ROCKCHIP || COMPILE_TEST + help + This is a simple driver to dump specified values of Rockchip SoC + from otp, such as cpu-leakage, id etc. + config STM32_BSEC tristate "STM32 Boot and security and OTP control" depends on ARCH_STM32MP depends on OFDEVICE help - This adds support for the STM32 OTP controller. Reads and writes - to will go to the shadow RAM, not the OTP fuses themselvers. + This adds support for the STM32 OTP controller. + +config STM32_BSEC_WRITE + bool + prompt "Enable write support of STM32 CPUs OTP fuses" + depends on STM32_BSEC + help + This adds write support to STM32 On-Chip OTP registers. Example of set + MAC to 12:34:56:78:9A:BC: + bsec0.permanent_write_enable=1 + mw -l -d /dev/stm32-bsec 0x000000e4+4 0x78563412 + mw -l -d /dev/stm32-bsec 0x000000e8+4 0x0000bc9a + +config STM32_BSEC_OPTEE_TA + def_bool STM32_BSEC && OPTEE + help + Say y here to enable the accesses to STM32MP SoC OTPs by the OP-TEE + trusted application STM32MP BSEC. + +config KVX_OTP_NV + tristate "kalray KVX OTP Non volatile regs Support" + depends on KVX + help + This is a simple driver to dump specified values of KVX OTP non + volatile regs. config STARFIVE_OTP tristate "Starfive OTP Supprot" |