]> git.baikalelectronics.ru Git - kernel.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)
commit6b4e832b917ac6c900edaee08702ba36797d4893
tree397eb85bdccefa37098499ca04cd3a251ab382e9
parent09af604713e74620a56ae83b4ba549739e3b1b93
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