diff options
author | AngeloGioacchino Del Regno <[email protected]> | 2021-01-19 18:44:17 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-01-20 18:48:16 +0000 |
commit | 3bc7cb99fb6eafae5a40bf71ded444df70a425f7 (patch) | |
tree | 52a455a8a049aeceb3e93c1dbf8167a518701903 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 8056704ba948c1c54c7a67d78a8399a749f2d04b (diff) |
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 <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions