aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvmem/Kconfig
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2022-04-29 17:27:00 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-09 15:46:29 +0200
commit943eadbdb11314b41eacbcc484dfb7f93e271ff4 (patch)
tree3a00fe3950ce5c5ca3b409076630054329b8805d /drivers/nvmem/Kconfig
parentdt-bindings: nvmem: sfp: Add compatible binding for TA 2.1 SFPs (diff)
downloadlinux-dev-943eadbdb11314b41eacbcc484dfb7f93e271ff4.tar.xz
linux-dev-943eadbdb11314b41eacbcc484dfb7f93e271ff4.zip
nvmem: sfp: Use regmap
This converts the SFP driver to use regmap. This will allow easily supporting devices with different endians. We disallow byte-level access, as regmap_bulk_read doesn't support it (and it's unclear what the correct result would be when we have an endianness difference). Signed-off-by: Sean Anderson <sean.anderson@seco.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20220429162701.2222-16-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvmem/Kconfig')
-rw-r--r--drivers/nvmem/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig
index 6283e09cc1e9..967d0084800e 100644
--- a/drivers/nvmem/Kconfig
+++ b/drivers/nvmem/Kconfig
@@ -304,6 +304,7 @@ 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