Skip to content

Commit

Permalink
spmi: pmic_arb: add support for interrupt handling
Browse files Browse the repository at this point in the history
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: Josh Cartwright <joshc@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Josh Cartwright authored and Greg Kroah-Hartman committed Feb 15, 2014
1 parent 39ae93e commit 67b563f
Show file tree
Hide file tree
Showing 2 changed files with 376 additions and 2 deletions.
1 change: 1 addition & 0 deletions drivers/spmi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ if SPMI
config SPMI_MSM_PMIC_ARB
tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
depends on ARM
depends on IRQ_DOMAIN
depends on ARCH_MSM || COMPILE_TEST
default ARCH_MSM
help
Expand Down
Loading

0 comments on commit 67b563f

Please sign in to comment.