[PATCH v3 0/4] Add GPIO support for RDA8810PL SoC

From: Manivannan Sadhasivam
Date: Mon Oct 21 2019 - 02:44:28 EST


Hello,

This patchset adds GPIO controller support for RDA Micro RDA8810PL
SoC. This SoC has 4 GPIO controllers and each handles 32 GPIOs. Except
GPIOC, all controllers are capable of generating edge/level interrupts
from first 8 GPIO lines. The pinctrl part for this SoC will be added
later.

This driver has been validated on 96Boards OrangePi i96 board from
Shenzhen Xunlong Software Co.,Limited with libgpiod.

Thanks,
Mani

Changes in v3:

As per the review by Linus W:

* Switched to GPIO MMIO for simplifying the driver
* Elaborated the driver commit message
* Some misc changes to the driver

Changes in v2:

As per the review by Bartosz:

* Dropped the not implemented gpio_request/free callbacks.
* Used device_* helper to fetch ngpios.

Manivannan Sadhasivam (4):
dt-bindings: gpio: Add devicetree binding for RDA Micro GPIO
controller
ARM: dts: Add RDA8810PL GPIO controllers
gpio: Add RDA Micro GPIO controller support
MAINTAINERS: Add entry for RDA Micro GPIO driver and binding

.../devicetree/bindings/gpio/gpio-rda.yaml | 50 +++
MAINTAINERS | 2 +
arch/arm/boot/dts/rda8810pl.dtsi | 48 +++
drivers/gpio/Kconfig | 9 +
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-rda.c | 294 ++++++++++++++++++
6 files changed, 404 insertions(+)
create mode 100644 Documentation/devicetree/bindings/gpio/gpio-rda.yaml
create mode 100644 drivers/gpio/gpio-rda.c

--
2.17.1