mfd: Support of hierachical interrupt for ab8500
authorMichel JAOUEN <michel.jaouen@stericsson.com>
Mon, 7 May 2012 13:02:03 +0000 (15:02 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 11 May 2012 09:16:27 +0000 (11:16 +0200)
commit7ccfe9b1d58ef5cf8fdbd50b6ee2ae0e9aa9cb36
treed085a45b25592e15a08034e7f6cc18c8eab55593
parent5af7df6b831ef9fd5fbde9d4bbd596f742cb2ad8
mfd: Support of hierachical interrupt for ab8500

Hierarchical interrupt is supported since ab8500 V2.
However, it is not implemented in the ab8500-core driver.
With the current implementation, when an ab9540 interrupt
occurs, 17 Latch registers are read through i2c. With
hierarchical interrupt implementation, there are only 4 i2c
accesses.

Signed-off-by: Maxime Coquelin <maxime.coquelin@stericsson.com>
Reviewed-by: Michel Jaouen <michel.jaouen@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab8500-core.c