gpio-f7188x: Add GPIO support for Nuvoton NCT6116
authorHenning Schild <henning.schild@siemens.com>
Thu, 25 Aug 2022 10:44:18 +0000 (12:44 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 1 Sep 2022 14:14:27 +0000 (16:14 +0200)
commitd0918a84aff0ad5036f8bb2e375c851c07381940
treeb9e7de19ee2ce7e06ac773f23f298ac95c1c9ec3
parent470308d9d2e0fc4367870e58ccd5f2e182c71d92
gpio-f7188x: Add GPIO support for Nuvoton NCT6116

Add GPIO support for Nuvoton NCT6116 chip. Nuvoton SuperIO chips are
very similar to the ones from Fintek. In other subsystems they also
share drivers and are called a family of drivers.

For the GPIO subsystem the only difference is that the direction bit is
reversed and that there is only one data bit per pin. On the SuperIO
level the logical device is another one.

On a chip level we do not have a manufacturer ID to check and also no
revision.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Simon Guinot <simon.guinot@sequanux.org>
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Acked-by: Bartosz Golaszewski <brgl@bgdev.pl>
Link: https://lore.kernel.org/r/20220825104422.14156-4-henning.schild@siemens.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/gpio/Kconfig
drivers/gpio/gpio-f7188x.c