spmi: pmic_arb: add support for interrupt handling
authorJosh Cartwright <joshc@codeaurora.org>
Wed, 12 Feb 2014 19:44:25 +0000 (13:44 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Feb 2014 19:55:28 +0000 (11:55 -0800)
commit67b563f1f258739eefa79d9ce6c3177f670481df
treee1e5f797f693867651b54b2174c3ddec1178b974
parent39ae93e3a31d0c9ca99e35b754a9f3c6f1db2bee
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: Josh Cartwright <joshc@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spmi/Kconfig
drivers/spmi/spmi-pmic-arb.c