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

From: Manivannan Sadhasivam
Date: Tue Oct 15 2019 - 13:30:43 EST


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

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


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
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 +++
arch/arm/boot/dts/rda8810pl.dtsi | 48 +++
drivers/gpio/Kconfig | 8 +
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-rda.c | 315 ++++++++++++++++++
6 files changed, 424 insertions(+)
create mode 100644 Documentation/devicetree/bindings/gpio/gpio-rda.yaml
create mode 100644 drivers/gpio/gpio-rda.c