diff options
author | Graeme Gregory <gg@slimlogic.co.uk> | 2011-05-02 17:19:52 -0400 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2011-05-27 05:48:23 -0400 |
commit | 2537df722d338ab687d7ed91dc589265c0d14aec (patch) | |
tree | d8b91f4af226921296dc688f253278b7fad2b096 /include/linux/mfd/tps65910.h | |
parent | 27c6750ec56fd3b22c670d9333d519a322996eb2 (diff) |
TPS65910: GPIO: Add GPIO driver
TPS65910 has one configurable GPIO that can be used for several
purposes. Subsequent versions of the TPS chip support more than
one GPIO.
Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: Jorge Eduardo Candelaria <jedu@slimlogic.co.uk>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include/linux/mfd/tps65910.h')
-rw-r--r-- | include/linux/mfd/tps65910.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/tps65910.h b/include/linux/mfd/tps65910.h index fa1b029e5499..0e01d504ab58 100644 --- a/include/linux/mfd/tps65910.h +++ b/include/linux/mfd/tps65910.h | |||
@@ -714,6 +714,7 @@ | |||
714 | */ | 714 | */ |
715 | 715 | ||
716 | struct tps65910_board { | 716 | struct tps65910_board { |
717 | int gpio_base; | ||
717 | struct regulator_init_data *tps65910_pmic_init_data; | 718 | struct regulator_init_data *tps65910_pmic_init_data; |
718 | }; | 719 | }; |
719 | 720 | ||
@@ -749,5 +750,6 @@ struct tps65910_platform_data { | |||
749 | 750 | ||
750 | int tps65910_set_bits(struct tps65910 *tps65910, u8 reg, u8 mask); | 751 | int tps65910_set_bits(struct tps65910 *tps65910, u8 reg, u8 mask); |
751 | int tps65910_clear_bits(struct tps65910 *tps65910, u8 reg, u8 mask); | 752 | int tps65910_clear_bits(struct tps65910 *tps65910, u8 reg, u8 mask); |
753 | void tps65910_gpio_init(struct tps65910 *tps65910, int gpio_base); | ||
752 | 754 | ||
753 | #endif /* __LINUX_MFD_TPS65910_H */ | 755 | #endif /* __LINUX_MFD_TPS65910_H */ |