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

2021-10-25 Thread Andre Przywara
On Sun, 12 Sep 2021 09:22:42 -0500 Samuel Holland wrote: > The device tree binding provides for getting VBUS state from a device > referenced by phandle, as an optional alternative to using a GPIO. In > U-Boot, where there is no power supply class, this VBUS detection will > be implemented using

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

2021-09-12 Thread Samuel Holland
The device tree binding provides for getting VBUS state from a device referenced by phandle, as an optional alternative to using a GPIO. In U-Boot, where there is no power supply class, this VBUS detection will be implemented using a regulator device and its get_enable method. Let's hook this up