summaryrefslogtreecommitdiff
path: root/drivers/nvmem/Kconfig
diff options
context:
space:
mode:
authorSven Peter <sven@svenpeter.dev>2022-04-29 17:26:50 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-09 15:44:21 +0200
commitb6b7ef932ae838209254f016ecf8862d716a5ced (patch)
treef3774b5d9a20a9f42ce246649de86dc369ad0295 /drivers/nvmem/Kconfig
parent7177042bdd1605b6c8d6b5c65a72f3e389690eaf (diff)
downloadlwn-b6b7ef932ae838209254f016ecf8862d716a5ced.tar.gz
lwn-b6b7ef932ae838209254f016ecf8862d716a5ced.zip
nvmem: Add Apple eFuse driver
Apple SoCs contain eFuses used to store factory-programmed data such as calibration values for the PCIe or the Type-C PHY. They are organized as 32bit values exposed as MMIO. Signed-off-by: Sven Peter <sven@svenpeter.dev> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20220429162701.2222-6-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvmem/Kconfig')
-rw-r--r--drivers/nvmem/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig
index 555aa77a574d..6283e09cc1e9 100644
--- a/drivers/nvmem/Kconfig
+++ b/drivers/nvmem/Kconfig
@@ -324,4 +324,16 @@ config NVMEM_SUNPLUS_OCOTP
This driver can also be built as a module. If so, the module
will be called nvmem-sunplus-ocotp.
+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.
+
endif