xref: /linux/drivers/nvmem/Kconfig (revision 83bce9c2baa51e439480a713119a73d3c8b61083)
1menuconfig NVMEM
2	tristate "NVMEM Support"
3	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.
13
14if NVMEM
15
16config NVMEM_IMX_OCOTP
17	tristate "i.MX6 On-Chip OTP Controller support"
18	depends on SOC_IMX6 || COMPILE_TEST
19	depends on HAS_IOMEM
20	help
21	  This is a driver for the On-Chip OTP Controller (OCOTP) available on
22	  i.MX6 SoCs, providing access to 4 Kbits of one-time programmable
23	  eFuses.
24
25	  This driver can also be built as a module. If so, the module
26	  will be called nvmem-imx-ocotp.
27
28config NVMEM_LPC18XX_EEPROM
29	tristate "NXP LPC18XX EEPROM Memory Support"
30	depends on ARCH_LPC18XX || COMPILE_TEST
31	depends on HAS_IOMEM
32	help
33	  Say Y here to include support for NXP LPC18xx EEPROM memory found in
34	  NXP LPC185x/3x and LPC435x/3x/2x/1x devices.
35	  To compile this driver as a module, choose M here: the module
36	  will be called nvmem_lpc18xx_eeprom.
37
38config NVMEM_LPC18XX_OTP
39	tristate "NXP LPC18XX OTP Memory Support"
40	depends on ARCH_LPC18XX || COMPILE_TEST
41	depends on HAS_IOMEM
42	help
43	  Say Y here to include support for NXP LPC18xx OTP memory found on
44	  all LPC18xx and LPC43xx devices.
45	  To compile this driver as a module, choose M here: the module
46	  will be called nvmem_lpc18xx_otp.
47
48config NVMEM_MXS_OCOTP
49	tristate "Freescale MXS On-Chip OTP Memory Support"
50	depends on ARCH_MXS || COMPILE_TEST
51	depends on HAS_IOMEM
52	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
60config MTK_EFUSE
61	tristate "Mediatek SoCs EFUSE support"
62	depends on ARCH_MEDIATEK || COMPILE_TEST
63	depends on HAS_IOMEM
64	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
71config QCOM_QFPROM
72	tristate "QCOM QFPROM Support"
73	depends on ARCH_QCOM || COMPILE_TEST
74	depends on HAS_IOMEM
75	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
82config ROCKCHIP_EFUSE
83	tristate "Rockchip eFuse Support"
84	depends on ARCH_ROCKCHIP || COMPILE_TEST
85	depends on HAS_IOMEM
86	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
93config NVMEM_BCM_OCOTP
94	tristate "Broadcom On-Chip OTP Controller support"
95	depends on ARCH_BCM_IPROC || COMPILE_TEST
96	depends on HAS_IOMEM
97	default ARCH_BCM_IPROC
98	help
99	  Say y here to enable read/write access to the Broadcom OTP
100	  controller.
101
102	  This driver can also be built as a module. If so, the module
103	  will be called nvmem-bcm-ocotp.
104
105config NVMEM_SUNXI_SID
106	tristate "Allwinner SoCs SID support"
107	depends on ARCH_SUNXI
108	help
109	  This is a driver for the 'security ID' available on various Allwinner
110	  devices.
111
112	  This driver can also be built as a module. If so, the module
113	  will be called nvmem_sunxi_sid.
114
115config NVMEM_VF610_OCOTP
116	tristate "VF610 SoC OCOTP support"
117	depends on SOC_VF610 || COMPILE_TEST
118	depends on HAS_IOMEM
119	help
120	  This is a driver for the 'OCOTP' peripheral available on Vybrid
121	  devices like VF5xx and VF6xx.
122
123	  This driver can also be build as a module. If so, the module will
124	  be called nvmem-vf610-ocotp.
125
126config MESON_EFUSE
127	tristate "Amlogic eFuse Support"
128	depends on (ARCH_MESON || COMPILE_TEST) && MESON_SM
129	help
130	  This is a driver to retrieve specific values from the eFuse found on
131	  the Amlogic Meson SoCs.
132
133	  This driver can also be built as a module. If so, the module
134	  will be called nvmem_meson_efuse.
135
136endif
137