xref: /openbmc/linux/drivers/nvmem/Kconfig (revision 23c2b932)
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
19	help
20	  This is a driver for the On-Chip OTP Controller (OCOTP) available on
21	  i.MX6 SoCs, providing access to 4 Kbits of one-time programmable
22	  eFuses.
23
24	  This driver can also be built as a module. If so, the module
25	  will be called nvmem-imx-ocotp.
26
27config NVMEM_LPC18XX_EEPROM
28	tristate "NXP LPC18XX EEPROM Memory Support"
29	depends on ARCH_LPC18XX || COMPILE_TEST
30	depends on HAS_IOMEM
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	depends on HAS_IOMEM
53	select REGMAP_MMIO
54	help
55	  This is a driver to access hardware related data like sensor
56	  calibration, HDMI impedance etc.
57
58	  This driver can also be built as a module. If so, the module
59	  will be called efuse-mtk.
60
61config QCOM_QFPROM
62	tristate "QCOM QFPROM Support"
63	depends on ARCH_QCOM || COMPILE_TEST
64	depends on HAS_IOMEM
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	help
87	  This is a driver for the 'security ID' available on various Allwinner
88	  devices.
89
90	  This driver can also be built as a module. If so, the module
91	  will be called nvmem_sunxi_sid.
92
93config NVMEM_VF610_OCOTP
94	tristate "VF610 SoC OCOTP support"
95	depends on SOC_VF610 || COMPILE_TEST
96	depends on HAS_IOMEM
97	help
98	  This is a driver for the 'OCOTP' peripheral available on Vybrid
99	  devices like VF5xx and VF6xx.
100
101	  This driver can also be build as a module. If so, the module will
102	  be called nvmem-vf610-ocotp.
103
104endif
105