|
|
Subscribe / Log in / New account

add device driver for Nuvoton SIO gpio function

From:  Henning Schild <henning.schild-AT-siemens.com>
To:  <linux-kernel-AT-vger.kernel.org>, <linux-gpio-AT-vger.kernel.org>, "Bartosz Golaszewski" <brgl-AT-bgdev.pl>, Linus Walleij <linus.walleij-AT-linaro.org>, Tasanakorn Phaipool <tasanakorn-AT-gmail.com>
Subject:  [PATCH v2 0/1] add device driver for Nuvoton SIO gpio function
Date:  Mon, 04 Jul 2022 15:06:01 +0200
Message-ID:  <20220704130602.12307-1-henning.schild@siemens.com>
Cc:  Sheng-Yuan Huang <syhuang3-AT-nuvoton.com>, Kuan-Wei Ho <cwho-AT-nuvoton.com>, Andy Shevchenko <andy.shevchenko-AT-gmail.com>, Henning Schild <henning.schild-AT-siemens.com>
Archive-link:  Article

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



Copyright © 2022, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds