diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-07-05 18:12:01 +0530 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-07-05 13:49:35 +0100 |
commit | 6be5bfc3bf0d31a70745a52e69f7f46de974193f (patch) | |
tree | a6a157abba4cf674381104ebeb5521b7e0a9aab9 /include/linux/regulator | |
parent | 4706fcab9b064e6077404ccb6c5ca9c188758068 (diff) | |
download | blackbird-op-linux-6be5bfc3bf0d31a70745a52e69f7f46de974193f.tar.gz blackbird-op-linux-6be5bfc3bf0d31a70745a52e69f7f46de974193f.zip |
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')
-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; /** * struct fixed_voltage_config - fixed_voltage_config structure * @supply_name: Name of the regulator supply + * @input_supply: Name of the input regulator supply * @microvolts: Output voltage of regulator * @gpio: GPIO to use for enable control * set to -EINVAL if not used @@ -46,6 +47,7 @@ struct regulator_init_data; */ struct fixed_voltage_config { const char *supply_name; + const char *input_supply; int microvolts; int gpio; unsigned startup_delay; |