changes since v1: - implement get_direction function - style changes requested in review This adds gpio support for several Super IO chips from Nuvoton. The driver was originally developed by Nuvoton and i am just contributing it on behalf, because other patches i will send later will require access to the gpios. The driver is valid on its own. The driver supports several chips, of which i only managed to test one but did not want to drop the others. I hope the original authors will help with the testing and addressing review feedback. The changes i did so far mainly are inspired by similar drivers and some just concern coding style. If more has to be done and the original authors do not jump in, we might start off with just that one chip i can test and add the others later on. Henning Schild (1): gpio: nct6116d: add new driver for several Nuvoton super io chips drivers/gpio/Kconfig | 9 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-nct6116d.c | 412 +++++++++++++++++++++++++++++++++++ 3 files changed, 422 insertions(+) create mode 100644 drivers/gpio/gpio-nct6116d.c -- 2.35.1