diff options
author | Samuel Holland <samuel@sholland.org> | 2021-09-12 17:22:42 +0300 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2021-10-25 16:49:28 +0300 |
commit | 6fa41cdd19b93b27483f071f96da8b66bebd7a37 (patch) | |
tree | fc2c4247911e1867af35ca49a0cb4ecb932175df /configs/nanopi_m1_defconfig | |
parent | 1da7b88cade196434b84e701c1dadcd3b37c97bc (diff) | |
download | u-boot-6fa41cdd19b93b27483f071f96da8b66bebd7a37.tar.xz |
phy: sun4i-usb: Support VBUS detection via power supply
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 to the PHY driver.
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>
Diffstat (limited to 'configs/nanopi_m1_defconfig')
0 files changed, 0 insertions, 0 deletions