Skip to content

gpio: hierarchical IRQ improvements

Brian Masney linux-arm-msm linux-gpio linux-tegra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4gpio: introduce gpiochip_populate_parent_fwspec_{two,four}cell functionsdrivers/gpio/gpiolib.c include/linux/gpio/driver.h+54 -00 replies
2/4gpio: allow customizing hierarchical IRQ chipsdrivers/gpio/gpiolib.c include/linux/gpio/driver.h+73 -142 replies
3/4gpio: use handler in gpio_irq_chip instead of handle_bad_irqdrivers/gpio/gpiolib.c+1 -10 replies
4/4qcom: spmi-gpio: convert to hierarchical IRQ helpers in gpio coredrivers/pinctrl/qcom/Kconfig drivers/pinctrl/qcom/pinctrl-spmi-gpio.c+26 -670 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] gpio: hierarchical IRQ improvements

This builds on top of Linus Walleij's existing patches that adds hierarchical IRQ support to the GPIO core [1] so that Qualcomm's spmi-gpio and ssbi-gpio can be converted to use these new helpers.

Linus: Feel free to squash these into your existing patches if you'd like to use any of this code. Just give me some kind of mention in the commit description.

[1] https://lore.kernel.org/linux-gpio/[email protected]/

Brian Masney (4):
gpio: introduce gpiochip_populate_parent_fwspec_{two,four}cell
functions
gpio: allow customizing hierarchical IRQ chips
gpio: use handler in gpio_irq_chip instead of handle_bad_irq
qcom: spmi-gpio: convert to hierarchical IRQ helpers in gpio core

 drivers/gpio/gpiolib.c                   | 78 ++++++++++++++++----
 drivers/pinctrl/qcom/Kconfig             |  1 +
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 92 +++++++-----------------
 include/linux/gpio/driver.h              | 65 +++++++++++++++++
 4 files changed, 154 insertions(+), 82 deletions(-)
Signature · 1 line
2.20.1