commit | a24ef8831f46bd5f7a7e43c2db1a6415fedfedf8 | [log] [tgz] |
---|---|---|
author | Samuel Holland <samuel@sholland.org> | Sun Jan 22 17:46:20 2023 -0600 |
committer | Andre Przywara <andre.przywara@arm.com> | Fri Apr 28 01:29:40 2023 +0100 |
tree | fa1adf12d514c54579eb7fb5271c396f7f17455a | |
parent | 62a160fe6c26bd8af1dac08a2ecf85e368ef482a [diff] |
power: regulator: Add a driver for the AXP USB power supply This driver reports the presence/absence of voltage on the PMIC's USB VBUS pin. This information is used by the USB PHY driver. The corresponding Linux driver uses the power supply class, which does not exist in U-Boot. UCLASS_REGULATOR seems to be the closest match. Signed-off-by: Samuel Holland <samuel@sholland.org> Acked-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>