[PATCH v2 0/3] Add support for Blaize BLZP1600 GPIO driver

From: Nikolaos Pasaloukos
Date: Thu Mar 27 2025 - 07:41:36 EST


This patchset adds a GPIO driver for the VeriSilicon APB v0.2
hardware. This controller is used in the Blaize BLZP1600
SoC for its GPIO interface. It is essential for upstream
support since it is used to provide signals for the
Ethernet, USB, SD and many other interfaces.

Adds the GPIO interface to the Blaize BLZP1600 SoC devicetree.

The hardware itself consists of 32 I/O pins. It has
programmable interrupt generation capability on the pins.
The interrupts can be edge or level triggered and it
includes a de-bounce circuit.

Signed-off-by: Nikolaos Pasaloukos <nikolaos.pasaloukos@xxxxxxxxxx>
---
Changes in v2:
- No longer adds VeriSilicon as a vendor.
- Renamed the driver from vsi,apb-gpio to blaize,blzp1600-gpio
Changed the driver function prefix to address the new name
Removed IRQ_DOMAIN_HIERARCHY from Kconfig
- Builds the driver as a module by default
- Link to v1: https://lore.kernel.org/r/20250212-kernel-upstreaming-add_gpio_support-v1-0-080e724a21f3@xxxxxxxxxx

---
Nikolaos Pasaloukos (3):
dt-bindings: Document Blaize BLZP1600 GPIO driver
gpio: Enable Blaize BLZP1600 GPIO support
arm64: dts: blaize-blzp1600: Enable GPIO support

.../bindings/gpio/blaize,blzp1600-gpio.yaml | 77 ++++++
MAINTAINERS | 10 +
arch/arm64/boot/dts/blaize/blaize-blzp1600-cb2.dts | 36 +++
arch/arm64/boot/dts/blaize/blaize-blzp1600.dtsi | 12 +
drivers/gpio/Kconfig | 11 +
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-blzp1600.c | 283 +++++++++++++++++++++
7 files changed, 430 insertions(+)
---
base-commit: fe2280d094f95105a361dc88e07b1009d4cfeca6
change-id: 20250117-kernel-upstreaming-add_gpio_support-b4ce05eff7a5

Best regards,
--
Nikolaos Pasaloukos <nikolaos.pasaloukos@xxxxxxxxxx>