aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-07-06 04:43:12 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-06 14:11:05 -0400
commit19228a6a59250d414824ae07e06ad057a404ea3e (patch)
tree12fb44aeb551cd584f286197427e63b9add709dd /include/linux/mfd
parent6be5bfc3bf0d31a70745a52e69f7f46de974193f (diff)
regulator: tps65910: add support for input supply
There is multiple voltage input pins on device which takes the voltage input for different voltage regulator. Support to configure the voltage input supplied by different regulator for each regulators. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/mfd')
-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 dd8dc0a6c462..c5f806011b32 100644
--- a/include/linux/mfd/tps65910.h
+++ b/include/linux/mfd/tps65910.h
@@ -799,6 +799,7 @@ struct tps65910_sleep_keepon_data {
799/** 799/**
800 * struct tps65910_board 800 * struct tps65910_board
801 * Board platform data may be used to initialize regulators. 801 * Board platform data may be used to initialize regulators.
802 * @input_supply: Name of input supply regulator.
802 */ 803 */
803 804
804struct tps65910_board { 805struct tps65910_board {
@@ -811,6 +812,7 @@ struct tps65910_board {
811 struct tps65910_sleep_keepon_data *slp_keepon; 812 struct tps65910_sleep_keepon_data *slp_keepon;
812 bool en_gpio_sleep[TPS6591X_MAX_NUM_GPIO]; 813 bool en_gpio_sleep[TPS6591X_MAX_NUM_GPIO];
813 unsigned long regulator_ext_sleep_control[TPS65910_NUM_REGS]; 814 unsigned long regulator_ext_sleep_control[TPS65910_NUM_REGS];
815 const char *input_supply[TPS65910_NUM_REGS];
814 struct regulator_init_data *tps65910_pmic_init_data[TPS65910_NUM_REGS]; 816 struct regulator_init_data *tps65910_pmic_init_data[TPS65910_NUM_REGS];
815}; 817};
816 818