gpio: lpc32xx: allow building on non-lpc32xx targets
authorArnd Bergmann <arnd@arndb.de>
Fri, 9 Aug 2019 14:40:31 +0000 (16:40 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 15 Aug 2019 19:33:07 +0000 (21:33 +0200)
commitd88ce24a0f3b30aba39e2a8966381fdfa9191106
treefc9de1ae11402062efcd8f86eae12fac9c8d0890
parent5711e41b682ed4fc9b0803dc27722b1d8723a78a
gpio: lpc32xx: allow building on non-lpc32xx targets

The driver uses hardwire MMIO addresses instead of the data
that is passed in device tree. Change it over to only
hardcode the register offset values and allow compile-testing.

Link: https://lore.kernel.org/r/20190809144043.476786-6-arnd@arndb.de
Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com>
Tested-by: Sylvain Lemieux <slemieux.tyco@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/configs/lpc32xx_defconfig
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-lpc32xx.c