Commit 67b563f1 authored by Josh Cartwright's avatar Josh Cartwright Committed by Greg Kroah-Hartman

spmi: pmic_arb: add support for interrupt handling

The Qualcomm PMIC Arbiter, in addition to being a basic SPMI controller,
also implements interrupt handling for slave devices.  Note, this is
outside the scope of SPMI, as SPMI leaves interrupt handling completely
unspecified.

Extend the driver to provide a irq_chip implementation and chained irq
handling which allows for these interrupts to be used.

Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarJosh Cartwright <joshc@codeaurora.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 39ae93e3
...@@ -13,6 +13,7 @@ if SPMI ...@@ -13,6 +13,7 @@ if SPMI
config SPMI_MSM_PMIC_ARB config SPMI_MSM_PMIC_ARB
tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)" tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
depends on ARM depends on ARM
depends on IRQ_DOMAIN
depends on ARCH_MSM || COMPILE_TEST depends on ARCH_MSM || COMPILE_TEST
default ARCH_MSM default ARCH_MSM
help help
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment