Commit a29264b6 authored by Lee Jones's avatar Lee Jones

mfd: ab8500-core: APE Interrupts are not cleared

There are missing register descriptions from the AB8505 user manual
and these need to be masked so that the APEINT line can toggle.
This patch also affects the behaviour of AB9540.
Signed-off-by: default avatarMarcus Cooper <marcus.xm.cooper@stericsson.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Reviewed-by: default avatarMaxime COQUELIN <maxime.coquelin@stericsson.com>
Reviewed-by: default avatarAlexandre TORGUE <alexandre.torgue@stericsson.com>
Reviewed-by: default avatarMattias WALLIN <mattias.wallin@stericsson.com>
Acked-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 73482346
...@@ -95,6 +95,7 @@ ...@@ -95,6 +95,7 @@
#define AB8500_IT_MASK22_REG 0x55 #define AB8500_IT_MASK22_REG 0x55
#define AB8500_IT_MASK23_REG 0x56 #define AB8500_IT_MASK23_REG 0x56
#define AB8500_IT_MASK24_REG 0x57 #define AB8500_IT_MASK24_REG 0x57
#define AB8500_IT_MASK25_REG 0x58
/* /*
* latch hierarchy registers * latch hierarchy registers
...@@ -137,9 +138,9 @@ static const int ab8500_irq_regoffset[AB8500_NUM_IRQ_REGS] = { ...@@ -137,9 +138,9 @@ static const int ab8500_irq_regoffset[AB8500_NUM_IRQ_REGS] = {
0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 18, 19, 20, 21, 0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 18, 19, 20, 21,
}; };
/* AB9540 support */ /* AB9540 / AB8505 support */
static const int ab9540_irq_regoffset[AB9540_NUM_IRQ_REGS] = { static const int ab9540_irq_regoffset[AB9540_NUM_IRQ_REGS] = {
0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 18, 19, 20, 21, 12, 13, 24, 0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 18, 19, 20, 21, 12, 13, 24, 5, 22, 23
}; };
static const char ab8500_version_str[][7] = { static const char ab8500_version_str[][7] = {
......
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