nvmem: Fix dependencies for ROCKCHIP_EFUSE
[firefly-linux-kernel-4.4.55.git] / drivers / nvmem / Kconfig
1 menuconfig 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
14 if NVMEM
15
16 config 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
27 config NVMEM_MXS_OCOTP
28         tristate "Freescale MXS On-Chip OTP Memory Support"
29         depends on ARCH_MXS || COMPILE_TEST
30         depends on HAS_IOMEM
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
39 config QCOM_QFPROM
40         tristate "QCOM QFPROM Support"
41         depends on ARCH_QCOM || COMPILE_TEST
42         depends on HAS_IOMEM
43         select REGMAP_MMIO
44         help
45           Say y here to enable QFPROM support. The QFPROM provides access
46           functions for QFPROM data to rest of the drivers via nvmem interface.
47
48           This driver can also be built as a module. If so, the module
49           will be called nvmem_qfprom.
50
51 config ROCKCHIP_EFUSE
52         tristate "Rockchip eFuse Support"
53         depends on ARCH_ROCKCHIP || COMPILE_TEST
54         depends on HAS_IOMEM
55         depends on ROCKCHIP_SIP
56         help
57           This is a simple drive to dump specified values of Rockchip SoC
58           from eFuse, such as cpu-leakage.
59
60           This driver can also be built as a module. If so, the module
61           will be called nvmem_rockchip_efuse.
62
63 config NVMEM_SUNXI_SID
64         tristate "Allwinner SoCs SID support"
65         depends on ARCH_SUNXI
66         select REGMAP_MMIO
67         help
68           This is a driver for the 'security ID' available on various Allwinner
69           devices.
70
71           This driver can also be built as a module. If so, the module
72           will be called nvmem_sunxi_sid.
73
74 config NVMEM_VF610_OCOTP
75         tristate "VF610 SoC OCOTP support"
76         depends on SOC_VF610 || COMPILE_TEST
77         depends on HAS_IOMEM
78         help
79           This is a driver for the 'OCOTP' peripheral available on Vybrid
80           devices like VF5xx and VF6xx.
81
82           This driver can also be build as a module. If so, the module will
83           be called nvmem-vf610-ocotp.
84
85 endif