xref: /openbmc/linux/drivers/nvmem/Kconfig (revision 56a0eccd)
1menuconfig NVMEM
2	tristate "NVMEM Support"
3	select REGMAP
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.
14
15if NVMEM
16
17config NVMEM_IMX_OCOTP
18	tristate "i.MX6 On-Chip OTP Controller support"
19	depends on SOC_IMX6
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	help
32	  Say Y here to include support for NXP LPC18xx EEPROM memory found in
33	  NXP LPC185x/3x and LPC435x/3x/2x/1x devices.
34	  To compile this driver as a module, choose M here: the module
35	  will be called nvmem_lpc18xx_eeprom.
36
37config NVMEM_MXS_OCOTP
38	tristate "Freescale MXS On-Chip OTP Memory Support"
39	depends on ARCH_MXS || COMPILE_TEST
40	depends on HAS_IOMEM
41	help
42	  If you say Y here, you will get readonly access to the
43	  One Time Programmable memory pages that are stored
44	  on the Freescale i.MX23/i.MX28 processor.
45
46	  This driver can also be built as a module. If so, the module
47	  will be called nvmem-mxs-ocotp.
48
49config MTK_EFUSE
50	tristate "Mediatek SoCs EFUSE support"
51	depends on ARCH_MEDIATEK || COMPILE_TEST
52	select REGMAP_MMIO
53	help
54	  This is a driver to access hardware related data like sensor
55	  calibration, HDMI impedance etc.
56
57	  This driver can also be built as a module. If so, the module
58	  will be called efuse-mtk.
59
60config QCOM_QFPROM
61	tristate "QCOM QFPROM Support"
62	depends on ARCH_QCOM || COMPILE_TEST
63	depends on HAS_IOMEM
64	select REGMAP_MMIO
65	help
66	  Say y here to enable QFPROM support. The QFPROM provides access
67	  functions for QFPROM data to rest of the drivers via nvmem interface.
68
69	  This driver can also be built as a module. If so, the module
70	  will be called nvmem_qfprom.
71
72config ROCKCHIP_EFUSE
73	tristate "Rockchip eFuse Support"
74	depends on ARCH_ROCKCHIP || COMPILE_TEST
75	depends on HAS_IOMEM
76	help
77	  This is a simple drive to dump specified values of Rockchip SoC
78	  from eFuse, such as cpu-leakage.
79
80	  This driver can also be built as a module. If so, the module
81	  will be called nvmem_rockchip_efuse.
82
83config NVMEM_SUNXI_SID
84	tristate "Allwinner SoCs SID support"
85	depends on ARCH_SUNXI
86	select REGMAP_MMIO
87	help
88	  This is a driver for the 'security ID' available on various Allwinner
89	  devices.
90
91	  This driver can also be built as a module. If so, the module
92	  will be called nvmem_sunxi_sid.
93
94config NVMEM_VF610_OCOTP
95	tristate "VF610 SoC OCOTP support"
96	depends on SOC_VF610 || COMPILE_TEST
97	depends on HAS_IOMEM
98	help
99	  This is a driver for the 'OCOTP' peripheral available on Vybrid
100	  devices like VF5xx and VF6xx.
101
102	  This driver can also be build as a module. If so, the module will
103	  be called nvmem-vf610-ocotp.
104
105endif
106