diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-02-01 14:50:02 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@linaro.org> | 2012-03-19 08:55:56 +0100 |
commit | 7e4da9c6f56228dca029c1d25ee73074793a0270 (patch) | |
tree | c54b274c3735fb7509181fc06473220d68c067e8 /include | |
parent | 4b076b0bc5c2cbc2a12821826b005295ba5a6726 (diff) |
mfd/ab8500: gpio: support AB9540 variant
The AB9540 variant of the AB8500 is basically close enough
to use the same driver. This adds the new registers and
deviations for this new chip variant.
Signed-off-by: Maxime Coquelin <maxime.coquelin@stericsson.com>
Signed-off-by: Alex Macro <alex.macro@stericsson.com>
Signed-off-by: Michel Jaouen <michel.jaouen@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/abx500/ab8500-gpio.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/mfd/abx500/ab8500-gpio.h b/include/linux/mfd/abx500/ab8500-gpio.h index d88e3025317..c362b805104 100644 --- a/include/linux/mfd/abx500/ab8500-gpio.h +++ b/include/linux/mfd/abx500/ab8500-gpio.h @@ -12,12 +12,14 @@ /* * Platform data to register a block: only the initial gpio/irq number. + * Array sizes are large enough to contain all AB8500 and AB9540 GPIO + * registers. */ struct ab8500_gpio_platform_data { int gpio_base; u32 irq_base; - u8 config_reg[7]; + u8 config_reg[8]; u8 config_direction[6]; u8 config_pullups[6]; }; |