[PATCH 09/13 v2] net: ixp4xx_hss: Check features using syscon
Jakub Kicinski
kuba at kernel.org
Fri Feb 11 16:38:17 PST 2022
On Fri, 11 Feb 2022 23:32:34 +0100 Linus Walleij wrote:
> 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.
>
> Select the syscon in Kconfig and depend on OF so we know that
> all we need will be available.
>
> Cc: David S. Miller <davem at davemloft.net>
> Cc: Jakub Kicinski <kuba at kernel.org>
> Cc: netdev at vger.kernel.org
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> ---
> ChangeLog v1->v2:
> - No changes.
>
> Network maintainers: I'm looking for an ACK to take this
> change through ARM SoC along with other changes removing
> these accessor functions.
Acked-by: Jakub Kicinski <kuba at kernel.org>
More information about the linux-arm-kernel
mailing list