summaryrefslogtreecommitdiff
path: root/drivers/soc/ixp4xx/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2022-02-12 01:32:32 +0300
committerLinus Walleij <linus.walleij@linaro.org>2022-02-12 20:20:03 +0300
commit8754a7e61c766fbc533c627b56ff181550dca00e (patch)
tree31bc3db80947e0531c7beb7bb9227e2910ca3e9b /drivers/soc/ixp4xx/Kconfig
parentb50113cbdd1340c31e85e4cfc5f5e81ce9cbb2aa (diff)
downloadlinux-8754a7e61c766fbc533c627b56ff181550dca00e.tar.xz
soc: ixp4xx-npe: Access syscon regs using regmap
If we access the syscon (expansion bus config registers) using the syscon regmap instead of relying on direct accessor functions, we do not need to call this static code in the machine (arch/arm/mach-ixp4xx/common.c) which makes things less dependent on custom machine-dependent code. Look up the syscon regmap and handle the error: this will make deferred probe work with relation to the syscon. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20220211223238.648934-8-linus.walleij@linaro.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/soc/ixp4xx/Kconfig')
-rw-r--r--drivers/soc/ixp4xx/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/ixp4xx/Kconfig b/drivers/soc/ixp4xx/Kconfig
index e3eb19b85fa4..c55f0c9ae513 100644
--- a/drivers/soc/ixp4xx/Kconfig
+++ b/drivers/soc/ixp4xx/Kconfig
@@ -12,6 +12,7 @@ config IXP4XX_QMGR
config IXP4XX_NPE
tristate "IXP4xx Network Processor Engine support"
select FW_LOADER
+ select MFD_SYSCON
help
This driver supports IXP4xx built-in network coprocessors
and is automatically selected by Ethernet and HSS drivers.