Skip to content

Add Nuvoton NPCM SGPIO feature

Tomer Maimon openbmc 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 0 repliesSuperseded

V1 changes from the cover letter

1. Fix sgpio irq handle error.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: gpio: add NPCM sgpio driver bindingsDocumentation/devicetree/bindings/gpio/nuvoton,sgpio.yaml+87 -00 replies
2/2gpio: nuvoton: Add Nuvoton NPCM sgpio driverdrivers/gpio/Kconfig drivers/gpio/Makefile drivers/gpio/gpio-npcm-sgpio.c+625 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [linux dev-6.6 v2 0/2] Add Nuvoton NPCM SGPIO feature

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 upstream to Linux vanilla.

V1 changes:
1. Fix sgpio irq handle error.

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

 .../bindings/gpio/nuvoton,sgpio.yaml          |  87 +++
 drivers/gpio/Kconfig                          |   7 +
 drivers/gpio/Makefile                         |   1 +
 drivers/gpio/gpio-npcm-sgpio.c                | 617 ++++++++++++++++++
 4 files changed, 712 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/nuvoton,sgpio.yaml
 create mode 100644 drivers/gpio/gpio-npcm-sgpio.c
Signature · 1 line
2.34.1