aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTodd Fischer <todd.fischer@ridgerun.com>2010-04-05 22:23:57 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2010-05-27 19:37:37 -0400
commit0bc20bba357f18a0e52f45afc452d0b69cf06f76 (patch)
tree38a1c5edfd04aa04a37afc404d4779244b740c09 /include
parentd183fcc975cbbc9c427deb2d7948ab03673995c9 (diff)
mfd: Add tps6507x board data structure
Add mfd structure which refrences sub-driver initialization data. For example, for a giving hardware implementation, the voltage regulator sub-driver initialization data provides the mapping betten a voltage regulator and what the output voltage is being used for. Signed-off-by: Todd Fischer <todd.fischer@ridgerun.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/tps6507x.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/mfd/tps6507x.h b/include/linux/mfd/tps6507x.h
index 155bee1f7823..fd73af5fb95a 100644
--- a/include/linux/mfd/tps6507x.h
+++ b/include/linux/mfd/tps6507x.h
@@ -131,4 +131,15 @@
131/* VDCDC MASK */ 131/* VDCDC MASK */
132#define TPS6507X_DEFDCDCX_DCDC_MASK 0X3F 132#define TPS6507X_DEFDCDCX_DCDC_MASK 0X3F
133 133
134/**
135 * struct tps6507x_board - packages regulator and touchscreen init data
136 * @tps6507x_regulator_data: regulator initialization values
137 *
138 * Board data may be used to initialize regulator and touchscreen.
139 */
140
141struct tps6507x_board {
142 struct regulator_init_data *tps6507x_pmic_init_data;
143};
144
134#endif /* __LINUX_MFD_TPS6507X_H */ 145#endif /* __LINUX_MFD_TPS6507X_H */