]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc: ixp4xx: npe: Pass addresses as resources
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 10 Feb 2019 18:35:08 +0000 (19:35 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 23 Apr 2019 14:02:15 +0000 (16:02 +0200)
commit0b458d7b10f83eb34b84957e6cf47cee2a97bc49
tree397eb85bdccefa37098499ca04cd3a251ab382e9
parent81bca32fcc75ededc51274d11f593a22a027236c
soc: ixp4xx: npe: Pass addresses as resources

Instead of using hardcoded base addresses implicitly
obtained through <linux/io.h>, pass the physical base
for the three NPE blocks as memory resources and remap
these in the driver.

Drop the memory request region business, this will
anyways be done by devm_* remapping functions.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ixp4xx/common.c
arch/arm/mach-ixp4xx/include/mach/ixp4xx-regs.h
drivers/soc/ixp4xx/ixp4xx-npe.c
include/linux/soc/ixp4xx/npe.h