diff options
| author | Marek Vasut <[email protected]> | 2022-10-14 19:24:26 +0200 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2022-10-29 01:40:31 +0200 |
| commit | 85052e90007bd9e11123bd691a8131089178a4f8 (patch) | |
| tree | 3b186c2129f36c1f411814661b51853b2cde5575 /tools/perf/scripts/python | |
| parent | 5f5c10ecaf3fdeba9b2b0af5301977420c2c4df0 (diff) | |
power: supply: bq25890: Add get_voltage support to Vbus regulator
The chip is capable of reporting Vbus voltage, add .get_voltage
implementation to Vbus regulator to report current Vbus voltage.
This requires for the Vbus regulator to be registered always
instead of the current state where the regulator is registered
only in case USB PHY is not found.
Do not provide Vbus regulator enable/disable ops in case USB PHY
is present, as they would race with USB PHY notifier which is also
used to toggle OTG boost mode.
Signed-off-by: Marek Vasut <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions