diff options
author | Chris Kimber <chris.kimber@stericsson.com> | 2011-05-18 16:34:59 +0100 |
---|---|---|
committer | said m bagheri <ebgheri@steludxu2848.(none)> | 2011-06-17 13:42:03 +0200 |
commit | f5dcdcd0a68eedbfdbc96d5de42e51cba4ac8520 (patch) | |
tree | 96b9f576d2d9aee7c44794a9ca476d4f26c56cc6 /include | |
parent | 777a6679baca03511f350b272a1122d3869c1bc9 (diff) |
ab8500-gpio: Allow initial configuration of GPIO registers
Allows the setting of the initial GPIO direction & pullup registers.
ST-Ericsson Linux next: Ported & patch created
ST-Ericsson ID: 334609
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I676ed8129a96a2fe41865117e4c864edc09d01ce
Signed-off-by: Chris Kimber <chris.kimber@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23339
Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/ab8500/gpio.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/mfd/ab8500/gpio.h b/include/linux/mfd/ab8500/gpio.h index 8ab95be71af..76d5ee22c60 100644 --- a/include/linux/mfd/ab8500/gpio.h +++ b/include/linux/mfd/ab8500/gpio.h @@ -15,7 +15,9 @@ struct ab8500_gpio_platform_data { int gpio_base; u32 irq_base; - u8 config_reg[7]; + u8 initial_pin_config[7]; + u8 initial_pin_direction[6]; + u8 initial_pin_pullups[6]; }; int ab8500_config_pull_up_or_down(struct device *dev, |