CONFIG_NVMEM NVMEM Support
Support for NVMEM(Non Volatile Memory) devices like EEPROM, EFUSES...
This framework is designed to provide a generic interface to NVMEM from both the Linux Kernel and the userspace.
If unsure, say no.
- Implies
NVMEM_LAYOUTS
If NVMEM
CONFIG_NVMEM_SYSFS /sys/bus/nvmem/devices/*/nvmem (sysfs interface)
Say Y here to add a sysfs interface for NVMEM.
This interface is mostly used by userspace applications to read/write directly into nvmem.
If NVMEM_SYSFS
- Depends on
NVMEM && NVMEM_SYSFS
CONFIG_EEPROM_AT24 I2C EEPROMs / RAMs / ROMs from most vendors
- Off
- Module
- Built in
Enable this driver to get read/write support to most I2C EEPROMs and compatible devices like FRAMs, SRAMs, ROMs etc. After you configure the driver to know about each chip on your target board. Use these generic chip names, instead of vendor-specific ones like at24c64, 24lc02 or fm24c04:
24c00, 24c01, 24c02, spd (readonly 24c02), 24c04, 24c08, 24c16, 24c32, 24c64, 24c128, 24c256, 24c512, 24c1024, 24c2048
Unless you like data loss puzzles, always be sure that any chip you configure as a 24c32 (32 kbit) or larger is NOT really a 24c16 (16 kbit) or smaller, and vice versa. Marking the chip as read-only won't help recover from this. Also, if your chip has any software write-protect mechanism you may want to review the code to make sure this driver won't turn it on by accident.
If you use this with an SMBus adapter instead of an I2C adapter, full functionality is not available. Only smaller devices are supported (24c16 and below, max 4 kByte).
This driver can also be built as a module. If so, the module will be called at24.
- Depends on
NVMEM && NVMEM_SYSFS && I2C && SYSFS - Selects
REGMAP if NVMEM && NVMEM_SYSFS && I2C && SYSFS - Selects
REGMAP_I2C if NVMEM && NVMEM_SYSFS && I2C && SYSFS
CONFIG_EEPROM_AT25 SPI EEPROMs (FRAMs) from most vendors
- Off
- Module
- Built in
Enable this driver to get read/write support to most SPI EEPROMs and Cypress FRAMs, after you configure the board init code to know about each eeprom on your target board.
This driver can also be built as a module. If so, the module will be called at25.
- Depends on
NVMEM && NVMEM_SYSFS && SPI && SYSFS - Selects
SPI_MEM if NVMEM && NVMEM_SYSFS && SPI && SYSFS
CONFIG_EEPROM_93XX46 Microwire EEPROM 93XX46 support
- Off
- Module
- Built in
Driver for the microwire EEPROM chipsets 93xx46x. The driver supports both read and write commands and also the command to erase the whole EEPROM.
This driver can also be built as a module. If so, the module will be called eeprom_93xx46.
If unsure, say N.
- Depends on
NVMEM && NVMEM_SYSFS && SPI && SYSFS - Selects
REGMAP if NVMEM && NVMEM_SYSFS && SPI && SYSFS
CONFIG_EEPROM_EE1004 SPD EEPROMs on DDR4 memory modules
- Off
- Module
- Built in
Enable this driver to get read support to SPD EEPROMs following the JEDEC EE1004 standard. These are typically found on DDR4 SDRAM memory modules.
This driver can also be built as a module. If so, the module will be called ee1004.
- Depends on
NVMEM && NVMEM_SYSFS && I2C && SYSFS
CONFIG_EEPROM_M24LR STMicroelectronics M24LR RFID/NFC EEPROM support
- Off
- Module
- Built in
This enables support for STMicroelectronics M24LR RFID/NFC EEPROM chips. These dual-interface devices expose two I2C addresses: one for EEPROM memory access and another for control and system configuration (e.g. UID, password handling).
This driver provides a sysfs interface for control functions and integrates with the nvmem subsystem for EEPROM access.
To compile this driver as a module, choose M here: the module will be called m24lr.
- Depends on
NVMEM && NVMEM_SYSFS && I2C && SYSFS - Selects
REGMAP_I2C if NVMEM && NVMEM_SYSFS && I2C && SYSFS
CONFIG_NVMEM_AIROHA_SMC_EFUSES Airoha SMC eFuse support
- Off
- Module
- Built in
Say y here to enable support for reading eFuses on Airoha AN7581 SoCs. These are e.g. used to store factory programmed calibration data required for the PCIe or the USB-C PHY or Thermal.
This driver can also be built as a module. If so, the module will be called nvmem-airoha-smc-efuses.
- Depends on
NVMEM && ARM64 && ( || COMPILE_TEST) && HAVE_ARM_SMCCC
CONFIG_NVMEM_AN8855_EFUSE Airoha AN8855 eFuse support
- Off
- Module
- Built in
Say y here to enable support for reading eFuses on Airoha AN8855 Switch. These are e.g. used to store factory programmed calibration data required for the PHY.
This driver can also be built as a module. If so, the module will be called nvmem-an8855-efuse.
- Depends on
NVMEM && COMPILE_TEST
CONFIG_NVMEM_APPLE_EFUSES Apple eFuse support
- Off
- Module
- Built in
Say y here to enable support for reading eFuses on Apple SoCs such as the M1. These are e.g. used to store factory programmed calibration data required for the PCIe or the USB-C PHY.
This driver can also be built as a module. If so, the module will be called nvmem-apple-efuses.
- Depends on
NVMEM && (ARCH_APPLE || COMPILE_TEST)
CONFIG_NVMEM_APPLE_SPMI Apple SPMI NVMEM
- Off
- Module
- Built in
Say y here to build a driver to expose NVMEM cells for a set of power and RTC-related settings on a SPMI-attached PMIC present on Apple devices, such as Apple Silicon Macs.
This driver can also be built as a module. If so, the module will be called apple-nvmem-spmi.
- Depends on
NVMEM && (ARCH_APPLE || COMPILE_TEST) && SPMI - Selects
REGMAP_SPMI if NVMEM && (ARCH_APPLE || COMPILE_TEST) && SPMI
CONFIG_NVMEM_BCM_OCOTP Broadcom On-Chip OTP Controller support
- Off
- Module
- Built in
Say y here to enable read/write access to the Broadcom OTP controller.
This driver can also be built as a module. If so, the module will be called nvmem-bcm-ocotp.
- Depends on
NVMEM && ( || COMPILE_TEST) && HAS_IOMEM
CONFIG_NVMEM_BRCM_NVRAM Broadcom's NVRAM support
- Off
- Module
- Built in
This driver provides support for Broadcom's NVRAM that can be accessed using I/O mapping.
- Depends on
NVMEM && (ARCH_BCM_5301X || COMPILE_TEST) && HAS_IOMEM - Selects
GENERIC_NET_UTILS if NVMEM && (ARCH_BCM_5301X || COMPILE_TEST) && HAS_IOMEM
CONFIG_NVMEM_IMX_IIM i.MX IC Identification Module support
- Off
- Module
- Built in
This is a driver for the IC Identification Module (IIM) available on i.MX SoCs, providing access to 4 Kbits of programmable eFuses.
This driver can also be built as a module. If so, the module will be called nvmem-imx-iim.
- Depends on
NVMEM && ( || COMPILE_TEST)
CONFIG_NVMEM_IMX_OCOTP i.MX 6/7/8 On-Chip OTP Controller support
- Off
- Module
- Built in
This is a driver for the On-Chip OTP Controller (OCOTP) available on i.MX6 SoCs, providing access to 4 Kbits of one-time programmable eFuses.
This driver can also be built as a module. If so, the module will be called nvmem-imx-ocotp.
- Depends on
NVMEM && ( || COMPILE_TEST) && HAS_IOMEM
CONFIG_NVMEM_IMX_OCOTP_ELE i.MX On-Chip OTP Controller support
- Off
- Module
- Built in
This is a driver for the On-Chip OTP Controller (OCOTP) available on i.MX SoCs which has ELE.
- Depends on
NVMEM && ( || COMPILE_TEST) && HAS_IOMEM && OF
CONFIG_NVMEM_IMX_OCOTP_SCU i.MX8 SCU On-Chip OTP Controller support
- Off
- Module
- Built in
This is a driver for the SCU On-Chip OTP Controller (OCOTP) available on i.MX8 SoCs.
- Depends on
NVMEM && IMX_SCU && HAVE_ARM_SMCCC
CONFIG_NVMEM_JZ4780_EFUSE JZ4780 EFUSE Memory Support
- Off
- Module
- Built in
Say Y here to include support for JZ4780 efuse memory found on all JZ4780 SoC based devices. To compile this driver as a module, choose M here: the module will be called nvmem_jz4780_efuse.
- Depends on
NVMEM && (MACH_INGENIC || COMPILE_TEST) && HAS_IOMEM && OF - Selects
REGMAP_MMIO if NVMEM && (MACH_INGENIC || COMPILE_TEST) && HAS_IOMEM && OF
CONFIG_NVMEM_LAN9662_OTPC Microchip LAN9662 OTP controller support
- Off
- Module
- Built in
This driver enables the OTP controller available on Microchip LAN9662 SoCs. It controls the access to the OTP memory connected to it.
- Depends on
NVMEM && (SOC_LAN966 || ARCH_LAN969X || COMPILE_TEST) && HAS_IOMEM
CONFIG_NVMEM_LAYERSCAPE_SFP Layerscape SFP (Security Fuse Processor) support
- Off
- Module
- Built in
This driver provides support to read the eFuses on Freescale Layerscape SoC's. For example, the vendor provides a per part unique ID there.
This driver can also be built as a module. If so, the module will be called layerscape-sfp.
- Depends on
NVMEM && (ARCH_LAYERSCAPE || COMPILE_TEST) && HAS_IOMEM - Selects
REGMAP_MMIO if NVMEM && (ARCH_LAYERSCAPE || COMPILE_TEST) && HAS_IOMEM
CONFIG_NVMEM_LPC18XX_EEPROM NXP LPC18XX EEPROM Memory Support
- Off
- Module
- Built in
Say Y here to include support for NXP LPC18xx EEPROM memory found in NXP LPC185x/3x and LPC435x/3x/2x/1x devices. To compile this driver as a module, choose M here: the module will be called nvmem_lpc18xx_eeprom.
- Depends on
NVMEM && (ARCH_LPC18XX || COMPILE_TEST) && HAS_IOMEM
CONFIG_NVMEM_LPC18XX_OTP NXP LPC18XX OTP Memory Support
- Off
- Module
- Built in
Say Y here to include support for NXP LPC18xx OTP memory found on all LPC18xx and LPC43xx devices. To compile this driver as a module, choose M here: the module will be called nvmem_lpc18xx_otp.
- Depends on
NVMEM && (ARCH_LPC18XX || COMPILE_TEST) && HAS_IOMEM
CONFIG_NVMEM_MAX77759 Maxim Integrated MAX77759 NVMEM Support
- Off
- Module
- Built in
Say Y here to include support for the user-accessible storage found in Maxim Integrated MAX77759 PMICs. This IC provides space for 30 bytes of storage.
This driver can also be built as a module. If so, the module will be called nvmem-max77759.
- Depends on
NVMEM && MFD_MAX77759
CONFIG_NVMEM_MESON_EFUSE Amlogic Meson GX eFuse Support
- Off
- Module
- Built in
This is a driver to retrieve specific values from the eFuse found on the Amlogic Meson GX SoCs.
This driver can also be built as a module. If so, the module will be called nvmem_meson_efuse.
- Depends on
NVMEM && ( || COMPILE_TEST) && MESON_SM
CONFIG_NVMEM_MESON_MX_EFUSE Amlogic Meson6/Meson8/Meson8b eFuse Support
- Off
- Module
- Built in
This is a driver to retrieve specific values from the eFuse found on the Amlogic Meson6, Meson8 and Meson8b SoCs.
This driver can also be built as a module. If so, the module will be called nvmem_meson_mx_efuse.
- Depends on
NVMEM && ( || COMPILE_TEST)
CONFIG_NVMEM_MICROCHIP_OTPC Microchip OTPC support
- Off
- Module
- Built in
This driver enable the OTP controller available on Microchip SAMA7G5 SoCs. It controls the access to the OTP memory connected to it.
- Depends on
NVMEM && (ARCH_AT91 || COMPILE_TEST)
CONFIG_NVMEM_MTK_EFUSE Mediatek SoCs EFUSE support
- Off
- Module
- Built in
This is a driver to access hardware related data like sensor calibration, HDMI impedance etc.
This driver can also be built as a module. If so, the module will be called efuse-mtk.
- Depends on
NVMEM && ( || COMPILE_TEST) && HAS_IOMEM
CONFIG_NVMEM_MT6323_EFUSE MediaTek MT6323 PMIC EFUSE support
- Off
- Module
- Built in
This is a driver to access hardware related data like sensor calibration, etc.
This driver can also be built as a module. If so, the module will be called efuse-mt6323.
- Depends on
NVMEM && ( || COMPILE_TEST) && MFD_MT6397
CONFIG_NVMEM_MXS_OCOTP Freescale MXS On-Chip OTP Memory Support
- Off
- Module
- Built in
If you say Y here, you will get readonly access to the One Time Programmable memory pages that are stored on the Freescale i.MX23/i.MX28 processor.
This driver can also be built as a module. If so, the module will be called nvmem-mxs-ocotp.
- Depends on
NVMEM && (ARCH_MXS || COMPILE_TEST) && HAS_IOMEM
CONFIG_NVMEM_NINTENDO_OTP Nintendo Wii and Wii U OTP Support
- Off
- Module
- Built in
This is a driver exposing the OTP of a Nintendo Wii or Wii U console.
This memory contains common and per-console keys, signatures and related data required to access peripherals.
This driver can also be built as a module. If so, the module will be called nvmem-nintendo-otp.
- Depends on
NVMEM && (WII || COMPILE_TEST)
CONFIG_NVMEM_S32G_OCOTP S32G SoC OCOTP support
- Off
- Module
- Built in
This is a driver for the 'OCOTP' peripheral available on S32G platforms.
If you say Y here, you will get support for the One Time Programmable memory pages.
CONFIG_NVMEM_QCOM_QFPROM Qualcomm QFPROM Support
- Off
- Module
- Built in
Say y here to enable QFPROM support. The QFPROM provides access functions for QFPROM data to rest of the drivers via nvmem interface.
This driver can also be built as a module. If so, the module will be called nvmem_qfprom.
- Depends on
NVMEM && ( || COMPILE_TEST) && HAS_IOMEM
CONFIG_NVMEM_QCOM_SEC_QFPROM Qualcomm SECURE QFPROM Support
- Off
- Module
- Built in
Say y here to enable secure QFPROM support. The secure QFPROM provides access functions for QFPROM data to rest of the drivers via nvmem interface.
This driver can also be built as a module. If so, the module will be called nvmem_sec_qfprom.
- Depends on
NVMEM && ( || COMPILE_TEST) && HAS_IOMEM && OF - Selects
QCOM_SCM if NVMEM && ( || COMPILE_TEST) && HAS_IOMEM && OF
CONFIG_NVMEM_QNAP_MCU_EEPROM QNAP MCU EEPROM Support
- Off
- Module
- Built in
Say y here to enable support for accessing the EEPROM attached to QNAP MCU devices. This EEPROM contains additional runtime device information, like MAC addresses for ethernet devices that do not contain their own mac storage.
- Depends on
NVMEM && MFD_QNAP_MCU
CONFIG_NVMEM_RAVE_SP_EEPROM Rave SP EEPROM Support
- Off
- Module
- Built in
Say y here to enable Rave SP EEPROM support.
- Depends on
NVMEM && RAVE_SP_CORE
CONFIG_NVMEM_RCAR_EFUSE Renesas R-Car Gen4 E-FUSE support
- Off
- Module
- Built in
Enable support for reading the fuses in the E-FUSE or OTP non-volatile memory block on Renesas R-Car Gen4 SoCs.
This driver can also be built as a module. If so, the module will be called nvmem-rcar-efuse.
- Depends on
NVMEM && ( && ARM64 || COMPILE_TEST)
CONFIG_NVMEM_RMEM Reserved Memory Based Driver Support
- Off
- Module
- Built in
This driver maps reserved memory into an nvmem device. It might be useful to expose information left by firmware in memory.
This driver can also be built as a module. If so, the module will be called nvmem-rmem.
CONFIG_NVMEM_ROCKCHIP_EFUSE Rockchip eFuse Support
- Off
- Module
- Built in
This is a simple driver to dump specified values of Rockchip SoC from eFuse, such as cpu-leakage.
This driver can also be built as a module. If so, the module will be called nvmem_rockchip_efuse.
- Depends on
NVMEM && ( || COMPILE_TEST) && HAS_IOMEM
CONFIG_NVMEM_ROCKCHIP_OTP Rockchip OTP controller support
- Off
- Module
- Built in
This is a simple driver to dump specified values of Rockchip SoC from OTP, such as cpu-leakage.
This driver can also be built as a module. If so, the module will be called nvmem_rockchip_otp.
- Depends on
NVMEM && ( || COMPILE_TEST) && HAS_IOMEM
CONFIG_NVMEM_SC27XX_EFUSE Spreadtrum SC27XX eFuse Support
- Off
- Module
- Built in
This is a simple driver to dump specified values of Spreadtrum SC27XX PMICs from eFuse.
This driver can also be built as a module. If so, the module will be called nvmem-sc27xx-efuse.
- Depends on
NVMEM && (MFD_SC27XX_PMIC || COMPILE_TEST) && HAS_IOMEM
CONFIG_NVMEM_SNVS_LPGPR Support for Low Power General Purpose Register
- Off
- Module
- Built in
This is a driver for Low Power General Purpose Register (LPGPR) available on i.MX6 and i.MX7 SoCs in Secure Non-Volatile Storage (SNVS) of this chip.
This driver can also be built as a module. If so, the module will be called nvmem-snvs-lpgpr.
- Depends on
NVMEM && ( || COMPILE_TEST)
CONFIG_NVMEM_SPMI_SDAM SPMI SDAM Support
- Off
- Module
- Built in
This driver supports the Shared Direct Access Memory Module on Qualcomm Technologies, Inc. PMICs. It provides the clients an interface to read/write to the SDAM module's shared memory.
- Depends on
NVMEM && SPMI - Selects
REGMAP_SPMI if NVMEM && SPMI
CONFIG_NVMEM_SPRD_EFUSE Spreadtrum SoC eFuse Support
- Off
- Module
- Built in
This is a simple driver to dump specified values of Spreadtrum SoCs from eFuse.
This driver can also be built as a module. If so, the module will be called nvmem-sprd-efuse.
- Depends on
NVMEM && (ARCH_SPRD || COMPILE_TEST) && HAS_IOMEM
CONFIG_NVMEM_STM32_BSEC_OPTEE_TA
Say y here to enable the accesses to STM32MP SoC OTPs by the OP-TEE trusted application STM32MP BSEC.
This library is a used by stm32-romem driver or included in the module called nvmem-stm32-romem.
CONFIG_NVMEM_STM32_ROMEM STMicroelectronics STM32 factory-programmed memory support
- Off
- Module
- Built in
Say y here to enable read-only access for STMicroelectronics STM32 factory-programmed memory area.
This driver can also be built as a module. If so, the module will be called nvmem-stm32-romem.
- Depends on
NVMEM && ( || COMPILE_TEST) && (OPTEE || !OPTEE)
CONFIG_NVMEM_SUNPLUS_OCOTP Sunplus SoC OTP support
- Off
- Module
- Built in
This is a driver for the On-chip OTP controller (OCOTP) available on Sunplus SoCs. It provides access to 128 bytes of one-time programmable eFuse.
This driver can also be built as a module. If so, the module will be called nvmem-sunplus-ocotp.
- Depends on
NVMEM && (SOC_SP7021 || COMPILE_TEST) && HAS_IOMEM
CONFIG_NVMEM_SUNXI_SID Allwinner SoCs SID support
- Off
- Module
- Built in
This is a driver for the 'security ID' available on various Allwinner devices.
This driver can also be built as a module. If so, the module will be called nvmem_sunxi_sid.
- Depends on
NVMEM &&
CONFIG_NVMEM_U_BOOT_ENV U-Boot environment variables support
- Off
- Module
- Built in
U-Boot stores its setup as environment variables. This driver adds support for verifying & exporting such data. It also exposes variables as NVMEM cells so they can be referenced by other drivers.
Currently this drivers works only with env variables on top of MTD.
If compiled as module it will be called nvmem_u-boot-env.
CONFIG_NVMEM_UNIPHIER_EFUSE UniPhier SoCs eFuse support
- Off
- Module
- Built in
This is a simple driver to dump specified values of UniPhier SoC from eFuse.
This driver can also be built as a module. If so, the module will be called nvmem-uniphier-efuse.
- Depends on
NVMEM && ( || ARCH_K3 || COMPILE_TEST) && HAS_IOMEM
CONFIG_NVMEM_VF610_OCOTP VF610 SoC OCOTP support
- Off
- Module
- Built in
This is a driver for the 'OCOTP' peripheral available on Vybrid devices like VF5xx and VF6xx.
This driver can also be build as a module. If so, the module will be called nvmem-vf610-ocotp.
- Depends on
NVMEM && (SOC_VF610 || COMPILE_TEST) && HAS_IOMEM
CONFIG_NVMEM_ZYNQMP Xilinx ZYNQMP SoC nvmem firmware support
- Off
- Module
- Built in
This is a driver to access hardware related data like soc revision, IDCODE... etc by using the firmware interface.
If sure, say yes. If unsure, say no.
- Depends on
NVMEM && ARCH_ZYNQMP
CONFIG_NVMEM_QORIQ_EFUSE NXP QorIQ eFuse support
- Off
- Module
- Built in
This driver provides read support for the eFuses (SFP) on NXP QorIQ series SoC's. This includes secure boot settings, the globally unique NXP ID 'FUIDR' and the OEM unique ID 'OUIDR'.
This driver can also be built as a module. If so, the module will be called nvmem_qoriq_efuse.
- Depends on
NVMEM && (PPC_85xx || COMPILE_TEST) && HAS_IOMEM