2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2015-07-27 11:13:19 +00:00
|
|
|
menuconfig NVMEM
|
2018-04-04 10:38:40 +00:00
|
|
|
bool "NVMEM Support"
|
nvmem: core: Rework layouts to become regular devices
Current layout support was initially written without modules support in
mind. When the requirement for module support rose, the existing base
was improved to adopt modularization support, but kind of a design flaw
was introduced. With the existing implementation, when a storage device
registers into NVMEM, the core tries to hook a layout (if any) and
populates its cells immediately. This means, if the hardware description
expects a layout to be hooked up, but no driver was provided for that,
the storage medium will fail to probe and try later from
scratch. Even if we consider that the hardware description shall be
correct, we could still probe the storage device (especially if it
contains the rootfs).
One way to overcome this situation is to consider the layouts as
devices, and leverage the native notifier mechanism. When a new NVMEM
device is registered, we can populate its nvmem-layout child, if any,
and wait for the matching to be done in order to get the cells (the
waiting can be easily done with the NVMEM notifiers). If the layout
driver is compiled as a module, it should automatically be loaded. This
way, there is no strong order to enforce, any NVMEM device creation
or NVMEM layout driver insertion will be observed as a new event which
may lead to the creation of additional cells, without disturbing the
probes with costly (and sometimes endless) deferrals.
In order to achieve that goal we create a new bus for the nvmem-layouts
with minimal logic to match nvmem-layout devices with nvmem-layout
drivers. All this infrastructure code is created in the layouts.c file.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Tested-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20231215111536.316972-7-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-12-15 11:15:32 +00:00
|
|
|
imply NVMEM_LAYOUTS
|
2015-07-27 11:13:19 +00:00
|
|
|
help
|
|
|
|
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.
|
2015-07-27 11:15:00 +00:00
|
|
|
|
|
|
|
if NVMEM
|
|
|
|
|
2019-04-16 09:59:24 +00:00
|
|
|
config NVMEM_SYSFS
|
|
|
|
bool "/sys/bus/nvmem/devices/*/nvmem (sysfs interface)"
|
|
|
|
depends on SYSFS
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Say Y here to add a sysfs interface for NVMEM.
|
|
|
|
|
|
|
|
This interface is mostly used by userspace applications to
|
|
|
|
read/write directly into nvmem.
|
|
|
|
|
2023-04-04 17:21:21 +00:00
|
|
|
# Layouts
|
|
|
|
|
|
|
|
source "drivers/nvmem/layouts/Kconfig"
|
|
|
|
|
2022-09-16 12:20:55 +00:00
|
|
|
# Devices
|
|
|
|
|
|
|
|
config NVMEM_APPLE_EFUSES
|
|
|
|
tristate "Apple eFuse support"
|
|
|
|
depends on ARCH_APPLE || COMPILE_TEST
|
|
|
|
default ARCH_APPLE
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
|
|
|
config NVMEM_BCM_OCOTP
|
|
|
|
tristate "Broadcom On-Chip OTP Controller support"
|
|
|
|
depends on ARCH_BCM_IPROC || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
default ARCH_BCM_IPROC
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
|
|
|
config NVMEM_BRCM_NVRAM
|
|
|
|
tristate "Broadcom's NVRAM support"
|
|
|
|
depends on ARCH_BCM_5301X || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
2023-06-11 14:03:08 +00:00
|
|
|
select GENERIC_NET_UTILS
|
2022-09-16 12:20:55 +00:00
|
|
|
help
|
|
|
|
This driver provides support for Broadcom's NVRAM that can be accessed
|
|
|
|
using I/O mapping.
|
|
|
|
|
2017-03-31 12:44:50 +00:00
|
|
|
config NVMEM_IMX_IIM
|
|
|
|
tristate "i.MX IC Identification Module support"
|
|
|
|
depends on ARCH_MXC || COMPILE_TEST
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2015-09-30 12:55:47 +00:00
|
|
|
config NVMEM_IMX_OCOTP
|
2019-04-13 10:32:48 +00:00
|
|
|
tristate "i.MX 6/7/8 On-Chip OTP Controller support"
|
|
|
|
depends on ARCH_MXC || COMPILE_TEST
|
2016-06-02 11:19:43 +00:00
|
|
|
depends on HAS_IOMEM
|
2015-09-30 12:55:47 +00:00
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2023-06-11 14:03:25 +00:00
|
|
|
config NVMEM_IMX_OCOTP_ELE
|
|
|
|
tristate "i.MX On-Chip OTP Controller support"
|
|
|
|
depends on ARCH_MXC || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
depends on OF
|
|
|
|
help
|
|
|
|
This is a driver for the On-Chip OTP Controller (OCOTP)
|
|
|
|
available on i.MX SoCs which has ELE.
|
|
|
|
|
2019-06-14 14:32:19 +00:00
|
|
|
config NVMEM_IMX_OCOTP_SCU
|
|
|
|
tristate "i.MX8 SCU On-Chip OTP Controller support"
|
|
|
|
depends on IMX_SCU
|
2019-10-29 11:42:38 +00:00
|
|
|
depends on HAVE_ARM_SMCCC
|
2019-06-14 14:32:19 +00:00
|
|
|
help
|
|
|
|
This is a driver for the SCU On-Chip OTP Controller (OCOTP)
|
|
|
|
available on i.MX8 SoCs.
|
|
|
|
|
2022-09-16 12:20:54 +00:00
|
|
|
config NVMEM_JZ4780_EFUSE
|
2020-03-10 13:22:55 +00:00
|
|
|
tristate "JZ4780 EFUSE Memory Support"
|
|
|
|
depends on MACH_INGENIC || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
depends on OF
|
|
|
|
select REGMAP_MMIO
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2022-09-16 12:20:59 +00:00
|
|
|
config NVMEM_LAN9662_OTPC
|
|
|
|
tristate "Microchip LAN9662 OTP controller support"
|
|
|
|
depends on SOC_LAN966 || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
help
|
|
|
|
This driver enables the OTP controller available on Microchip LAN9662
|
|
|
|
SoCs. It controls the access to the OTP memory connected to it.
|
|
|
|
|
2022-09-16 12:20:55 +00:00
|
|
|
config NVMEM_LAYERSCAPE_SFP
|
|
|
|
tristate "Layerscape SFP (Security Fuse Processor) support"
|
|
|
|
depends on ARCH_LAYERSCAPE || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
select REGMAP_MMIO
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2015-12-07 10:57:39 +00:00
|
|
|
config NVMEM_LPC18XX_EEPROM
|
|
|
|
tristate "NXP LPC18XX EEPROM Memory Support"
|
|
|
|
depends on ARCH_LPC18XX || COMPILE_TEST
|
2016-03-31 10:07:03 +00:00
|
|
|
depends on HAS_IOMEM
|
2015-12-07 10:57:39 +00:00
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2016-10-31 14:45:16 +00:00
|
|
|
config NVMEM_LPC18XX_OTP
|
|
|
|
tristate "NXP LPC18XX OTP Memory Support"
|
|
|
|
depends on ARCH_LPC18XX || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2022-09-16 12:20:55 +00:00
|
|
|
config NVMEM_MESON_EFUSE
|
|
|
|
tristate "Amlogic Meson GX eFuse Support"
|
|
|
|
depends on (ARCH_MESON || COMPILE_TEST) && MESON_SM
|
2015-09-30 12:56:27 +00:00
|
|
|
help
|
2022-09-16 12:20:55 +00:00
|
|
|
This is a driver to retrieve specific values from the eFuse found on
|
|
|
|
the Amlogic Meson GX SoCs.
|
2015-09-30 12:56:27 +00:00
|
|
|
|
|
|
|
This driver can also be built as a module. If so, the module
|
2022-09-16 12:20:55 +00:00
|
|
|
will be called nvmem_meson_efuse.
|
|
|
|
|
|
|
|
config NVMEM_MESON_MX_EFUSE
|
|
|
|
tristate "Amlogic Meson6/Meson8/Meson8b eFuse Support"
|
|
|
|
depends on ARCH_MESON || COMPILE_TEST
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
|
|
|
config NVMEM_MICROCHIP_OTPC
|
|
|
|
tristate "Microchip OTPC support"
|
|
|
|
depends on ARCH_AT91 || COMPILE_TEST
|
|
|
|
help
|
|
|
|
This driver enable the OTP controller available on Microchip SAMA7G5
|
2022-11-18 06:39:26 +00:00
|
|
|
SoCs. It controls the access to the OTP memory connected to it.
|
2015-09-30 12:56:27 +00:00
|
|
|
|
2022-09-16 12:20:54 +00:00
|
|
|
config NVMEM_MTK_EFUSE
|
2015-12-07 10:58:11 +00:00
|
|
|
tristate "Mediatek SoCs EFUSE support"
|
|
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
2016-03-31 10:07:03 +00:00
|
|
|
depends on HAS_IOMEM
|
2015-12-07 10:58:11 +00:00
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2022-09-16 12:20:55 +00:00
|
|
|
config NVMEM_MXS_OCOTP
|
|
|
|
tristate "Freescale MXS On-Chip OTP Memory Support"
|
|
|
|
depends on ARCH_MXS || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
2022-07-06 10:06:22 +00:00
|
|
|
help
|
2022-09-16 12:20:55 +00:00
|
|
|
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.
|
2022-07-06 10:06:22 +00:00
|
|
|
|
2021-08-10 15:30:36 +00:00
|
|
|
config NVMEM_NINTENDO_OTP
|
|
|
|
tristate "Nintendo Wii and Wii U OTP Support"
|
2021-09-14 09:29:49 +00:00
|
|
|
depends on WII || COMPILE_TEST
|
2021-08-10 15:30:36 +00:00
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2022-09-16 12:20:54 +00:00
|
|
|
config NVMEM_QCOM_QFPROM
|
2015-07-27 11:15:00 +00:00
|
|
|
tristate "QCOM QFPROM Support"
|
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
2016-02-22 11:23:44 +00:00
|
|
|
depends on HAS_IOMEM
|
2015-07-27 11:15:00 +00:00
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2023-08-23 13:27:39 +00:00
|
|
|
config NVMEM_QCOM_SEC_QFPROM
|
|
|
|
tristate "QCOM SECURE QFPROM Support"
|
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
depends on OF
|
|
|
|
select QCOM_SCM
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2022-09-16 12:20:55 +00:00
|
|
|
config NVMEM_RAVE_SP_EEPROM
|
|
|
|
tristate "Rave SP EEPROM Support"
|
|
|
|
depends on RAVE_SP_CORE
|
2020-01-16 16:11:00 +00:00
|
|
|
help
|
2022-09-16 12:20:55 +00:00
|
|
|
Say y here to enable Rave SP EEPROM support.
|
|
|
|
|
2024-10-30 14:03:10 +00:00
|
|
|
config NVMEM_RCAR_EFUSE
|
|
|
|
tristate "Renesas R-Car Gen4 E-FUSE support"
|
|
|
|
depends on (ARCH_RENESAS && ARM64) || COMPILE_TEST
|
|
|
|
depends on NVMEM
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2022-09-16 12:20:55 +00:00
|
|
|
config NVMEM_RMEM
|
|
|
|
tristate "Reserved Memory Based Driver Support"
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
help
|
|
|
|
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.
|
2020-01-16 16:11:00 +00:00
|
|
|
|
2022-09-16 12:20:54 +00:00
|
|
|
config NVMEM_ROCKCHIP_EFUSE
|
2015-09-30 12:56:44 +00:00
|
|
|
tristate "Rockchip eFuse Support"
|
|
|
|
depends on ARCH_ROCKCHIP || COMPILE_TEST
|
2016-02-22 11:23:44 +00:00
|
|
|
depends on HAS_IOMEM
|
2015-09-30 12:56:44 +00:00
|
|
|
help
|
2023-08-23 13:27:36 +00:00
|
|
|
This is a simple driver to dump specified values of Rockchip SoC
|
2015-09-30 12:56:44 +00:00
|
|
|
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.
|
|
|
|
|
2022-09-16 12:20:54 +00:00
|
|
|
config NVMEM_ROCKCHIP_OTP
|
2019-10-29 11:42:40 +00:00
|
|
|
tristate "Rockchip OTP controller support"
|
|
|
|
depends on ARCH_ROCKCHIP || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
help
|
2023-08-23 13:27:36 +00:00
|
|
|
This is a simple driver to dump specified values of Rockchip SoC
|
|
|
|
from OTP, such as cpu-leakage.
|
2019-10-29 11:42:40 +00:00
|
|
|
|
|
|
|
This driver can also be built as a module. If so, the module
|
|
|
|
will be called nvmem_rockchip_otp.
|
|
|
|
|
2022-09-16 12:20:55 +00:00
|
|
|
config NVMEM_SC27XX_EFUSE
|
|
|
|
tristate "Spreadtrum SC27XX eFuse Support"
|
|
|
|
depends on MFD_SC27XX_PMIC || COMPILE_TEST
|
2016-02-22 11:23:44 +00:00
|
|
|
depends on HAS_IOMEM
|
2015-09-30 12:54:59 +00:00
|
|
|
help
|
2022-09-16 12:20:55 +00:00
|
|
|
This is a simple driver to dump specified values of Spreadtrum
|
|
|
|
SC27XX PMICs from eFuse.
|
2017-10-09 13:26:41 +00:00
|
|
|
|
|
|
|
This driver can also be built as a module. If so, the module
|
2022-09-16 12:20:55 +00:00
|
|
|
will be called nvmem-sc27xx-efuse.
|
2017-10-09 13:26:41 +00:00
|
|
|
|
2017-09-17 10:33:43 +00:00
|
|
|
config NVMEM_SNVS_LPGPR
|
|
|
|
tristate "Support for Low Power General Purpose Register"
|
2019-06-14 14:32:20 +00:00
|
|
|
depends on ARCH_MXC || COMPILE_TEST
|
2017-09-17 10:33:43 +00:00
|
|
|
help
|
|
|
|
This is a driver for Low Power General Purpose Register (LPGPR) available on
|
2018-03-09 14:47:16 +00:00
|
|
|
i.MX6 and i.MX7 SoCs in Secure Non-Volatile Storage (SNVS) of this chip.
|
2017-09-17 10:33:43 +00:00
|
|
|
|
|
|
|
This driver can also be built as a module. If so, the module
|
|
|
|
will be called nvmem-snvs-lpgpr.
|
|
|
|
|
2022-09-16 12:20:55 +00:00
|
|
|
config NVMEM_SPMI_SDAM
|
|
|
|
tristate "SPMI SDAM Support"
|
|
|
|
depends on SPMI
|
2019-02-06 11:07:21 +00:00
|
|
|
help
|
2022-09-16 12:20:55 +00:00
|
|
|
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.
|
2019-02-06 11:07:21 +00:00
|
|
|
|
2022-09-16 12:20:54 +00:00
|
|
|
config NVMEM_SPRD_EFUSE
|
2019-10-29 11:42:37 +00:00
|
|
|
tristate "Spreadtrum SoC eFuse Support"
|
|
|
|
depends on ARCH_SPRD || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2023-02-06 13:43:51 +00:00
|
|
|
config NVMEM_STM32_BSEC_OPTEE_TA
|
2023-02-06 13:43:56 +00:00
|
|
|
def_bool NVMEM_STM32_ROMEM && OPTEE
|
2023-02-06 13:43:51 +00:00
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2022-09-16 12:20:55 +00:00
|
|
|
config NVMEM_STM32_ROMEM
|
|
|
|
tristate "STMicroelectronics STM32 factory-programmed memory support"
|
|
|
|
depends on ARCH_STM32 || COMPILE_TEST
|
2023-02-06 13:43:56 +00:00
|
|
|
depends on OPTEE || !OPTEE
|
2022-02-20 15:15:23 +00:00
|
|
|
help
|
2022-09-16 12:20:55 +00:00
|
|
|
Say y here to enable read-only access for STMicroelectronics STM32
|
|
|
|
factory-programmed memory area.
|
2022-02-20 15:15:23 +00:00
|
|
|
|
|
|
|
This driver can also be built as a module. If so, the module
|
2022-09-16 12:20:55 +00:00
|
|
|
will be called nvmem-stm32-romem.
|
2022-02-20 15:15:23 +00:00
|
|
|
|
2022-02-23 22:35:01 +00:00
|
|
|
config NVMEM_SUNPLUS_OCOTP
|
|
|
|
tristate "Sunplus SoC OTP support"
|
|
|
|
depends on SOC_SP7021 || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2022-09-16 12:20:55 +00:00
|
|
|
config NVMEM_SUNXI_SID
|
|
|
|
tristate "Allwinner SoCs SID support"
|
|
|
|
depends on ARCH_SUNXI
|
2022-04-29 16:26:50 +00:00
|
|
|
help
|
2022-09-16 12:20:55 +00:00
|
|
|
This is a driver for the 'security ID' available on various Allwinner
|
|
|
|
devices.
|
2022-04-29 16:26:50 +00:00
|
|
|
|
2022-09-16 12:20:55 +00:00
|
|
|
This driver can also be built as a module. If so, the module
|
|
|
|
will be called nvmem_sunxi_sid.
|
2022-04-29 16:26:50 +00:00
|
|
|
|
2022-09-16 12:20:48 +00:00
|
|
|
config NVMEM_U_BOOT_ENV
|
|
|
|
tristate "U-Boot environment variables support"
|
|
|
|
depends on OF && MTD
|
2024-09-02 14:29:47 +00:00
|
|
|
select NVMEM_LAYOUT_U_BOOT_ENV
|
2022-09-16 12:20:48 +00:00
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2022-09-16 12:20:55 +00:00
|
|
|
config NVMEM_UNIPHIER_EFUSE
|
|
|
|
tristate "UniPhier SoCs eFuse support"
|
|
|
|
depends on ARCH_UNIPHIER || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
|
|
|
config NVMEM_VF610_OCOTP
|
|
|
|
tristate "VF610 SoC OCOTP support"
|
|
|
|
depends on SOC_VF610 || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
|
|
|
config NVMEM_ZYNQMP
|
2023-04-04 17:21:11 +00:00
|
|
|
tristate "Xilinx ZYNQMP SoC nvmem firmware support"
|
2022-09-16 12:20:55 +00:00
|
|
|
depends on ARCH_ZYNQMP
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2023-08-23 13:27:34 +00:00
|
|
|
config NVMEM_QORIQ_EFUSE
|
|
|
|
tristate "NXP QorIQ eFuse support"
|
|
|
|
depends on PPC_85xx || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2015-07-27 11:15:00 +00:00
|
|
|
endif
|