[PATCH linux dev-6.6 v1 0/2] Add Nuvoton NPCM SGPIO feature

Tomer Maimon tmaimon77 at gmail.com
Tue Jan 2 03:35:43 AEDT 2024


This SGPIO controller is for NUVOTON NPCM7xx and NPCM8xx SoC.
Nuvoton NPCM SGPIO module is combine serial to parallel IC (HC595)
and parallel to serial IC (HC165), and use APB3 clock to control it.
This interface has 4 pins  (D_out , D_in, S_CLK, LDSH).
NPCM7xx/NPCM8xx have two sgpio module each module can support up
to 64 output pins,and up to 64 input pin, the pin is only for GPI or GPO.

The NPCM SGPIO patchset is on upstream process.

Tomer Maimon (2):
  dt-bindings: gpio: add NPCM sgpio driver bindings
  gpio: nuvoton: Add Nuvoton NPCM sgpio driver

 .../bindings/gpio/nuvoton,sgpio.yaml          |  86 +++
 drivers/gpio/Kconfig                          |   8 +
 drivers/gpio/Makefile                         |   1 +
 drivers/gpio/gpio-npcm-sgpio.c                | 612 ++++++++++++++++++
 4 files changed, 707 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/nuvoton,sgpio.yaml
 create mode 100644 drivers/gpio/gpio-npcm-sgpio.c

-- 
2.34.1



More information about the openbmc mailing list