diff options
author | 2021-01-19 18:44:17 +0100 | |
---|---|---|
committer | 2021-01-20 18:48:16 +0000 | |
commit | 3bc7cb99fb6eafae5a40bf71ded444df70a425f7 (patch) | |
tree | 52a455a8a049aeceb3e93c1dbf8167a518701903 /scripts/gdb/linux/utils.py | |
parent | regulator: qcom-labibb: Implement current limiting (diff) | |
download | linux-dev-3bc7cb99fb6eafae5a40bf71ded444df70a425f7.tar.xz linux-dev-3bc7cb99fb6eafae5a40bf71ded444df70a425f7.zip |
regulator: qcom-labibb: Implement pull-down, softstart, active discharge
Soft start is required to avoid inrush current during LAB ramp-up and
IBB ramp-down, protecting connected hardware to which we supply voltage.
Since soft start is configurable on both LAB and IBB regulators, it
was necessary to add two DT properties, respectively "qcom,soft-start-us"
to control LAB ramp-up and "qcom,discharge-resistor-kohms" to control
the discharge resistor for IBB ramp-down, which obviously brought the
need of implementing a of_parse callback for both regulators.
Finally, also implement pull-down mode in order to avoid unpredictable
behavior when the regulators are disabled (random voltage spikes etc).
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210119174421.226541-4-angelogioacchino.delregno@somainline.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions