blob: 55cf64ee7f7b0d15a8a183b036ac2ebd6839c4dd [file] [log] [blame]
Srinivas Kandagatlaeace75c2015-07-27 12:13:19 +01001menuconfig NVMEM
Arnd Bergmann2a37ce22018-04-04 12:38:40 +02002 bool "NVMEM Support"
Srinivas Kandagatlaeace75c2015-07-27 12:13:19 +01003 help
4 Support for NVMEM(Non Volatile Memory) devices like EEPROM, EFUSES...
5
6 This framework is designed to provide a generic interface to NVMEM
7 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
12 If unsure, say no.
Srinivas Kandagatla4ab11992015-07-27 12:15:00 +010013
14if NVMEM
15
Michael Grzeschikc066c1c2017-03-31 13:44:50 +010016config NVMEM_IMX_IIM
17 tristate "i.MX IC Identification Module support"
18 depends on ARCH_MXC || COMPILE_TEST
19 help
20 This is a driver for the IC Identification Module (IIM) available on
21 i.MX SoCs, providing access to 4 Kbits of programmable
22 eFuses.
23
24 This driver can also be built as a module. If so, the module
25 will be called nvmem-imx-iim.
26
Philipp Zabel3edba6b2015-09-30 13:55:47 +010027config NVMEM_IMX_OCOTP
28 tristate "i.MX6 On-Chip OTP Controller support"
Srinivas Kandagatla63c0c072016-06-02 12:19:43 +010029 depends on SOC_IMX6 || COMPILE_TEST
30 depends on HAS_IOMEM
Philipp Zabel3edba6b2015-09-30 13:55:47 +010031 help
32 This is a driver for the On-Chip OTP Controller (OCOTP) available on
33 i.MX6 SoCs, providing access to 4 Kbits of one-time programmable
34 eFuses.
35
36 This driver can also be built as a module. If so, the module
37 will be called nvmem-imx-ocotp.
38
Ariel D'Alessandrof02f8ae2015-12-07 10:57:39 +000039config NVMEM_LPC18XX_EEPROM
40 tristate "NXP LPC18XX EEPROM Memory Support"
41 depends on ARCH_LPC18XX || COMPILE_TEST
Krzysztof Kozlowski2ce7aed2016-03-31 11:07:03 +010042 depends on HAS_IOMEM
Ariel D'Alessandrof02f8ae2015-12-07 10:57:39 +000043 help
44 Say Y here to include support for NXP LPC18xx EEPROM memory found in
45 NXP LPC185x/3x and LPC435x/3x/2x/1x devices.
46 To compile this driver as a module, choose M here: the module
47 will be called nvmem_lpc18xx_eeprom.
48
Joachim Eastwood88806daf2016-10-31 14:45:16 +000049config NVMEM_LPC18XX_OTP
50 tristate "NXP LPC18XX OTP Memory Support"
51 depends on ARCH_LPC18XX || COMPILE_TEST
52 depends on HAS_IOMEM
53 help
54 Say Y here to include support for NXP LPC18xx OTP memory found on
55 all LPC18xx and LPC43xx devices.
56 To compile this driver as a module, choose M here: the module
57 will be called nvmem_lpc18xx_otp.
58
Stefan Wahrenc01e9a12015-09-30 13:56:27 +010059config NVMEM_MXS_OCOTP
60 tristate "Freescale MXS On-Chip OTP Memory Support"
61 depends on ARCH_MXS || COMPILE_TEST
Richard Weinberger5685e242016-02-22 11:23:44 +000062 depends on HAS_IOMEM
Stefan Wahrenc01e9a12015-09-30 13:56:27 +010063 help
64 If you say Y here, you will get readonly access to the
65 One Time Programmable memory pages that are stored
66 on the Freescale i.MX23/i.MX28 processor.
67
68 This driver can also be built as a module. If so, the module
69 will be called nvmem-mxs-ocotp.
70
Andrew-CT Chen4c7e4fe2015-12-07 10:58:11 +000071config MTK_EFUSE
72 tristate "Mediatek SoCs EFUSE support"
73 depends on ARCH_MEDIATEK || COMPILE_TEST
Krzysztof Kozlowski2ce7aed2016-03-31 11:07:03 +010074 depends on HAS_IOMEM
Andrew-CT Chen4c7e4fe2015-12-07 10:58:11 +000075 help
76 This is a driver to access hardware related data like sensor
77 calibration, HDMI impedance etc.
78
79 This driver can also be built as a module. If so, the module
80 will be called efuse-mtk.
81
Srinivas Kandagatla4ab11992015-07-27 12:15:00 +010082config QCOM_QFPROM
83 tristate "QCOM QFPROM Support"
84 depends on ARCH_QCOM || COMPILE_TEST
Richard Weinberger5685e242016-02-22 11:23:44 +000085 depends on HAS_IOMEM
Srinivas Kandagatla4ab11992015-07-27 12:15:00 +010086 help
87 Say y here to enable QFPROM support. The QFPROM provides access
88 functions for QFPROM data to rest of the drivers via nvmem interface.
89
90 This driver can also be built as a module. If so, the module
91 will be called nvmem_qfprom.
92
ZhengShunQian03a69562015-09-30 13:56:44 +010093config ROCKCHIP_EFUSE
94 tristate "Rockchip eFuse Support"
95 depends on ARCH_ROCKCHIP || COMPILE_TEST
Richard Weinberger5685e242016-02-22 11:23:44 +000096 depends on HAS_IOMEM
ZhengShunQian03a69562015-09-30 13:56:44 +010097 help
98 This is a simple drive to dump specified values of Rockchip SoC
99 from eFuse, such as cpu-leakage.
100
101 This driver can also be built as a module. If so, the module
102 will be called nvmem_rockchip_efuse.
103
Jonathan Richardson9d59c6e2016-10-31 14:45:19 +0000104config NVMEM_BCM_OCOTP
105 tristate "Broadcom On-Chip OTP Controller support"
106 depends on ARCH_BCM_IPROC || COMPILE_TEST
107 depends on HAS_IOMEM
108 default ARCH_BCM_IPROC
109 help
110 Say y here to enable read/write access to the Broadcom OTP
111 controller.
112
113 This driver can also be built as a module. If so, the module
114 will be called nvmem-bcm-ocotp.
115
Maxime Ripard3d0b16a2015-07-27 12:17:09 +0100116config NVMEM_SUNXI_SID
117 tristate "Allwinner SoCs SID support"
118 depends on ARCH_SUNXI
Maxime Ripard3d0b16a2015-07-27 12:17:09 +0100119 help
120 This is a driver for the 'security ID' available on various Allwinner
121 devices.
122
123 This driver can also be built as a module. If so, the module
124 will be called nvmem_sunxi_sid.
125
Keiji Hayashibara71c5dd52017-10-24 10:54:26 +0100126config UNIPHIER_EFUSE
127 tristate "UniPhier SoCs eFuse support"
128 depends on ARCH_UNIPHIER || COMPILE_TEST
129 depends on HAS_IOMEM
130 help
131 This is a simple driver to dump specified values of UniPhier SoC
132 from eFuse.
133
134 This driver can also be built as a module. If so, the module
135 will be called nvmem-uniphier-efuse.
136
Sanchayan Maity22dbdb72015-09-30 13:54:59 +0100137config NVMEM_VF610_OCOTP
138 tristate "VF610 SoC OCOTP support"
139 depends on SOC_VF610 || COMPILE_TEST
Richard Weinberger5685e242016-02-22 11:23:44 +0000140 depends on HAS_IOMEM
Sanchayan Maity22dbdb72015-09-30 13:54:59 +0100141 help
142 This is a driver for the 'OCOTP' peripheral available on Vybrid
143 devices like VF5xx and VF6xx.
144
145 This driver can also be build as a module. If so, the module will
146 be called nvmem-vf610-ocotp.
147
Carlo Caionead855ea2016-08-27 15:43:46 +0200148config MESON_EFUSE
Martin Blumenstingl9593ad32017-10-09 15:26:40 +0200149 tristate "Amlogic Meson GX eFuse Support"
Carlo Caionead855ea2016-08-27 15:43:46 +0200150 depends on (ARCH_MESON || COMPILE_TEST) && MESON_SM
151 help
152 This is a driver to retrieve specific values from the eFuse found on
Martin Blumenstingl9593ad32017-10-09 15:26:40 +0200153 the Amlogic Meson GX SoCs.
Carlo Caionead855ea2016-08-27 15:43:46 +0200154
155 This driver can also be built as a module. If so, the module
156 will be called nvmem_meson_efuse.
157
Martin Blumenstingl8caef1f2017-10-09 15:26:41 +0200158config MESON_MX_EFUSE
159 tristate "Amlogic Meson6/Meson8/Meson8b eFuse Support"
160 depends on ARCH_MESON || COMPILE_TEST
161 help
162 This is a driver to retrieve specific values from the eFuse found on
163 the Amlogic Meson6, Meson8 and Meson8b SoCs.
164
165 This driver can also be built as a module. If so, the module
166 will be called nvmem_meson_mx_efuse.
167
Oleksij Rempel988437a2017-09-17 12:33:43 +0200168config NVMEM_SNVS_LPGPR
169 tristate "Support for Low Power General Purpose Register"
170 depends on SOC_IMX6 || COMPILE_TEST
171 help
172 This is a driver for Low Power General Purpose Register (LPGPR) available on
173 i.MX6 SoCs in Secure Non-Volatile Storage (SNVS) of this chip.
174
175 This driver can also be built as a module. If so, the module
176 will be called nvmem-snvs-lpgpr.
177
Srinivas Kandagatla4ab11992015-07-27 12:15:00 +0100178endif