diff options
author | Chris Kimber <chris.kimber@stericsson.com> | 2011-05-18 16:34:59 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@linaro.org> | 2011-07-22 15:49:13 +0200 |
commit | 01fb42756064c5dc04013d54bde00e592dd7963d (patch) | |
tree | 7ff5ee582b5a8397568bc83eda9e9d9234e1469c /include | |
parent | cbed21b751277d45de28d61a9e5ccc36cffb0998 (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, |