summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGraeme Gregory <gg@slimlogic.co.uk>2011-05-03 01:19:52 +0400
committerLiam Girdwood <lrg@slimlogic.co.uk>2011-05-27 13:48:23 +0400
commit2537df722d338ab687d7ed91dc589265c0d14aec (patch)
treed8b91f4af226921296dc688f253278b7fad2b096 /include
parent27c6750ec56fd3b22c670d9333d519a322996eb2 (diff)
downloadlinux-2537df722d338ab687d7ed91dc589265c0d14aec.tar.xz
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')
-rw-r--r--include/linux/mfd/tps65910.h2
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 @@
*/
struct tps65910_board {
+ int gpio_base;
struct regulator_init_data *tps65910_pmic_init_data;
};
@@ -749,5 +750,6 @@ struct tps65910_platform_data {
int tps65910_set_bits(struct tps65910 *tps65910, u8 reg, u8 mask);
int tps65910_clear_bits(struct tps65910 *tps65910, u8 reg, u8 mask);
+void tps65910_gpio_init(struct tps65910 *tps65910, int gpio_base);
#endif /* __LINUX_MFD_TPS65910_H */