gpio: i8255: Introduce the Intel 8255 interface library module
authorWilliam Breathitt Gray <william.gray@linaro.org>
Wed, 20 Jul 2022 13:45:59 +0000 (09:45 -0400)
committerBartosz Golaszewski <brgl@bgdev.pl>
Wed, 20 Jul 2022 15:44:36 +0000 (17:44 +0200)
commitfb38af4a3a79c354771f335c671b144348d6d6fa
treef8c1c06bd9b592d7ee4bf4701db9931ed040bd3c
parentcc442e4db9cb851f18cd3ea0c933e016b29fafc3
gpio: i8255: Introduce the Intel 8255 interface library module

Exposes consumer library functions providing support for interfaces
compatible with the venerable Intel 8255 Programmable Peripheral
Interface (PPI).

The Intel 8255 PPI first appeared in the early 1970s, initially for the
Intel 8080 and later appearing in the original IBM-PC. The popularity of
the original Intel 8255 chip led to many subsequent variants and clones
of the interface in various chips and integrated circuits. Although
still popular, interfaces compatible with the Intel 8255 PPI are
nowdays typically found embedded in larger VLSI processing chips and
FPGA components rather than as discrete ICs.

A CONFIG_GPIO_I8255 Kconfig option is introduced by this patch. Modules
wanting access to these i8255 library functions should select this
Kconfig option, and import the I8255 symbol namespace.

Tested-by: Fred Eckert <Frede@cmslaser.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Cc: John Hentges <jhentges@accesio.com>
Cc: Jay Dolan <jay.dolan@accesio.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
MAINTAINERS
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-i8255.c [new file with mode: 0644]
drivers/gpio/gpio-i8255.h [new file with mode: 0644]