Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
eace75cf | 2 | menuconfig NVMEM |
2a37ce25 | 3 | bool "NVMEM Support" |
eace75cf SK |
4 | help |
5 | Support for NVMEM(Non Volatile Memory) devices like EEPROM, EFUSES... | |
6 | ||
7 | This framework is designed to provide a generic interface to NVMEM | |
8 | from both the Linux Kernel and the userspace. | |
9 | ||
10 | This driver can also be built as a module. If so, the module | |
11 | will be called nvmem_core. | |
12 | ||
13 | If unsure, say no. | |
4ab11996 SK |
14 | |
15 | if NVMEM | |
16 | ||
ae0c2d72 SK |
17 | config NVMEM_SYSFS |
18 | bool "/sys/bus/nvmem/devices/*/nvmem (sysfs interface)" | |
19 | depends on SYSFS | |
20 | default y | |
21 | help | |
22 | Say Y here to add a sysfs interface for NVMEM. | |
23 | ||
24 | This interface is mostly used by userspace applications to | |
25 | read/write directly into nvmem. | |
26 | ||
c066c1c0 MG |
27 | config NVMEM_IMX_IIM |
28 | tristate "i.MX IC Identification Module support" | |
29 | depends on ARCH_MXC || COMPILE_TEST | |
30 | help | |
31 | This is a driver for the IC Identification Module (IIM) available on | |
32 | i.MX SoCs, providing access to 4 Kbits of programmable | |
33 | eFuses. | |
34 | ||
35 | This driver can also be built as a module. If so, the module | |
36 | will be called nvmem-imx-iim. | |
37 | ||
3edba6b4 | 38 | config NVMEM_IMX_OCOTP |
dd4c1047 LS |
39 | tristate "i.MX 6/7/8 On-Chip OTP Controller support" |
40 | depends on ARCH_MXC || COMPILE_TEST | |
63c0c076 | 41 | depends on HAS_IOMEM |
3edba6b4 PZ |
42 | help |
43 | This is a driver for the On-Chip OTP Controller (OCOTP) available on | |
44 | i.MX6 SoCs, providing access to 4 Kbits of one-time programmable | |
45 | eFuses. | |
46 | ||
47 | This driver can also be built as a module. If so, the module | |
48 | will be called nvmem-imx-ocotp. | |
49 | ||
67ff708b PF |
50 | config NVMEM_IMX_OCOTP_SCU |
51 | tristate "i.MX8 SCU On-Chip OTP Controller support" | |
52 | depends on IMX_SCU | |
b210fac7 | 53 | depends on HAVE_ARM_SMCCC |
67ff708b PF |
54 | help |
55 | This is a driver for the SCU On-Chip OTP Controller (OCOTP) | |
56 | available on i.MX8 SoCs. | |
57 | ||
f02f8aee AA |
58 | config NVMEM_LPC18XX_EEPROM |
59 | tristate "NXP LPC18XX EEPROM Memory Support" | |
60 | depends on ARCH_LPC18XX || COMPILE_TEST | |
2ce7aed6 | 61 | depends on HAS_IOMEM |
f02f8aee AA |
62 | help |
63 | Say Y here to include support for NXP LPC18xx EEPROM memory found in | |
64 | NXP LPC185x/3x and LPC435x/3x/2x/1x devices. | |
65 | To compile this driver as a module, choose M here: the module | |
66 | will be called nvmem_lpc18xx_eeprom. | |
67 | ||
88806daf JE |
68 | config NVMEM_LPC18XX_OTP |
69 | tristate "NXP LPC18XX OTP Memory Support" | |
70 | depends on ARCH_LPC18XX || COMPILE_TEST | |
71 | depends on HAS_IOMEM | |
72 | help | |
73 | Say Y here to include support for NXP LPC18xx OTP memory found on | |
74 | all LPC18xx and LPC43xx devices. | |
75 | To compile this driver as a module, choose M here: the module | |
76 | will be called nvmem_lpc18xx_otp. | |
77 | ||
c01e9a11 SW |
78 | config NVMEM_MXS_OCOTP |
79 | tristate "Freescale MXS On-Chip OTP Memory Support" | |
80 | depends on ARCH_MXS || COMPILE_TEST | |
5685e244 | 81 | depends on HAS_IOMEM |
c01e9a11 SW |
82 | help |
83 | If you say Y here, you will get readonly access to the | |
84 | One Time Programmable memory pages that are stored | |
85 | on the Freescale i.MX23/i.MX28 processor. | |
86 | ||
87 | This driver can also be built as a module. If so, the module | |
88 | will be called nvmem-mxs-ocotp. | |
89 | ||
4c7e4fe3 ACC |
90 | config MTK_EFUSE |
91 | tristate "Mediatek SoCs EFUSE support" | |
92 | depends on ARCH_MEDIATEK || COMPILE_TEST | |
2ce7aed6 | 93 | depends on HAS_IOMEM |
4c7e4fe3 ACC |
94 | help |
95 | This is a driver to access hardware related data like sensor | |
96 | calibration, HDMI impedance etc. | |
97 | ||
98 | This driver can also be built as a module. If so, the module | |
99 | will be called efuse-mtk. | |
100 | ||
4ab11996 SK |
101 | config QCOM_QFPROM |
102 | tristate "QCOM QFPROM Support" | |
103 | depends on ARCH_QCOM || COMPILE_TEST | |
5685e244 | 104 | depends on HAS_IOMEM |
4ab11996 SK |
105 | help |
106 | Say y here to enable QFPROM support. The QFPROM provides access | |
107 | functions for QFPROM data to rest of the drivers via nvmem interface. | |
108 | ||
109 | This driver can also be built as a module. If so, the module | |
110 | will be called nvmem_qfprom. | |
111 | ||
03a69568 Z |
112 | config ROCKCHIP_EFUSE |
113 | tristate "Rockchip eFuse Support" | |
114 | depends on ARCH_ROCKCHIP || COMPILE_TEST | |
5685e244 | 115 | depends on HAS_IOMEM |
03a69568 Z |
116 | help |
117 | This is a simple drive to dump specified values of Rockchip SoC | |
118 | from eFuse, such as cpu-leakage. | |
119 | ||
120 | This driver can also be built as a module. If so, the module | |
121 | will be called nvmem_rockchip_efuse. | |
122 | ||
755864fe FX |
123 | config ROCKCHIP_OTP |
124 | tristate "Rockchip OTP controller support" | |
125 | depends on ARCH_ROCKCHIP || COMPILE_TEST | |
126 | depends on HAS_IOMEM | |
127 | help | |
128 | This is a simple drive to dump specified values of Rockchip SoC | |
129 | from otp, such as cpu-leakage. | |
130 | ||
131 | This driver can also be built as a module. If so, the module | |
132 | will be called nvmem_rockchip_otp. | |
133 | ||
9d59c6e8 JR |
134 | config NVMEM_BCM_OCOTP |
135 | tristate "Broadcom On-Chip OTP Controller support" | |
136 | depends on ARCH_BCM_IPROC || COMPILE_TEST | |
137 | depends on HAS_IOMEM | |
138 | default ARCH_BCM_IPROC | |
139 | help | |
140 | Say y here to enable read/write access to the Broadcom OTP | |
141 | controller. | |
142 | ||
143 | This driver can also be built as a module. If so, the module | |
144 | will be called nvmem-bcm-ocotp. | |
145 | ||
ded1b7fc FG |
146 | config NVMEM_STM32_ROMEM |
147 | tristate "STMicroelectronics STM32 factory-programmed memory support" | |
148 | depends on ARCH_STM32 || COMPILE_TEST | |
149 | help | |
150 | Say y here to enable read-only access for STMicroelectronics STM32 | |
151 | factory-programmed memory area. | |
152 | ||
153 | This driver can also be built as a module. If so, the module | |
154 | will be called nvmem-stm32-romem. | |
155 | ||
3d0b16a6 MR |
156 | config NVMEM_SUNXI_SID |
157 | tristate "Allwinner SoCs SID support" | |
158 | depends on ARCH_SUNXI | |
3d0b16a6 MR |
159 | help |
160 | This is a driver for the 'security ID' available on various Allwinner | |
161 | devices. | |
162 | ||
163 | This driver can also be built as a module. If so, the module | |
164 | will be called nvmem_sunxi_sid. | |
165 | ||
71c5dd50 KH |
166 | config UNIPHIER_EFUSE |
167 | tristate "UniPhier SoCs eFuse support" | |
168 | depends on ARCH_UNIPHIER || COMPILE_TEST | |
169 | depends on HAS_IOMEM | |
170 | help | |
171 | This is a simple driver to dump specified values of UniPhier SoC | |
172 | from eFuse. | |
173 | ||
174 | This driver can also be built as a module. If so, the module | |
175 | will be called nvmem-uniphier-efuse. | |
176 | ||
22dbdb7c SM |
177 | config NVMEM_VF610_OCOTP |
178 | tristate "VF610 SoC OCOTP support" | |
179 | depends on SOC_VF610 || COMPILE_TEST | |
5685e244 | 180 | depends on HAS_IOMEM |
22dbdb7c SM |
181 | help |
182 | This is a driver for the 'OCOTP' peripheral available on Vybrid | |
183 | devices like VF5xx and VF6xx. | |
184 | ||
185 | This driver can also be build as a module. If so, the module will | |
186 | be called nvmem-vf610-ocotp. | |
187 | ||
ad855eae | 188 | config MESON_EFUSE |
9593ad32 | 189 | tristate "Amlogic Meson GX eFuse Support" |
ad855eae CC |
190 | depends on (ARCH_MESON || COMPILE_TEST) && MESON_SM |
191 | help | |
192 | This is a driver to retrieve specific values from the eFuse found on | |
9593ad32 | 193 | the Amlogic Meson GX SoCs. |
ad855eae CC |
194 | |
195 | This driver can also be built as a module. If so, the module | |
196 | will be called nvmem_meson_efuse. | |
197 | ||
8caef1fa MB |
198 | config MESON_MX_EFUSE |
199 | tristate "Amlogic Meson6/Meson8/Meson8b eFuse Support" | |
200 | depends on ARCH_MESON || COMPILE_TEST | |
201 | help | |
202 | This is a driver to retrieve specific values from the eFuse found on | |
203 | the Amlogic Meson6, Meson8 and Meson8b SoCs. | |
204 | ||
205 | This driver can also be built as a module. If so, the module | |
206 | will be called nvmem_meson_mx_efuse. | |
207 | ||
988437ae OR |
208 | config NVMEM_SNVS_LPGPR |
209 | tristate "Support for Low Power General Purpose Register" | |
2d1c1939 | 210 | depends on ARCH_MXC || COMPILE_TEST |
988437ae OR |
211 | help |
212 | This is a driver for Low Power General Purpose Register (LPGPR) available on | |
80b820ca | 213 | i.MX6 and i.MX7 SoCs in Secure Non-Volatile Storage (SNVS) of this chip. |
988437ae OR |
214 | |
215 | This driver can also be built as a module. If so, the module | |
216 | will be called nvmem-snvs-lpgpr. | |
217 | ||
3b51f47b AS |
218 | config RAVE_SP_EEPROM |
219 | tristate "Rave SP EEPROM Support" | |
220 | depends on RAVE_SP_CORE | |
221 | help | |
222 | Say y here to enable Rave SP EEPROM support. | |
223 | ||
19c54468 FL |
224 | config SC27XX_EFUSE |
225 | tristate "Spreadtrum SC27XX eFuse Support" | |
226 | depends on MFD_SC27XX_PMIC || COMPILE_TEST | |
227 | depends on HAS_IOMEM | |
228 | help | |
229 | This is a simple driver to dump specified values of Spreadtrum | |
230 | SC27XX PMICs from eFuse. | |
231 | ||
232 | This driver can also be built as a module. If so, the module | |
233 | will be called nvmem-sc27xx-efuse. | |
234 | ||
4640fa18 NM |
235 | config NVMEM_ZYNQMP |
236 | bool "Xilinx ZYNQMP SoC nvmem firmware support" | |
237 | depends on ARCH_ZYNQMP | |
238 | help | |
239 | This is a driver to access hardware related data like | |
240 | soc revision, IDCODE... etc by using the firmware | |
241 | interface. | |
242 | ||
243 | If sure, say yes. If unsure, say no. | |
244 | ||
096030e7 FL |
245 | config SPRD_EFUSE |
246 | tristate "Spreadtrum SoC eFuse Support" | |
247 | depends on ARCH_SPRD || COMPILE_TEST | |
248 | depends on HAS_IOMEM | |
249 | help | |
250 | This is a simple driver to dump specified values of Spreadtrum | |
251 | SoCs from eFuse. | |
252 | ||
253 | This driver can also be built as a module. If so, the module | |
254 | will be called nvmem-sprd-efuse. | |
255 | ||
4ab11996 | 256 | endif |