Reform EP93xx GPIO
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 of 11 patches 0 repliesNew
1 of 11 patches is in this archive. The cover letter announces 11.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 2/11 | gpio: ep93xx: Cut down variable names | +0 | 0 replies |
Reviews trailers per patch
The patch has no Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Alexander Sverdlin |
|---|---|
| Series | A-b |
| 2/11 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/11] Reform EP93xx GPIO
Hello Linus,
Quoted 18 lines · On Wed, 22 Aug 2018 22:41:00 +0200 Linus Walleij <[email protected]>…
This series is a spin-off of a patch from Arnd that started to decouple the EP93xx GPIO driver from the code inside
arch/arm.The driver needed some modernization and in the end I managed to convert two of the banks to use
GPIOLIB_IRQCHIPand use a proper irqdomain.The F bank presents a special problem that I need to think about, because since there is one IRQ per GPIO line it is essentially a hierarchical irqdomain.
This was tested on the SIM.ONE where I rigged lines on some of the GPIOs on a board connector. It's crude but gives interrupts and behave as expected before and after these changes, the main visible change being that the hardware IRQ line on each port appears in
/proc/interrupts.
Quoted 3 lines
It would be great if some EP93xx users could test this (especially something using bank F) so I can get it into shape and merge as a baseline for further refactorings.
I've tested only the basic GPIO functionality (as my applications do not use IRQs as of now), but the whole series looks good to me:
Quoted 19 lines
Arnd Bergmann (1):
ARM/gpio: ep93xx: build standaloneLinus Walleij (10):
gpio: ep93xx: Cut down variable names
gpio: ep93xx: Switch to SPDX license tag
gpio: ep93xx: Pass around structgpio_chip
gpio: ep93xx: Renamehas_debouncetohas_irq
gpio: ep93xx: Properly call the chained IRQ handler
gpio: ep93xx: Do not pingpong irq numbers
gpio: ep93xx: Use the hwirq and port
gpio: ep93xx: Usefor_each_set_bit()in IRQ handler
gpio: ep93xx: Cutgpio_to_irq()usage
gpio: ep93xx: Switch A and B to useGPIOLIB_IRQCHIParch/arm/mach-ep93xx/core.c | 9 ++ drivers/gpio/Kconfig | 1 + drivers/gpio/gpio-ep93xx.c | 297 +++++++++++++++++++++--------------- 3 files changed, 181 insertions(+), 126 deletions(-)
Signature · 1 line
Alexander Sverdlin.