[PATCH v2 1/8] power: regulator: Add a driver for the AXP PMIC drivevbus

Jernej Škrabec jernej.skrabec at gmail.com
Thu Apr 10 09:04:35 CEST 2025


Dne sreda, 9. april 2025 ob 02:20:29 Srednjeevropski poletni čas je Andre Przywara napisal(a):
> From: Samuel Holland <samuel at sholland.org>
> 
> AXP PMICs have a pin which can either report the USB VBUS state, or
> driving a regulator that supplies USB VBUS. Add a regulator driver for
> controlling this pin. The selection between input and output is done via
> the x-powers,drive-vbus-en pin on the PMIC (parent) node.
> 
> Signed-off-by: Samuel Holland <samuel at sholland.org>
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>

Would it be less error prone to auto enable Kconfig option when compatible
AXP device is enabled? That way defconfigs could be smaller. Driver is pretty
small anyway.

In any case:
Reviewed-by: Jernej Skrabec <jernej.skrabec at gmail.com>

Best regards,
Jernej




More information about the U-Boot mailing list