diff options
author | Adrian Hunter <adrian.hunter@nokia.com> | 2010-01-12 05:25:13 -0500 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-03-03 09:49:23 -0500 |
commit | eda79a3041a2cada0d4ee9491c99c3874b322356 (patch) | |
tree | 34f10eeca2ce681fc5701ce06380b4902f0303f0 /include/linux | |
parent | 75c8ac22e4b8ebea8169a090e64d034a96758644 (diff) |
regulator: Add 'start-up time' to fixed voltage regulators
Add a field to specify a delay for the start-up time of
a fixed voltage regulator.
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include/linux')
-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 e94a4a1c7c8a..ffd7d508e726 100644 --- a/include/linux/regulator/fixed.h +++ b/include/linux/regulator/fixed.h | |||
@@ -25,6 +25,7 @@ struct regulator_init_data; | |||
25 | * @microvolts: Output voltage of regulator | 25 | * @microvolts: Output voltage of regulator |
26 | * @gpio: GPIO to use for enable control | 26 | * @gpio: GPIO to use for enable control |
27 | * set to -EINVAL if not used | 27 | * set to -EINVAL if not used |
28 | * @startup_delay: Start-up time in microseconds | ||
28 | * @enable_high: Polarity of enable GPIO | 29 | * @enable_high: Polarity of enable GPIO |
29 | * 1 = Active high, 0 = Active low | 30 | * 1 = Active high, 0 = Active low |
30 | * @enabled_at_boot: Whether regulator has been enabled at | 31 | * @enabled_at_boot: Whether regulator has been enabled at |
@@ -41,6 +42,7 @@ struct fixed_voltage_config { | |||
41 | const char *supply_name; | 42 | const char *supply_name; |
42 | int microvolts; | 43 | int microvolts; |
43 | int gpio; | 44 | int gpio; |
45 | unsigned startup_delay; | ||
44 | unsigned enable_high:1; | 46 | unsigned enable_high:1; |
45 | unsigned enabled_at_boot:1; | 47 | unsigned enabled_at_boot:1; |
46 | struct regulator_init_data *init_data; | 48 | struct regulator_init_data *init_data; |