| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | menuconfig NVMEM |
|---|
| 2 | 3 | bool "NVMEM Support" |
|---|
| 3 | 4 | help |
|---|
| .. | .. |
|---|
| 5 | 6 | |
|---|
| 6 | 7 | This framework is designed to provide a generic interface to NVMEM |
|---|
| 7 | 8 | from both the Linux Kernel and the userspace. |
|---|
| 8 | | - |
|---|
| 9 | | - This driver can also be built as a module. If so, the module |
|---|
| 10 | | - will be called nvmem_core. |
|---|
| 11 | 9 | |
|---|
| 12 | 10 | If unsure, say no. |
|---|
| 13 | 11 | |
|---|
| .. | .. |
|---|
| 35 | 33 | will be called nvmem-imx-iim. |
|---|
| 36 | 34 | |
|---|
| 37 | 35 | config NVMEM_IMX_OCOTP |
|---|
| 38 | | - tristate "i.MX6 On-Chip OTP Controller support" |
|---|
| 39 | | - depends on SOC_IMX6 || COMPILE_TEST |
|---|
| 36 | + tristate "i.MX 6/7/8 On-Chip OTP Controller support" |
|---|
| 37 | + depends on ARCH_MXC || COMPILE_TEST |
|---|
| 40 | 38 | depends on HAS_IOMEM |
|---|
| 41 | 39 | help |
|---|
| 42 | 40 | This is a driver for the On-Chip OTP Controller (OCOTP) available on |
|---|
| .. | .. |
|---|
| 45 | 43 | |
|---|
| 46 | 44 | This driver can also be built as a module. If so, the module |
|---|
| 47 | 45 | will be called nvmem-imx-ocotp. |
|---|
| 46 | + |
|---|
| 47 | +config NVMEM_IMX_OCOTP_SCU |
|---|
| 48 | + tristate "i.MX8 SCU On-Chip OTP Controller support" |
|---|
| 49 | + depends on IMX_SCU |
|---|
| 50 | + depends on HAVE_ARM_SMCCC |
|---|
| 51 | + help |
|---|
| 52 | + This is a driver for the SCU On-Chip OTP Controller (OCOTP) |
|---|
| 53 | + available on i.MX8 SoCs. |
|---|
| 54 | + |
|---|
| 55 | +config JZ4780_EFUSE |
|---|
| 56 | + tristate "JZ4780 EFUSE Memory Support" |
|---|
| 57 | + depends on MACH_INGENIC || COMPILE_TEST |
|---|
| 58 | + depends on HAS_IOMEM |
|---|
| 59 | + depends on OF |
|---|
| 60 | + select REGMAP_MMIO |
|---|
| 61 | + help |
|---|
| 62 | + Say Y here to include support for JZ4780 efuse memory found on |
|---|
| 63 | + all JZ4780 SoC based devices. |
|---|
| 64 | + To compile this driver as a module, choose M here: the module |
|---|
| 65 | + will be called nvmem_jz4780_efuse. |
|---|
| 48 | 66 | |
|---|
| 49 | 67 | config NVMEM_LPC18XX_EEPROM |
|---|
| 50 | 68 | tristate "NXP LPC18XX EEPROM Memory Support" |
|---|
| .. | .. |
|---|
| 100 | 118 | This driver can also be built as a module. If so, the module |
|---|
| 101 | 119 | will be called nvmem_qfprom. |
|---|
| 102 | 120 | |
|---|
| 121 | +config NVMEM_SPMI_SDAM |
|---|
| 122 | + tristate "SPMI SDAM Support" |
|---|
| 123 | + depends on SPMI |
|---|
| 124 | + help |
|---|
| 125 | + This driver supports the Shared Direct Access Memory Module on |
|---|
| 126 | + Qualcomm Technologies, Inc. PMICs. It provides the clients |
|---|
| 127 | + an interface to read/write to the SDAM module's shared memory. |
|---|
| 128 | + |
|---|
| 103 | 129 | config RK628_EFUSE |
|---|
| 104 | 130 | tristate "RK628 eFuse Support" |
|---|
| 105 | 131 | depends on ARCH_ROCKCHIP || COMPILE_TEST |
|---|
| 106 | 132 | depends on HAS_IOMEM |
|---|
| 107 | 133 | depends on MFD_RK628 |
|---|
| 108 | | - default MFD_RK630 |
|---|
| 109 | 134 | help |
|---|
| 110 | 135 | This is a simple drive to dump specified values of Rk628 SoC |
|---|
| 111 | 136 | from eFuse, such as cpu-leakage. |
|---|
| .. | .. |
|---|
| 125 | 150 | will be called nvmem_rockchip_efuse. |
|---|
| 126 | 151 | |
|---|
| 127 | 152 | config ROCKCHIP_OTP |
|---|
| 128 | | - tristate "Rockchip OTP Support" |
|---|
| 153 | + tristate "Rockchip OTP controller support" |
|---|
| 129 | 154 | depends on ARCH_ROCKCHIP || COMPILE_TEST |
|---|
| 130 | 155 | depends on HAS_IOMEM |
|---|
| 131 | 156 | help |
|---|
| .. | .. |
|---|
| 134 | 159 | |
|---|
| 135 | 160 | This driver can also be built as a module. If so, the module |
|---|
| 136 | 161 | will be called nvmem_rockchip_otp. |
|---|
| 162 | + |
|---|
| 163 | +config NVMEM_ROCKCHIP_SEC_OTP |
|---|
| 164 | + tristate "Rockchip Secure OTP controller support" |
|---|
| 165 | + depends on ARCH_ROCKCHIP || COMPILE_TEST |
|---|
| 166 | + depends on TEE && OPTEE |
|---|
| 167 | + help |
|---|
| 168 | + This is a simple drive to read and write non-protected |
|---|
| 169 | + oem zone in secure otp. |
|---|
| 170 | + |
|---|
| 171 | + This driver can also be built as a module. If so, the module |
|---|
| 172 | + will be called nvmem-rockchip-secure-otp. |
|---|
| 137 | 173 | |
|---|
| 138 | 174 | config NVMEM_BCM_OCOTP |
|---|
| 139 | 175 | tristate "Broadcom On-Chip OTP Controller support" |
|---|
| .. | .. |
|---|
| 146 | 182 | |
|---|
| 147 | 183 | This driver can also be built as a module. If so, the module |
|---|
| 148 | 184 | will be called nvmem-bcm-ocotp. |
|---|
| 185 | + |
|---|
| 186 | +config NVMEM_STM32_ROMEM |
|---|
| 187 | + tristate "STMicroelectronics STM32 factory-programmed memory support" |
|---|
| 188 | + depends on ARCH_STM32 || COMPILE_TEST |
|---|
| 189 | + help |
|---|
| 190 | + Say y here to enable read-only access for STMicroelectronics STM32 |
|---|
| 191 | + factory-programmed memory area. |
|---|
| 192 | + |
|---|
| 193 | + This driver can also be built as a module. If so, the module |
|---|
| 194 | + will be called nvmem-stm32-romem. |
|---|
| 149 | 195 | |
|---|
| 150 | 196 | config NVMEM_SUNXI_SID |
|---|
| 151 | 197 | tristate "Allwinner SoCs SID support" |
|---|
| .. | .. |
|---|
| 201 | 247 | |
|---|
| 202 | 248 | config NVMEM_SNVS_LPGPR |
|---|
| 203 | 249 | tristate "Support for Low Power General Purpose Register" |
|---|
| 204 | | - depends on SOC_IMX6 || SOC_IMX7D || COMPILE_TEST |
|---|
| 250 | + depends on ARCH_MXC || COMPILE_TEST |
|---|
| 205 | 251 | help |
|---|
| 206 | 252 | This is a driver for Low Power General Purpose Register (LPGPR) available on |
|---|
| 207 | 253 | i.MX6 and i.MX7 SoCs in Secure Non-Volatile Storage (SNVS) of this chip. |
|---|
| .. | .. |
|---|
| 226 | 272 | This driver can also be built as a module. If so, the module |
|---|
| 227 | 273 | will be called nvmem-sc27xx-efuse. |
|---|
| 228 | 274 | |
|---|
| 275 | +config NVMEM_ZYNQMP |
|---|
| 276 | + bool "Xilinx ZYNQMP SoC nvmem firmware support" |
|---|
| 277 | + depends on ARCH_ZYNQMP |
|---|
| 278 | + help |
|---|
| 279 | + This is a driver to access hardware related data like |
|---|
| 280 | + soc revision, IDCODE... etc by using the firmware |
|---|
| 281 | + interface. |
|---|
| 282 | + |
|---|
| 283 | + If sure, say yes. If unsure, say no. |
|---|
| 284 | + |
|---|
| 285 | +config SPRD_EFUSE |
|---|
| 286 | + tristate "Spreadtrum SoC eFuse Support" |
|---|
| 287 | + depends on ARCH_SPRD || COMPILE_TEST |
|---|
| 288 | + depends on HAS_IOMEM |
|---|
| 289 | + help |
|---|
| 290 | + This is a simple driver to dump specified values of Spreadtrum |
|---|
| 291 | + SoCs from eFuse. |
|---|
| 292 | + |
|---|
| 293 | + This driver can also be built as a module. If so, the module |
|---|
| 294 | + will be called nvmem-sprd-efuse. |
|---|
| 295 | + |
|---|
| 229 | 296 | endif |
|---|