summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2022-10-14 19:24:26 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2022-10-29 01:40:31 +0200
commit85052e90007bd9e11123bd691a8131089178a4f8 (patch)
tree3b186c2129f36c1f411814661b51853b2cde5575 /scripts/gdb/linux/utils.py
parent5f5c10ecaf3fdeba9b2b0af5301977420c2c4df0 (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 <marex@denx.de> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions