diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-07-05 08:42:01 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-07-05 08:49:35 -0400 |
commit | 6be5bfc3bf0d31a70745a52e69f7f46de974193f (patch) | |
tree | a6a157abba4cf674381104ebeb5521b7e0a9aab9 /include/linux/regulator/fixed.h | |
parent | 4706fcab9b064e6077404ccb6c5ca9c188758068 (diff) |
regulator: fixed: dt: support for input supply
Add support for input supply in DT parsing of node.
The input supply will be provided by the property
"vin-supply" in the regulator node.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regulator/fixed.h')
-rw-r--r-- | include/linux/regulator/fixed.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/regulator/fixed.h b/include/linux/regulator/fixed.h index f83f7440b488..d6c24c53adf4 100644 --- a/include/linux/regulator/fixed.h +++ b/include/linux/regulator/fixed.h | |||
@@ -22,6 +22,7 @@ struct regulator_init_data; | |||
22 | /** | 22 | /** |
23 | * struct fixed_voltage_config - fixed_voltage_config structure | 23 | * struct fixed_voltage_config - fixed_voltage_config structure |
24 | * @supply_name: Name of the regulator supply | 24 | * @supply_name: Name of the regulator supply |
25 | * @input_supply: Name of the input regulator supply | ||
25 | * @microvolts: Output voltage of regulator | 26 | * @microvolts: Output voltage of regulator |
26 | * @gpio: GPIO to use for enable control | 27 | * @gpio: GPIO to use for enable control |
27 | * set to -EINVAL if not used | 28 | * set to -EINVAL if not used |
@@ -46,6 +47,7 @@ struct regulator_init_data; | |||
46 | */ | 47 | */ |
47 | struct fixed_voltage_config { | 48 | struct fixed_voltage_config { |
48 | const char *supply_name; | 49 | const char *supply_name; |
50 | const char *input_supply; | ||
49 | int microvolts; | 51 | int microvolts; |
50 | int gpio; | 52 | int gpio; |
51 | unsigned startup_delay; | 53 | unsigned startup_delay; |