]> git.dujemihanovic.xyz Git - u-boot.git/commit
power: regulator: Add a driver for the AXP USB power supply
authorSamuel Holland <samuel@sholland.org>
Sun, 22 Jan 2023 23:46:20 +0000 (17:46 -0600)
committerAndre Przywara <andre.przywara@arm.com>
Fri, 28 Apr 2023 00:29:40 +0000 (01:29 +0100)
commitee6a678263598b737bbc3f9a6f4932eb2739f5c4
treefa1adf12d514c54579eb7fb5271c396f7f17455a
parent2a6805b5fa701a9dfc7fbd36965211fad613996d
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>
drivers/power/regulator/Kconfig
drivers/power/regulator/Makefile
drivers/power/regulator/axp_usb_power.c [new file with mode: 0644]