[PATCH 0/3] phy: sun4i-usb: Support VBUS detection via power supply

Samuel Holland samuel at sholland.org
Sun Sep 12 16:22:39 CEST 2021


This converts a hack (a virtual GPIO pin) to less of a hack (not-really
a regulator), but at least it now supports the device tree. This series
adds the consumer side. The new code won't do anything useful until the
regulator driver is merged (which depends on the DM_PMIC driver), but it
shouldn't hurt anything either.


Samuel Holland (3):
  phy: sun4i-usb: Remove a couple of debug messages
  phy: sun4i-usb: Refactor VBUS detection to match Linux
  phy: sun4i-usb: Support VBUS detection via power supply

 drivers/phy/allwinner/Kconfig         |  1 +
 drivers/phy/allwinner/phy-sun4i-usb.c | 34 ++++++++++++++-------------
 2 files changed, 19 insertions(+), 16 deletions(-)

-- 
2.31.1



More information about the U-Boot mailing list