blob: 7fc220aaff1433f25502dc297fc67f2707e40448 [file] [log] [blame]
Srinivas Kandagatlaeace75c2015-07-27 12:13:19 +01001menuconfig NVMEM
2 tristate "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
Swetha Chikkaboraiahaa9b0662019-04-26 15:21:52 +053016config NVMEM_SYSFS
17 bool "/sys/bus/nvmem/devices/*/nvmem (sysfs interface)"
18 depends on SYSFS
19 default y
20 help
21 Say Y here to add a sysfs interface for NVMEM.
22
23 This interface is mostly used by userspace applications to
24 read/write directly into nvmem.
25
Philipp Zabel3edba6b2015-09-30 13:55:47 +010026config NVMEM_IMX_OCOTP
27 tristate "i.MX6 On-Chip OTP Controller support"
Srinivas Kandagatla63c0c072016-06-02 12:19:43 +010028 depends on SOC_IMX6 || COMPILE_TEST
29 depends on HAS_IOMEM
Philipp Zabel3edba6b2015-09-30 13:55:47 +010030 help
31 This is a driver for the On-Chip OTP Controller (OCOTP) available on
32 i.MX6 SoCs, providing access to 4 Kbits of one-time programmable
33 eFuses.
34
35 This driver can also be built as a module. If so, the module
36 will be called nvmem-imx-ocotp.
37
Ariel D'Alessandrof02f8ae2015-12-07 10:57:39 +000038config NVMEM_LPC18XX_EEPROM
39 tristate "NXP LPC18XX EEPROM Memory Support"
40 depends on ARCH_LPC18XX || COMPILE_TEST
Krzysztof Kozlowski2ce7aed2016-03-31 11:07:03 +010041 depends on HAS_IOMEM
Ariel D'Alessandrof02f8ae2015-12-07 10:57:39 +000042 help
43 Say Y here to include support for NXP LPC18xx EEPROM memory found in
44 NXP LPC185x/3x and LPC435x/3x/2x/1x devices.
45 To compile this driver as a module, choose M here: the module
46 will be called nvmem_lpc18xx_eeprom.
47
Stefan Wahrenc01e9a12015-09-30 13:56:27 +010048config NVMEM_MXS_OCOTP
49 tristate "Freescale MXS On-Chip OTP Memory Support"
50 depends on ARCH_MXS || COMPILE_TEST
Richard Weinberger5685e242016-02-22 11:23:44 +000051 depends on HAS_IOMEM
Stefan Wahrenc01e9a12015-09-30 13:56:27 +010052 help
53 If you say Y here, you will get readonly access to the
54 One Time Programmable memory pages that are stored
55 on the Freescale i.MX23/i.MX28 processor.
56
57 This driver can also be built as a module. If so, the module
58 will be called nvmem-mxs-ocotp.
59
Andrew-CT Chen4c7e4fe2015-12-07 10:58:11 +000060config MTK_EFUSE
61 tristate "Mediatek SoCs EFUSE support"
62 depends on ARCH_MEDIATEK || COMPILE_TEST
Krzysztof Kozlowski2ce7aed2016-03-31 11:07:03 +010063 depends on HAS_IOMEM
Andrew-CT Chen4c7e4fe2015-12-07 10:58:11 +000064 help
65 This is a driver to access hardware related data like sensor
66 calibration, HDMI impedance etc.
67
68 This driver can also be built as a module. If so, the module
69 will be called efuse-mtk.
70
Srinivas Kandagatla4ab11992015-07-27 12:15:00 +010071config QCOM_QFPROM
72 tristate "QCOM QFPROM Support"
73 depends on ARCH_QCOM || COMPILE_TEST
Richard Weinberger5685e242016-02-22 11:23:44 +000074 depends on HAS_IOMEM
Srinivas Kandagatla4ab11992015-07-27 12:15:00 +010075 help
76 Say y here to enable QFPROM support. The QFPROM provides access
77 functions for QFPROM data to rest of the drivers via nvmem interface.
78
79 This driver can also be built as a module. If so, the module
80 will be called nvmem_qfprom.
81
ZhengShunQian03a69562015-09-30 13:56:44 +010082config ROCKCHIP_EFUSE
83 tristate "Rockchip eFuse Support"
84 depends on ARCH_ROCKCHIP || COMPILE_TEST
Richard Weinberger5685e242016-02-22 11:23:44 +000085 depends on HAS_IOMEM
ZhengShunQian03a69562015-09-30 13:56:44 +010086 help
87 This is a simple drive to dump specified values of Rockchip SoC
88 from eFuse, such as cpu-leakage.
89
90 This driver can also be built as a module. If so, the module
91 will be called nvmem_rockchip_efuse.
92
Anirudh Ghayal41ccba0f2017-11-13 20:31:51 +053093config NVMEM_SPMI_SDAM
94 tristate "SPMI SDAM Support"
95 depends on SPMI
96 help
97 This driver supports the Shared Direct Access Memory Module on
98 Qualcomm Technologies, Inc. PMICs. It provides the clients
99 an interface to read/write to the SDAM module's shared memory.
100
Maxime Ripard3d0b16a2015-07-27 12:17:09 +0100101config NVMEM_SUNXI_SID
102 tristate "Allwinner SoCs SID support"
103 depends on ARCH_SUNXI
Maxime Ripard3d0b16a2015-07-27 12:17:09 +0100104 help
105 This is a driver for the 'security ID' available on various Allwinner
106 devices.
107
108 This driver can also be built as a module. If so, the module
109 will be called nvmem_sunxi_sid.
110
Sanchayan Maity22dbdb72015-09-30 13:54:59 +0100111config NVMEM_VF610_OCOTP
112 tristate "VF610 SoC OCOTP support"
113 depends on SOC_VF610 || COMPILE_TEST
Richard Weinberger5685e242016-02-22 11:23:44 +0000114 depends on HAS_IOMEM
Sanchayan Maity22dbdb72015-09-30 13:54:59 +0100115 help
116 This is a driver for the 'OCOTP' peripheral available on Vybrid
117 devices like VF5xx and VF6xx.
118
119 This driver can also be build as a module. If so, the module will
120 be called nvmem-vf610-ocotp.
121
Carlo Caionead855ea2016-08-27 15:43:46 +0200122config MESON_EFUSE
123 tristate "Amlogic eFuse Support"
124 depends on (ARCH_MESON || COMPILE_TEST) && MESON_SM
125 help
126 This is a driver to retrieve specific values from the eFuse found on
127 the Amlogic Meson SoCs.
128
129 This driver can also be built as a module. If so, the module
130 will be called nvmem_meson_efuse.
131
Srinivas Kandagatla4ab11992015-07-27 12:15:00 +0100132endif