Add pinctrl support for dwapb gpio driver
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | gpio: export acpi_gpiochip_request_interrupts in gpio/driver.hdrivers/ include/ | +12 | 3 replies | |
| 2/5 | pinctrl: dw: move gpio-dwapb.c to pinctrl folderMAINTAINERS drivers/ drivers/ +5 more | +17 | 0 replies | |
| 3/5 | pinctrl: dw: use devm_gpiochip_add_datadrivers/ | +1 | 0 replies | |
| 4/5 | pinctrl: dw: add pinctrl support for dwapb gpio driverdrivers/ drivers/ include/ | +260 | 3 replies | |
| 5/5 | dt-bindings: pinctrl: dw: move sps,dwapb-gpio.txt to pinctrlDocumentation/ MAINTAINERS | +21 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Add pinctrl support for dwapb gpio driver
Synopsys DWAPB IP includes support for pin control. This control is basic and allows to switch between a hardware and a software function. Software function is when driving GPIOs from IP and hardware is controlled by external signals.
This serie export necessary interface to be able to move the driver to pinctrl folder and then implement the pinctrl support which is based on the digicolor driver. The idea is to avoid hardcoding pins in driver since this IP is a generic one available on multiple SoC.
Clement Leger (5):
gpio: export acpi_gpiochip_request_interrupts in gpio/driver.h
pinctrl: dw: move gpio-dwapb.c to pinctrl folder
pinctrl: dw: use devm_gpiochip_add_data
pinctrl: dw: add pinctrl support for dwapb gpio driver
dt-bindings: pinctrl: dw: move sps,dwapb-gpio.txt to pinctrl
.../bindings/{gpio => pinctrl}/snps-dwapb-gpio.txt | 21 +-
MAINTAINERS | 6 +-
drivers/gpio/Kconfig | 8 -
drivers/gpio/Makefile | 1 -
drivers/gpio/gpiolib-acpi.h | 4 -
drivers/pinctrl/Kconfig | 1 +
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/dw/Kconfig | 11 +
drivers/pinctrl/dw/Makefile | 4 +
.../gpio-dwapb.c => pinctrl/dw/pinctrl-dwapb.c} | 277 +++++++++++++++++++--
include/linux/gpio/driver.h | 12 +
include/linux/platform_data/gpio-dwapb.h | 1 +
12 files changed, 310 insertions(+), 37 deletions(-)
rename Documentation/devicetree/bindings/{gpio => pinctrl}/snps-dwapb-gpio.txt (76%)
create mode 100644 drivers/pinctrl/dw/Kconfig
create mode 100644 drivers/pinctrl/dw/Makefile
rename drivers/{gpio/gpio-dwapb.c => pinctrl/dw/pinctrl-dwapb.c} (77%)Signature · 1 line
2.15.0.276.g89ea799