diff options
author | William Breathitt Gray <william.gray@linaro.org> | 2022-07-20 09:46:00 -0400 |
---|---|---|
committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2022-07-20 17:44:40 +0200 |
commit | 71b7b3972590908fd724f4622cd908ad02464ad8 (patch) | |
tree | ea99d7fb8882ab9ae93e9297e38af32408d1a91d /drivers/gpio/Kconfig | |
parent | fb38af4a3a79c354771f335c671b144348d6d6fa (diff) | |
download | linux-71b7b3972590908fd724f4622cd908ad02464ad8.tar.bz2 |
gpio: 104-dio-48e: Implement and utilize register structures
Reduce magic numbers and improve code readability by implementing and
utilizing named register data structures. The 104-DIO-48E 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/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index df484b72000d..d070bd9f4f94 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -841,6 +841,7 @@ config GPIO_104_DIO_48E depends on PC104 select ISA_BUS_API select GPIOLIB_IRQCHIP + select GPIO_I8255 help Enables GPIO support for the ACCES 104-DIO-48E series (104-DIO-48E, 104-DIO-24E). The base port addresses for the devices may be |