Merge tag 'microblaze-v5.6-rc1' of git://git.monstr.eu/linux-2.6-microblaze
[linux-2.6-block.git] / drivers / nvmem / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
eace75cf 2menuconfig 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
15if NVMEM
16
ae0c2d72
SK
17config 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
27config 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 38config 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
50config 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
58config 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
68config 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
78config 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
90config 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
101config 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
40ce9798
AG
112config NVMEM_SPMI_SDAM
113 tristate "SPMI SDAM Support"
114 depends on SPMI
115 help
116 This driver supports the Shared Direct Access Memory Module on
117 Qualcomm Technologies, Inc. PMICs. It provides the clients
118 an interface to read/write to the SDAM module's shared memory.
119
03a69568
Z
120config ROCKCHIP_EFUSE
121 tristate "Rockchip eFuse Support"
122 depends on ARCH_ROCKCHIP || COMPILE_TEST
5685e244 123 depends on HAS_IOMEM
03a69568
Z
124 help
125 This is a simple drive to dump specified values of Rockchip SoC
126 from eFuse, such as cpu-leakage.
127
128 This driver can also be built as a module. If so, the module
129 will be called nvmem_rockchip_efuse.
130
755864fe
FX
131config ROCKCHIP_OTP
132 tristate "Rockchip OTP controller support"
133 depends on ARCH_ROCKCHIP || COMPILE_TEST
134 depends on HAS_IOMEM
135 help
136 This is a simple drive to dump specified values of Rockchip SoC
137 from otp, such as cpu-leakage.
138
139 This driver can also be built as a module. If so, the module
140 will be called nvmem_rockchip_otp.
141
9d59c6e8
JR
142config NVMEM_BCM_OCOTP
143 tristate "Broadcom On-Chip OTP Controller support"
144 depends on ARCH_BCM_IPROC || COMPILE_TEST
145 depends on HAS_IOMEM
146 default ARCH_BCM_IPROC
147 help
148 Say y here to enable read/write access to the Broadcom OTP
149 controller.
150
151 This driver can also be built as a module. If so, the module
152 will be called nvmem-bcm-ocotp.
153
ded1b7fc
FG
154config NVMEM_STM32_ROMEM
155 tristate "STMicroelectronics STM32 factory-programmed memory support"
156 depends on ARCH_STM32 || COMPILE_TEST
157 help
158 Say y here to enable read-only access for STMicroelectronics STM32
159 factory-programmed memory area.
160
161 This driver can also be built as a module. If so, the module
162 will be called nvmem-stm32-romem.
163
3d0b16a6
MR
164config NVMEM_SUNXI_SID
165 tristate "Allwinner SoCs SID support"
166 depends on ARCH_SUNXI
3d0b16a6
MR
167 help
168 This is a driver for the 'security ID' available on various Allwinner
169 devices.
170
171 This driver can also be built as a module. If so, the module
172 will be called nvmem_sunxi_sid.
173
71c5dd50
KH
174config UNIPHIER_EFUSE
175 tristate "UniPhier SoCs eFuse support"
176 depends on ARCH_UNIPHIER || COMPILE_TEST
177 depends on HAS_IOMEM
178 help
179 This is a simple driver to dump specified values of UniPhier SoC
180 from eFuse.
181
182 This driver can also be built as a module. If so, the module
183 will be called nvmem-uniphier-efuse.
184
22dbdb7c
SM
185config NVMEM_VF610_OCOTP
186 tristate "VF610 SoC OCOTP support"
187 depends on SOC_VF610 || COMPILE_TEST
5685e244 188 depends on HAS_IOMEM
22dbdb7c
SM
189 help
190 This is a driver for the 'OCOTP' peripheral available on Vybrid
191 devices like VF5xx and VF6xx.
192
193 This driver can also be build as a module. If so, the module will
194 be called nvmem-vf610-ocotp.
195
ad855eae 196config MESON_EFUSE
9593ad32 197 tristate "Amlogic Meson GX eFuse Support"
ad855eae
CC
198 depends on (ARCH_MESON || COMPILE_TEST) && MESON_SM
199 help
200 This is a driver to retrieve specific values from the eFuse found on
9593ad32 201 the Amlogic Meson GX SoCs.
ad855eae
CC
202
203 This driver can also be built as a module. If so, the module
204 will be called nvmem_meson_efuse.
205
8caef1fa
MB
206config MESON_MX_EFUSE
207 tristate "Amlogic Meson6/Meson8/Meson8b eFuse Support"
208 depends on ARCH_MESON || COMPILE_TEST
209 help
210 This is a driver to retrieve specific values from the eFuse found on
211 the Amlogic Meson6, Meson8 and Meson8b SoCs.
212
213 This driver can also be built as a module. If so, the module
214 will be called nvmem_meson_mx_efuse.
215
988437ae
OR
216config NVMEM_SNVS_LPGPR
217 tristate "Support for Low Power General Purpose Register"
2d1c1939 218 depends on ARCH_MXC || COMPILE_TEST
988437ae
OR
219 help
220 This is a driver for Low Power General Purpose Register (LPGPR) available on
80b820ca 221 i.MX6 and i.MX7 SoCs in Secure Non-Volatile Storage (SNVS) of this chip.
988437ae
OR
222
223 This driver can also be built as a module. If so, the module
224 will be called nvmem-snvs-lpgpr.
225
3b51f47b
AS
226config RAVE_SP_EEPROM
227 tristate "Rave SP EEPROM Support"
228 depends on RAVE_SP_CORE
229 help
230 Say y here to enable Rave SP EEPROM support.
231
19c54468
FL
232config SC27XX_EFUSE
233 tristate "Spreadtrum SC27XX eFuse Support"
234 depends on MFD_SC27XX_PMIC || COMPILE_TEST
235 depends on HAS_IOMEM
236 help
237 This is a simple driver to dump specified values of Spreadtrum
238 SC27XX PMICs from eFuse.
239
240 This driver can also be built as a module. If so, the module
241 will be called nvmem-sc27xx-efuse.
242
4640fa18
NM
243config NVMEM_ZYNQMP
244 bool "Xilinx ZYNQMP SoC nvmem firmware support"
245 depends on ARCH_ZYNQMP
246 help
247 This is a driver to access hardware related data like
248 soc revision, IDCODE... etc by using the firmware
249 interface.
250
251 If sure, say yes. If unsure, say no.
252
096030e7
FL
253config SPRD_EFUSE
254 tristate "Spreadtrum SoC eFuse Support"
255 depends on ARCH_SPRD || COMPILE_TEST
256 depends on HAS_IOMEM
257 help
258 This is a simple driver to dump specified values of Spreadtrum
259 SoCs from eFuse.
260
261 This driver can also be built as a module. If so, the module
262 will be called nvmem-sprd-efuse.
263
4ab11996 264endif