[PATCH v2 0/2] riscv: spacemit: add gpio support for K3 SoC

Yixun Lan posted 2 patches 1 month ago
There is a newer version of this series
.../devicetree/bindings/gpio/spacemit,k1-gpio.yaml |   4 +-
drivers/gpio/gpio-spacemit-k1.c                    | 163 +++++++++++++++------
2 files changed, 120 insertions(+), 47 deletions(-)
[PATCH v2 0/2] riscv: spacemit: add gpio support for K3 SoC
Posted by Yixun Lan 1 month ago
Introduce gpio support for SpacemiT K3 SoC, the gpio controller
changes its register layout and bank offset, while mostly shares
other IP logic, so adjust the driver to support this.

Signed-off-by: Yixun Lan <dlan@gentoo.org>
---
Changes in v2:
- collect tags
- refactor gpio register read/write, introduce helper function
- Link to v1: https://lore.kernel.org/r/20251229-02-k3-gpio-v1-0-269e76785abb@gentoo.org

---
Yixun Lan (2):
      dt-bindings: gpio: spacemit: add compatible name for K3 SoC
      gpio: spacemit: Add GPIO support for K3 SoC

 .../devicetree/bindings/gpio/spacemit,k1-gpio.yaml |   4 +-
 drivers/gpio/gpio-spacemit-k1.c                    | 163 +++++++++++++++------
 2 files changed, 120 insertions(+), 47 deletions(-)
---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20251229-02-k3-gpio-89b6e95cdf65

Best regards,
-- 
Yixun Lan