gpio: Tight IRQ chip integration
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest15 patches 4 repliesIn review
- v612 patches 12 repliesSuperseded
- v513 patches 4 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 16 patches | 18 replies | Superseded | |
| v1 | 16 patches | 10 replies | Superseded |
Changes in v7 from the cover letter
- squashes in a few fixes pointed out by Grygorii
- adds a couple of patches on top to support driver conversion
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | gpio: Introduce struct gpio_irq_chipinclude/ | +38 | 0 replies | |
| 2/15 | gpio: Move irqchip into struct gpio_irq_chipdrivers/ include/ | +19 | 0 replies | |
| 3/15 | gpio: Move irqdomain into struct gpio_irq_chipDocumentation/ drivers/ drivers/ +53 more | +79 | 0 replies | |
| 4/15 | gpio: Move irq_handler to struct gpio_irq_chipdrivers/ include/ | +10 | 0 replies | |
| 5/15 | gpio: Move irq_default_type to struct gpio_irq_chipdrivers/ include/ | +11 | 0 replies | |
| 6/15 | gpio: Move irq_chained_parent to struct gpio_irq_chipdrivers/ include/ | +27 | 0 replies | |
| 7/15 | gpio: Move irq_nested into struct gpio_irq_chipdrivers/ include/ | +11 | 0 replies | |
| 8/15 | gpio: Move irq_valid_mask into struct gpio_irq_chipDocumentation/ drivers/ drivers/ +5 more | +35 | 1 reply | |
| 9/15 | gpio: Move lock_key into struct gpio_irq_chipdrivers/ include/ | +9 | 0 replies | |
| 10/15 | gpio: Implement tighter IRQ chip integrationdrivers/ include/ | +114 | 0 replies | |
| 11/15 | gpio: Export gpiochip_irq_{map,unmap}()drivers/ include/ | +9 | 0 replies | |
| 12/15 | gpio: Add Tegra186 supportdrivers/ drivers/ drivers/ | +633 | 0 replies | |
| 13/15 | gpio: Disambiguate struct gpio_irq_chip.nesteddrivers/ include/ | +14 | 0 replies | |
| 14/15 | gpio: Introduce struct gpio_irq_chip.firstdrivers/ include/ | +10 | 0 replies | |
| 15/15 | gpio: Automatically add lockdep keysdrivers/ include/ | +47 | 1 reply |
Reviews trailers per patch
None of the 15 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Grygorii Strashko |
|---|---|
| Series | A-b |
| 1/15 | |
| 2/15 | |
| 3/15 | |
| 4/15 | |
| 5/15 | |
| 6/15 | |
| 7/15 | |
| 8/15 | |
| 9/15 | |
| 10/15 | |
| 11/15 | |
| 12/15 | |
| 13/15 | |
| 14/15 | |
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v7 00/15] gpio: Tight IRQ chip integration
From: Thierry Reding <[email protected]>
Hi Linus,
here's the latest series of patches that implement the tighter IRQ chip integration. I've dropped the banked infrastructure for now as per the discussion with Grygorii.
The first couple of patches are mostly preparatory work in order to consolidate all IRQ chip related fields in a new structure and create the base functionality for adding IRQ chips.
After that, I've added the Tegra186 GPIO support patch that makes use of the new tight integration.
Changes in v7:
- squashes in a few fixes pointed out by Grygorii
- adds a couple of patches on top to support driver conversion
Changes in v6:
- rebased on latest linux-gpio devel branch
- one patch dropped due to rebase
Changes in v5:
- dropped the banked infrastructure patches for now (Grygorii)
- allocate interrupts on demand, rather than upfront (Grygorii)
- split up the first patch further as requested by Grygorii
Not sure what happened in between here. Notes in commit logs indicate that this is actually version 5, but I can't find the cover letter for v3 and v4.
Changes in v2:
- rename pins to lines for consistent terminology
- rename gpio_irq_chip_banked_handler() to
gpio_irq_chip_banked_chained_handler()
Thierry
Thierry Reding (15):
gpio: Introduce struct gpio_irq_chip
gpio: Move irqchip into struct gpio_irq_chip
gpio: Move irqdomain into struct gpio_irq_chip
gpio: Move irq_handler to struct gpio_irq_chip
gpio: Move irq_default_type to struct gpio_irq_chip
gpio: Move irq_chained_parent to struct gpio_irq_chip
gpio: Move irq_nested into struct gpio_irq_chip
gpio: Move irq_valid_mask into struct gpio_irq_chip
gpio: Move lock_key into struct gpio_irq_chip
gpio: Implement tighter IRQ chip integration
gpio: Export gpiochip_irq_{map,unmap}()
gpio: Add Tegra186 support
gpio: Disambiguate struct gpio_irq_chip.nested
gpio: Introduce struct gpio_irq_chip.first
gpio: Automatically add lockdep keys
Documentation/gpio/driver.txt | 6 +- drivers/bcma/driver_gpio.c | 2 +- drivers/gpio/Kconfig | 9 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-104-dio-48e.c | 2 +- drivers/gpio/gpio-104-idi-48.c | 2 +- drivers/gpio/gpio-104-idio-16.c | 2 +- drivers/gpio/gpio-adnp.c | 2 +- drivers/gpio/gpio-altera.c | 4 +- drivers/gpio/gpio-aspeed.c | 6 +- drivers/gpio/gpio-ath79.c | 2 +- drivers/gpio/gpio-crystalcove.c | 2 +- drivers/gpio/gpio-dln2.c | 2 +- drivers/gpio/gpio-ftgpio010.c | 2 +- drivers/gpio/gpio-ingenic.c | 2 +- drivers/gpio/gpio-intel-mid.c | 2 +- drivers/gpio/gpio-lynxpoint.c | 2 +- drivers/gpio/gpio-max732x.c | 2 +- drivers/gpio/gpio-merrifield.c | 2 +- drivers/gpio/gpio-omap.c | 2 +- drivers/gpio/gpio-pca953x.c | 2 +- drivers/gpio/gpio-pcf857x.c | 2 +- drivers/gpio/gpio-pci-idio-16.c | 2 +- drivers/gpio/gpio-pl061.c | 2 +- drivers/gpio/gpio-rcar.c | 2 +- drivers/gpio/gpio-reg.c | 4 +- drivers/gpio/gpio-stmpe.c | 6 +- drivers/gpio/gpio-tc3589x.c | 2 +- drivers/gpio/gpio-tegra186.c | 623 ++++++++++++++++++++++++++++ drivers/gpio/gpio-vf610.c | 2 +- drivers/gpio/gpio-wcove.c | 2 +- drivers/gpio/gpio-ws16c48.c | 2 +- drivers/gpio/gpio-xgene-sb.c | 2 +- drivers/gpio/gpio-xlp.c | 2 +- drivers/gpio/gpio-zx.c | 2 +- drivers/gpio/gpio-zynq.c | 2 +- drivers/gpio/gpiolib.c | 241 +++++++---- drivers/pinctrl/bcm/pinctrl-bcm2835.c | 5 +- drivers/pinctrl/bcm/pinctrl-iproc-gpio.c | 2 +- drivers/pinctrl/intel/pinctrl-baytrail.c | 6 +- drivers/pinctrl/intel/pinctrl-cherryview.c | 6 +- drivers/pinctrl/intel/pinctrl-intel.c | 2 +- drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 2 +- drivers/pinctrl/nomadik/pinctrl-nomadik.c | 4 +- drivers/pinctrl/pinctrl-amd.c | 2 +- drivers/pinctrl/pinctrl-at91.c | 2 +- drivers/pinctrl/pinctrl-coh901.c | 2 +- drivers/pinctrl/pinctrl-mcp23s08.c | 2 +- drivers/pinctrl/pinctrl-oxnas.c | 2 +- drivers/pinctrl/pinctrl-pic32.c | 2 +- drivers/pinctrl/pinctrl-pistachio.c | 2 +- drivers/pinctrl/pinctrl-st.c | 2 +- drivers/pinctrl/pinctrl-sx150x.c | 2 +- drivers/pinctrl/qcom/pinctrl-msm.c | 2 +- drivers/pinctrl/sirf/pinctrl-atlas7.c | 2 +- drivers/pinctrl/sirf/pinctrl-sirf.c | 2 +- drivers/pinctrl/spear/pinctrl-plgpio.c | 2 +- drivers/platform/x86/intel_int0002_vgpio.c | 6 +- include/linux/gpio/driver.h | 200 +++++++-- 59 files changed, 1046 insertions(+), 169 deletions(-) create mode 100644 drivers/gpio/gpio-tegra186.c
Signature · 1 line
2.14.1