xref: /openbmc/linux/drivers/nvmem/Kconfig (revision abfbd895)
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_MXS_OCOTP
29	tristate "Freescale MXS On-Chip OTP Memory Support"
30	depends on ARCH_MXS || COMPILE_TEST
31	help
32	  If you say Y here, you will get readonly access to the
33	  One Time Programmable memory pages that are stored
34	  on the Freescale i.MX23/i.MX28 processor.
35
36	  This driver can also be built as a module. If so, the module
37	  will be called nvmem-mxs-ocotp.
38
39config QCOM_QFPROM
40	tristate "QCOM QFPROM Support"
41	depends on ARCH_QCOM || COMPILE_TEST
42	select REGMAP_MMIO
43	help
44	  Say y here to enable QFPROM support. The QFPROM provides access
45	  functions for QFPROM data to rest of the drivers via nvmem interface.
46
47	  This driver can also be built as a module. If so, the module
48	  will be called nvmem_qfprom.
49
50config ROCKCHIP_EFUSE
51	tristate "Rockchip eFuse Support"
52	depends on ARCH_ROCKCHIP || COMPILE_TEST
53	help
54	  This is a simple drive to dump specified values of Rockchip SoC
55	  from eFuse, such as cpu-leakage.
56
57	  This driver can also be built as a module. If so, the module
58	  will be called nvmem_rockchip_efuse.
59
60config NVMEM_SUNXI_SID
61	tristate "Allwinner SoCs SID support"
62	depends on ARCH_SUNXI
63	select REGMAP_MMIO
64	help
65	  This is a driver for the 'security ID' available on various Allwinner
66	  devices.
67
68	  This driver can also be built as a module. If so, the module
69	  will be called nvmem_sunxi_sid.
70
71config NVMEM_VF610_OCOTP
72	tristate "VF610 SoC OCOTP support"
73	depends on SOC_VF610 || COMPILE_TEST
74	help
75	  This is a driver for the 'OCOTP' peripheral available on Vybrid
76	  devices like VF5xx and VF6xx.
77
78	  This driver can also be build as a module. If so, the module will
79	  be called nvmem-vf610-ocotp.
80
81endif
82