diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-08-09 17:40:31 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2019-08-15 22:33:07 +0300 |
commit | d88ce24a0f3b30aba39e2a8966381fdfa9191106 (patch) | |
tree | fc9de1ae11402062efcd8f86eae12fac9c8d0890 /drivers/gpio/Kconfig | |
parent | 5711e41b682ed4fc9b0803dc27722b1d8723a78a (diff) | |
download | linux-d88ce24a0f3b30aba39e2a8966381fdfa9191106.tar.xz |
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>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index bb13c266c329..8b40a578963c 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -311,6 +311,13 @@ config GPIO_LPC18XX Select this option to enable GPIO driver for NXP LPC18XX/43XX devices. +config GPIO_LPC32XX + tristate "NXP LPC32XX GPIO support" + depends on OF_GPIO && (ARCH_LPC32XX || COMPILE_TEST) + help + Select this option to enable GPIO driver for + NXP LPC32XX devices. + config GPIO_LYNXPOINT tristate "Intel Lynxpoint GPIO support" depends on ACPI && X86 |