xref: /linux/drivers/nvmem/Kconfig (revision 19c54468f222d61f07ec83d13e46a4c78d326c80)
1eace75cfSSrinivas Kandagatlamenuconfig NVMEM
22a37ce25SArnd Bergmann	bool "NVMEM Support"
3eace75cfSSrinivas Kandagatla	help
4eace75cfSSrinivas Kandagatla	  Support for NVMEM(Non Volatile Memory) devices like EEPROM, EFUSES...
5eace75cfSSrinivas Kandagatla
6eace75cfSSrinivas Kandagatla	  This framework is designed to provide a generic interface to NVMEM
7eace75cfSSrinivas Kandagatla	  from both the Linux Kernel and the userspace.
8eace75cfSSrinivas Kandagatla
9eace75cfSSrinivas Kandagatla	  This driver can also be built as a module. If so, the module
10eace75cfSSrinivas Kandagatla	  will be called nvmem_core.
11eace75cfSSrinivas Kandagatla
12eace75cfSSrinivas Kandagatla	  If unsure, say no.
134ab11996SSrinivas Kandagatla
144ab11996SSrinivas Kandagatlaif NVMEM
154ab11996SSrinivas Kandagatla
16c066c1c0SMichael Grzeschikconfig NVMEM_IMX_IIM
17c066c1c0SMichael Grzeschik	tristate "i.MX IC Identification Module support"
18c066c1c0SMichael Grzeschik	depends on ARCH_MXC || COMPILE_TEST
19c066c1c0SMichael Grzeschik	help
20c066c1c0SMichael Grzeschik	  This is a driver for the IC Identification Module (IIM) available on
21c066c1c0SMichael Grzeschik	  i.MX SoCs, providing access to 4 Kbits of programmable
22c066c1c0SMichael Grzeschik	  eFuses.
23c066c1c0SMichael Grzeschik
24c066c1c0SMichael Grzeschik	  This driver can also be built as a module. If so, the module
25c066c1c0SMichael Grzeschik	  will be called nvmem-imx-iim.
26c066c1c0SMichael Grzeschik
273edba6b4SPhilipp Zabelconfig NVMEM_IMX_OCOTP
283edba6b4SPhilipp Zabel	tristate "i.MX6 On-Chip OTP Controller support"
2963c0c076SSrinivas Kandagatla	depends on SOC_IMX6 || COMPILE_TEST
3063c0c076SSrinivas Kandagatla	depends on HAS_IOMEM
313edba6b4SPhilipp Zabel	help
323edba6b4SPhilipp Zabel	  This is a driver for the On-Chip OTP Controller (OCOTP) available on
333edba6b4SPhilipp Zabel	  i.MX6 SoCs, providing access to 4 Kbits of one-time programmable
343edba6b4SPhilipp Zabel	  eFuses.
353edba6b4SPhilipp Zabel
363edba6b4SPhilipp Zabel	  This driver can also be built as a module. If so, the module
373edba6b4SPhilipp Zabel	  will be called nvmem-imx-ocotp.
383edba6b4SPhilipp Zabel
39f02f8aeeSAriel D'Alessandroconfig NVMEM_LPC18XX_EEPROM
40f02f8aeeSAriel D'Alessandro	tristate "NXP LPC18XX EEPROM Memory Support"
41f02f8aeeSAriel D'Alessandro	depends on ARCH_LPC18XX || COMPILE_TEST
422ce7aed6SKrzysztof Kozlowski	depends on HAS_IOMEM
43f02f8aeeSAriel D'Alessandro	help
44f02f8aeeSAriel D'Alessandro	  Say Y here to include support for NXP LPC18xx EEPROM memory found in
45f02f8aeeSAriel D'Alessandro	  NXP LPC185x/3x and LPC435x/3x/2x/1x devices.
46f02f8aeeSAriel D'Alessandro	  To compile this driver as a module, choose M here: the module
47f02f8aeeSAriel D'Alessandro	  will be called nvmem_lpc18xx_eeprom.
48f02f8aeeSAriel D'Alessandro
4988806dafSJoachim Eastwoodconfig NVMEM_LPC18XX_OTP
5088806dafSJoachim Eastwood	tristate "NXP LPC18XX OTP Memory Support"
5188806dafSJoachim Eastwood	depends on ARCH_LPC18XX || COMPILE_TEST
5288806dafSJoachim Eastwood	depends on HAS_IOMEM
5388806dafSJoachim Eastwood	help
5488806dafSJoachim Eastwood	  Say Y here to include support for NXP LPC18xx OTP memory found on
5588806dafSJoachim Eastwood	  all LPC18xx and LPC43xx devices.
5688806dafSJoachim Eastwood	  To compile this driver as a module, choose M here: the module
5788806dafSJoachim Eastwood	  will be called nvmem_lpc18xx_otp.
5888806dafSJoachim Eastwood
59c01e9a11SStefan Wahrenconfig NVMEM_MXS_OCOTP
60c01e9a11SStefan Wahren	tristate "Freescale MXS On-Chip OTP Memory Support"
61c01e9a11SStefan Wahren	depends on ARCH_MXS || COMPILE_TEST
625685e244SRichard Weinberger	depends on HAS_IOMEM
63c01e9a11SStefan Wahren	help
64c01e9a11SStefan Wahren	  If you say Y here, you will get readonly access to the
65c01e9a11SStefan Wahren	  One Time Programmable memory pages that are stored
66c01e9a11SStefan Wahren	  on the Freescale i.MX23/i.MX28 processor.
67c01e9a11SStefan Wahren
68c01e9a11SStefan Wahren	  This driver can also be built as a module. If so, the module
69c01e9a11SStefan Wahren	  will be called nvmem-mxs-ocotp.
70c01e9a11SStefan Wahren
714c7e4fe3SAndrew-CT Chenconfig MTK_EFUSE
724c7e4fe3SAndrew-CT Chen	tristate "Mediatek SoCs EFUSE support"
734c7e4fe3SAndrew-CT Chen	depends on ARCH_MEDIATEK || COMPILE_TEST
742ce7aed6SKrzysztof Kozlowski	depends on HAS_IOMEM
754c7e4fe3SAndrew-CT Chen	help
764c7e4fe3SAndrew-CT Chen	  This is a driver to access hardware related data like sensor
774c7e4fe3SAndrew-CT Chen	  calibration, HDMI impedance etc.
784c7e4fe3SAndrew-CT Chen
794c7e4fe3SAndrew-CT Chen	  This driver can also be built as a module. If so, the module
804c7e4fe3SAndrew-CT Chen	  will be called efuse-mtk.
814c7e4fe3SAndrew-CT Chen
824ab11996SSrinivas Kandagatlaconfig QCOM_QFPROM
834ab11996SSrinivas Kandagatla	tristate "QCOM QFPROM Support"
844ab11996SSrinivas Kandagatla	depends on ARCH_QCOM || COMPILE_TEST
855685e244SRichard Weinberger	depends on HAS_IOMEM
864ab11996SSrinivas Kandagatla	help
874ab11996SSrinivas Kandagatla	  Say y here to enable QFPROM support. The QFPROM provides access
884ab11996SSrinivas Kandagatla	  functions for QFPROM data to rest of the drivers via nvmem interface.
894ab11996SSrinivas Kandagatla
904ab11996SSrinivas Kandagatla	  This driver can also be built as a module. If so, the module
914ab11996SSrinivas Kandagatla	  will be called nvmem_qfprom.
924ab11996SSrinivas Kandagatla
9303a69568SZhengShunQianconfig ROCKCHIP_EFUSE
9403a69568SZhengShunQian	tristate "Rockchip eFuse Support"
9503a69568SZhengShunQian	depends on ARCH_ROCKCHIP || COMPILE_TEST
965685e244SRichard Weinberger	depends on HAS_IOMEM
9703a69568SZhengShunQian	help
9803a69568SZhengShunQian	  This is a simple drive to dump specified values of Rockchip SoC
9903a69568SZhengShunQian	  from eFuse, such as cpu-leakage.
10003a69568SZhengShunQian
10103a69568SZhengShunQian	  This driver can also be built as a module. If so, the module
10203a69568SZhengShunQian	  will be called nvmem_rockchip_efuse.
10303a69568SZhengShunQian
1049d59c6e8SJonathan Richardsonconfig NVMEM_BCM_OCOTP
1059d59c6e8SJonathan Richardson	tristate "Broadcom On-Chip OTP Controller support"
1069d59c6e8SJonathan Richardson	depends on ARCH_BCM_IPROC || COMPILE_TEST
1079d59c6e8SJonathan Richardson	depends on HAS_IOMEM
1089d59c6e8SJonathan Richardson	default ARCH_BCM_IPROC
1099d59c6e8SJonathan Richardson	help
1109d59c6e8SJonathan Richardson	  Say y here to enable read/write access to the Broadcom OTP
1119d59c6e8SJonathan Richardson	  controller.
1129d59c6e8SJonathan Richardson
1139d59c6e8SJonathan Richardson	  This driver can also be built as a module. If so, the module
1149d59c6e8SJonathan Richardson	  will be called nvmem-bcm-ocotp.
1159d59c6e8SJonathan Richardson
1163d0b16a6SMaxime Ripardconfig NVMEM_SUNXI_SID
1173d0b16a6SMaxime Ripard	tristate "Allwinner SoCs SID support"
1183d0b16a6SMaxime Ripard	depends on ARCH_SUNXI
1193d0b16a6SMaxime Ripard	help
1203d0b16a6SMaxime Ripard	  This is a driver for the 'security ID' available on various Allwinner
1213d0b16a6SMaxime Ripard	  devices.
1223d0b16a6SMaxime Ripard
1233d0b16a6SMaxime Ripard	  This driver can also be built as a module. If so, the module
1243d0b16a6SMaxime Ripard	  will be called nvmem_sunxi_sid.
1253d0b16a6SMaxime Ripard
12671c5dd50SKeiji Hayashibaraconfig UNIPHIER_EFUSE
12771c5dd50SKeiji Hayashibara	tristate "UniPhier SoCs eFuse support"
12871c5dd50SKeiji Hayashibara	depends on ARCH_UNIPHIER || COMPILE_TEST
12971c5dd50SKeiji Hayashibara	depends on HAS_IOMEM
13071c5dd50SKeiji Hayashibara	help
13171c5dd50SKeiji Hayashibara	  This is a simple driver to dump specified values of UniPhier SoC
13271c5dd50SKeiji Hayashibara	  from eFuse.
13371c5dd50SKeiji Hayashibara
13471c5dd50SKeiji Hayashibara	  This driver can also be built as a module. If so, the module
13571c5dd50SKeiji Hayashibara	  will be called nvmem-uniphier-efuse.
13671c5dd50SKeiji Hayashibara
13722dbdb7cSSanchayan Maityconfig NVMEM_VF610_OCOTP
13822dbdb7cSSanchayan Maity	tristate "VF610 SoC OCOTP support"
13922dbdb7cSSanchayan Maity	depends on SOC_VF610 || COMPILE_TEST
1405685e244SRichard Weinberger	depends on HAS_IOMEM
14122dbdb7cSSanchayan Maity	help
14222dbdb7cSSanchayan Maity	  This is a driver for the 'OCOTP' peripheral available on Vybrid
14322dbdb7cSSanchayan Maity	  devices like VF5xx and VF6xx.
14422dbdb7cSSanchayan Maity
14522dbdb7cSSanchayan Maity	  This driver can also be build as a module. If so, the module will
14622dbdb7cSSanchayan Maity	  be called nvmem-vf610-ocotp.
14722dbdb7cSSanchayan Maity
148ad855eaeSCarlo Caioneconfig MESON_EFUSE
1499593ad32SMartin Blumenstingl	tristate "Amlogic Meson GX eFuse Support"
150ad855eaeSCarlo Caione	depends on (ARCH_MESON || COMPILE_TEST) && MESON_SM
151ad855eaeSCarlo Caione	help
152ad855eaeSCarlo Caione	  This is a driver to retrieve specific values from the eFuse found on
1539593ad32SMartin Blumenstingl	  the Amlogic Meson GX SoCs.
154ad855eaeSCarlo Caione
155ad855eaeSCarlo Caione	  This driver can also be built as a module. If so, the module
156ad855eaeSCarlo Caione	  will be called nvmem_meson_efuse.
157ad855eaeSCarlo Caione
1588caef1faSMartin Blumenstinglconfig MESON_MX_EFUSE
1598caef1faSMartin Blumenstingl	tristate "Amlogic Meson6/Meson8/Meson8b eFuse Support"
1608caef1faSMartin Blumenstingl	depends on ARCH_MESON || COMPILE_TEST
1618caef1faSMartin Blumenstingl	help
1628caef1faSMartin Blumenstingl	  This is a driver to retrieve specific values from the eFuse found on
1638caef1faSMartin Blumenstingl	  the Amlogic Meson6, Meson8 and Meson8b SoCs.
1648caef1faSMartin Blumenstingl
1658caef1faSMartin Blumenstingl	  This driver can also be built as a module. If so, the module
1668caef1faSMartin Blumenstingl	  will be called nvmem_meson_mx_efuse.
1678caef1faSMartin Blumenstingl
168988437aeSOleksij Rempelconfig NVMEM_SNVS_LPGPR
169988437aeSOleksij Rempel	tristate "Support for Low Power General Purpose Register"
17080b820caSAndrey Yurovsky	depends on SOC_IMX6 || SOC_IMX7D || COMPILE_TEST
171988437aeSOleksij Rempel	help
172988437aeSOleksij Rempel	  This is a driver for Low Power General Purpose Register (LPGPR) available on
17380b820caSAndrey Yurovsky	  i.MX6 and i.MX7 SoCs in Secure Non-Volatile Storage (SNVS) of this chip.
174988437aeSOleksij Rempel
175988437aeSOleksij Rempel	  This driver can also be built as a module. If so, the module
176988437aeSOleksij Rempel	  will be called nvmem-snvs-lpgpr.
177988437aeSOleksij Rempel
1783b51f47bSAndrey Smirnovconfig RAVE_SP_EEPROM
1793b51f47bSAndrey Smirnov	tristate "Rave SP EEPROM Support"
1803b51f47bSAndrey Smirnov	depends on RAVE_SP_CORE
1813b51f47bSAndrey Smirnov	help
1823b51f47bSAndrey Smirnov	  Say y here to enable Rave SP EEPROM support.
1833b51f47bSAndrey Smirnov
184*19c54468SFreeman Liuconfig SC27XX_EFUSE
185*19c54468SFreeman Liu	tristate "Spreadtrum SC27XX eFuse Support"
186*19c54468SFreeman Liu	depends on MFD_SC27XX_PMIC || COMPILE_TEST
187*19c54468SFreeman Liu	depends on HAS_IOMEM
188*19c54468SFreeman Liu	help
189*19c54468SFreeman Liu	  This is a simple driver to dump specified values of Spreadtrum
190*19c54468SFreeman Liu	  SC27XX PMICs from eFuse.
191*19c54468SFreeman Liu
192*19c54468SFreeman Liu	  This driver can also be built as a module. If so, the module
193*19c54468SFreeman Liu	  will be called nvmem-sc27xx-efuse.
194*19c54468SFreeman Liu
1954ab11996SSrinivas Kandagatlaendif
196