commit | ee6a678263598b737bbc3f9a6f4932eb2739f5c4 | [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 | 2a6805b5fa701a9dfc7fbd36965211fad613996d [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>