xref: /openbmc/linux/drivers/nvmem/Kconfig (revision 293d5b43)
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_MXS_OCOTP
39	tristate "Freescale MXS On-Chip OTP Memory Support"
40	depends on ARCH_MXS || COMPILE_TEST
41	depends on HAS_IOMEM
42	help
43	  If you say Y here, you will get readonly access to the
44	  One Time Programmable memory pages that are stored
45	  on the Freescale i.MX23/i.MX28 processor.
46
47	  This driver can also be built as a module. If so, the module
48	  will be called nvmem-mxs-ocotp.
49
50config MTK_EFUSE
51	tristate "Mediatek SoCs EFUSE support"
52	depends on ARCH_MEDIATEK || COMPILE_TEST
53	depends on HAS_IOMEM
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