diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-06-11 17:37:05 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-12 13:16:57 +0100 |
commit | 57f66b78860968fc7eddc9ce25f8e57f7e5000bd (patch) | |
tree | 5ee90fa99fdd1277706faa3bef39522d26ebc4bc /include/linux/regulator/machine.h | |
parent | regulator: Add pull down support (diff) | |
download | linux-dev-57f66b78860968fc7eddc9ce25f8e57f7e5000bd.tar.xz linux-dev-57f66b78860968fc7eddc9ce25f8e57f7e5000bd.zip |
regulator: Add soft start support
Some regulators support a "soft start" feature where the voltage
ramps up slowly when the regulator is enabled. Add an op
(set_soft_start) and a DT property + constraint to support this.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/regulator/machine.h')
-rw-r--r-- | include/linux/regulator/machine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/regulator/machine.h b/include/linux/regulator/machine.h index 8ffb0619a03c..7f7d0a3fe1e1 100644 --- a/include/linux/regulator/machine.h +++ b/include/linux/regulator/machine.h @@ -142,6 +142,7 @@ struct regulation_constraints { unsigned boot_on:1; /* bootloader/firmware enabled regulator */ unsigned apply_uV:1; /* apply uV constraint if min == max */ unsigned ramp_disable:1; /* disable ramp delay */ + unsigned soft_start:1; /* ramp voltage slowly */ unsigned pull_down:1; /* pull down resistor when regulator off */ }; |