aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-08-09 16:40:31 +0200
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2019-08-12 09:10:00 +0200
commitf2ee73147a3f23cc4b032a76b5677b4b8441ba74 (patch)
treefed2b7a63e72e2f7e4b133b0814a2140563a1112 /arch/arm
parentgpio: pca953x: Drop %s for constant string literals (diff)
downloadlinux-dev-f2ee73147a3f23cc4b032a76b5677b4b8441ba74.tar.xz
linux-dev-f2ee73147a3f23cc4b032a76b5677b4b8441ba74.zip
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. Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com> Tested-by: Sylvain Lemieux <slemieux.tyco@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/configs/lpc32xx_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/configs/lpc32xx_defconfig b/arch/arm/configs/lpc32xx_defconfig
index 0cdc6c7974b3..3772d5a8975a 100644
--- a/arch/arm/configs/lpc32xx_defconfig
+++ b/arch/arm/configs/lpc32xx_defconfig
@@ -93,6 +93,7 @@ CONFIG_SERIAL_HS_LPC32XX_CONSOLE=y
# CONFIG_HW_RANDOM is not set
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_PNX=y
+CONFIG_GPIO_LPC32XX=y
CONFIG_SPI=y
CONFIG_SPI_PL022=y
CONFIG_GPIO_SYSFS=y