All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/1] add device driver for Nuvoton SIO gpio function
@ 2022-07-12 14:32 Henning Schild
  2022-07-12 14:32 ` [PATCH v3 1/3] gpio: nct6116d: add new driver for several Nuvoton super io chips Henning Schild
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Henning Schild @ 2022-07-12 14:32 UTC (permalink / raw)
  To: linux-kernel, linux-gpio, Bartosz Golaszewski, Linus Walleij,
	Tasanakorn Phaipool
  Cc: Sheng-Yuan Huang, Kuan-Wei Ho, Andy Shevchenko, Henning Schild

changes since v2:
 - move from subsys_initcall to module_init
 - add 2 more patches to show how it can be used later
 - v2 is based on [PATCH v6 00/12] platform/x86: introduce p2sb_bar() helper

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.
In fact v2 of this series shows a future user, not to be merged right
away but to show what is planned.

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 (3):
  gpio: nct6116d: add new driver for several Nuvoton super io chips
  leds: simatic-ipc-leds-gpio: add new model 227G
  platform/x86: simatic-ipc: enable watchdog for 227G

 drivers/gpio/Kconfig                          |   9 +
 drivers/gpio/Makefile                         |   1 +
 drivers/gpio/gpio-nct6116d.c                  | 412 ++++++++++++++++++
 drivers/leds/simple/simatic-ipc-leds-gpio.c   |  42 +-
 drivers/platform/x86/simatic-ipc.c            |   7 +-
 .../platform_data/x86/simatic-ipc-base.h      |   1 +
 include/linux/platform_data/x86/simatic-ipc.h |   1 +
 7 files changed, 467 insertions(+), 6 deletions(-)
 create mode 100644 drivers/gpio/gpio-nct6116d.c

-- 
2.35.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-07-19 11:15 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-12 14:32 [PATCH v3 0/1] add device driver for Nuvoton SIO gpio function Henning Schild
2022-07-12 14:32 ` [PATCH v3 1/3] gpio: nct6116d: add new driver for several Nuvoton super io chips Henning Schild
2022-07-12 14:49   ` Andy Shevchenko
2022-07-13  7:27   ` Bartosz Golaszewski
2022-07-13 10:39     ` Henning Schild
2022-07-19  9:39       ` Bartosz Golaszewski
2022-07-19 11:13         ` Henning Schild
2022-07-12 14:32 ` [PATCH v3 2/3] leds: simatic-ipc-leds-gpio: add new model 227G Henning Schild
2022-07-12 15:13   ` Henning Schild
2022-07-14 12:06   ` Henning Schild
2022-07-12 14:32 ` [PATCH v3 3/3] platform/x86: simatic-ipc: enable watchdog for 227G Henning Schild
2022-07-12 14:42 ` [PATCH v3 0/1] add device driver for Nuvoton SIO gpio function Andy Shevchenko
2022-07-12 15:16   ` Henning Schild
2022-07-12 15:22     ` Andy Shevchenko
2022-07-13  7:20       ` Henning Schild
2022-07-12 15:14 ` Henning Schild

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.