mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] gpio: Add the Siflower SF19A2890 GPIO controller
@ 2026-11-04  7:21 Joseph Telaak via B4 Relay
  2026-11-04  7:21 ` [PATCH 1/2] dt-bindings: gpio: Add " Joseph Telaak via B4 Relay
  2026-11-04  7:21 ` [PATCH 2/2] gpio: Add Siflower GPIO controller driver Joseph Telaak via B4 Relay
  0 siblings, 2 replies; 13+ messages in thread
From: Joseph Telaak via B4 Relay @ 2026-11-04  7:21 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Philipp Zabel
  Cc: Chuanhong Guo, Qingfang Deng, linux-mips, linux-gpio, devicetree,
	linux-kernel, Joseph Telaak, Qingfang Deng

This series adds a binding and a driver for the GPIO controller of the
Siflower SoCs, starting with the SF19A2890, a MIPS SoC for home routers.
Each line has a register block of its own, and each group of 16 lines an
interrupt.

The binding is Chuanhong Guo's and the driver Qingfang Deng's, both from
Chuanhong's SF19A2890 branch [1], with my changes noted in each. The
same controller is in Siflower's SF21 RISC-V SoCs; the binding has only
the SF19A2890's compatible, the one I can test.

The SoC support itself (MACH_SIFLOWER_MIPS) goes through the MIPS tree;
until then the driver builds with COMPILE_TEST.

The MAINTAINERS entry that covers these files comes with the MIPS series
"MIPS: Add support for the Siflower SF19A2890"; this series applies on
its own. That entry is also why checkpatch's question about updating
MAINTAINERS for the new files is left unanswered here.

Tested on a GL.iNet GL-SFT1200: gpio-keys sees both buttons on both
edges (the reset button on GPIO 27 as KEY_RESTART, the mode slide switch
on GPIO 1 as BTN_0, 1 and 0 per slide); /sys/kernel/debug/gpio lists the
49 lines; the GSW150 switch comes out of reset through GPIO 0 and the
SPI NAND uses GPIO 8 as its chip select.

[1] https://github.com/981213/linux/commits/siflower-7.1

---
Chuanhong Guo (1):
      dt-bindings: gpio: Add Siflower SF19A2890 GPIO controller

Qingfang Deng (1):
      gpio: Add Siflower GPIO controller driver

 .../bindings/gpio/siflower,sf19a2890-gpio.yaml     |  84 ++++++
 drivers/gpio/Kconfig                               |  11 +
 drivers/gpio/Makefile                              |   1 +
 drivers/gpio/gpio-siflower.c                       | 325 +++++++++++++++++++++
 4 files changed, 421 insertions(+)
---
base-commit: d66b6b86d5a6278ca930112c634d03725beb7d9a
change-id: 20261102-sf19a2890-gpio-b21562e52f88

Best regards,
--  
Joseph Telaak <joseph@telaak.dev>



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

end of thread, other threads:[~2026-11-05 20:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04  7:21 [PATCH 0/2] gpio: Add the Siflower SF19A2890 GPIO controller Joseph Telaak via B4 Relay
2026-11-04  7:21 ` [PATCH 1/2] dt-bindings: gpio: Add " Joseph Telaak via B4 Relay
2026-11-04  8:12   ` Bartosz Golaszewski
2026-11-04  8:32     ` Joseph Telaak
2026-11-04 23:46   ` Conor Dooley
2026-11-05  0:42     ` Joseph Telaak
2026-11-04  7:21 ` [PATCH 2/2] gpio: Add Siflower GPIO controller driver Joseph Telaak via B4 Relay
2026-11-04  8:16   ` Bartosz Golaszewski
2026-11-04  8:38     ` Joseph Telaak
2026-11-04  9:12   ` Philipp Zabel
2026-11-04 20:16     ` Joseph Telaak
2026-11-05  9:31   ` Linus Walleij
2026-11-05 20:36     ` Joseph Telaak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®