Skip to content

qcom: ssbi-gpio: add support for hierarchical IRQ chip

Brian Masney linux-arm-msm linux-devicetree linux-gpio lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 14 repliesIn review
  2. v19 patches 11 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11pinctrl: qcom: ssbi-gpio: hardcode IRQ countsdrivers/pinctrl/qcom/pinctrl-ssbi-gpio.c+7 -140 replies
2/11genirq: introduce irq_domain_translate_twocellinclude/linux/irqdomain.h kernel/irq/irqdomain.c+39 -111 reply
3/11genirq: introduce irq_chip_mask_ack_parent()include/linux/irq.h kernel/irq/chip.c+12 -00 replies
4/11mfd: pm8xxx: convert to v2 irq interfaces to support hierarchical IRQ chipsdrivers/mfd/qcom-pm8xxx.c+38 -371 reply
5/11mfd: pm8xxx: disassociate old virq if hwirq mapping already existsdrivers/mfd/qcom-pm8xxx.c+6 -08 replies
6/11qcom: ssbi-gpio: add support for hierarchical IRQ chipdrivers/pinctrl/qcom/Kconfig drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c+124 -120 replies
7/11arm: dts: qcom: apq8064: add interrupt controller propertiesarch/arm/boot/dts/qcom-apq8064.dtsi+2 -440 replies
8/11arm: dts: qcom: msm8660: add interrupt controller propertiesarch/arm/boot/dts/qcom-msm8660.dtsi+2 -450 replies
9/11arm: dts: qcom: mdm9615: add interrupt controller propertiesarch/arm/boot/dts/qcom-mdm9615.dtsi+2 -70 replies
10/11ARM: dts: qcom-apq8060: Fix up interrupt parentsarch/arm/boot/dts/qcom-apq8060-dragonboard.dts+8 -130 replies
11/11mfd: pm8xxx: revert "disassociate old virq if hwirq mapping already exists"drivers/mfd/qcom-pm8xxx.c+0 -61 reply

Reviews trailers per patch

5 of 11 patches have a Reviewed-by or Acked-by.

PatchLinus WalleijMarc ZyngierLee Jones
1/11T-b
2/11R-b
3/11A-b
4/11T-b A-b
5/11T-b A-b
6/11T-b
7/11
8/11T-b
9/11
10/11
11/11T-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 00/11] qcom: ssbi-gpio: add support for hierarchical IRQ chip

This patch series adds hierarchical IRQ chip support to ssbi-gpio so that device tree consumers can request an IRQ directly from the GPIO block rather than having to request an IRQ from the underlying PMIC.

For more background information, see the email thread with Linus Walleij's excellent description of the problem at
https://www.spinics.net/lists/linux-gpio/msg34655.html.

These changes were tested by Linus Walleij on an APQ8060 DragonBoard.

See the notes on the individual patches for the changelog.

Brian Masney (9):
pinctrl: qcom: ssbi-gpio: hardcode IRQ counts
genirq: introduce irq_domain_translate_twocell
mfd: pm8xxx: convert to v2 irq interfaces to support hierarchical IRQ
chips
mfd: pm8xxx: disassociate old virq if hwirq mapping already exists
qcom: ssbi-gpio: add support for hierarchical IRQ chip
arm: dts: qcom: apq8064: add interrupt controller properties
arm: dts: qcom: msm8660: add interrupt controller properties
arm: dts: qcom: mdm9615: add interrupt controller properties
mfd: pm8xxx: revert "disassociate old virq if hwirq mapping already
exists"

Linus Walleij (2):
genirq: introduce irq_chip_mask_ack_parent()
ARM: dts: qcom-apq8060: Fix up interrupt parents

 .../arm/boot/dts/qcom-apq8060-dragonboard.dts |  21 +--
 arch/arm/boot/dts/qcom-apq8064.dtsi           |  46 +-----
 arch/arm/boot/dts/qcom-mdm9615.dtsi           |   9 +-
 arch/arm/boot/dts/qcom-msm8660.dtsi           |  47 +-----
 drivers/mfd/qcom-pm8xxx.c                     |  75 ++++-----
 drivers/pinctrl/qcom/Kconfig                  |   1 +
 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c      | 156 +++++++++++++++---
 include/linux/irq.h                           |   1 +
 include/linux/irqdomain.h                     |   5 +
 kernel/irq/chip.c                             |  11 ++
 kernel/irq/irqdomain.c                        |  45 +++--
 11 files changed, 234 insertions(+), 183 deletions(-)
Signature · 1 line
2.17.2