summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <william.gray@linaro.org>2022-07-20 09:46:01 -0400
committerBartosz Golaszewski <brgl@bgdev.pl>2022-07-20 17:44:44 +0200
commit3ce632fdd13abd23686c29e81a924d47365b2eca (patch)
tree0f567a73cee63e475ba6bf2821001bde004fc34e /drivers/gpio/Kconfig
parent71b7b3972590908fd724f4622cd908ad02464ad8 (diff)
downloadlinux-3ce632fdd13abd23686c29e81a924d47365b2eca.tar.bz2
gpio: 104-idi-48: Implement and utilize register structures
Reduce magic numbers and improve code readability by implementing and utilizing named register data structures. The 104-IDI-48 device features an Intel 8255 compatible GPIO interface, so the i8255 GPIO module is selected and utilized as well. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Cc: John Hentges <jhentges@accesio.com> Cc: Jay Dolan <jay.dolan@accesio.com> Signed-off-by: William Breathitt Gray <william.gray@linaro.org> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index d070bd9f4f94..8f1d4d56f0aa 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -865,6 +865,7 @@ config GPIO_104_IDI_48
depends on PC104
select ISA_BUS_API
select GPIOLIB_IRQCHIP
+ select GPIO_I8255
help
Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A,
104-IDI-48AC, 104-IDI-48B, 104-IDI-48BC). The base port addresses for