[U-Boot] [PATCH v4] usb: ehci-generic: Add vbus-supply regulator support

Marek Vasut marex at denx.de
Mon Sep 3 16:16:18 UTC 2018


On 09/03/2018 03:39 PM, Patrice Chotard wrote:
> Add vbus-supply regulator support.
> On some board vbus is not controlled by the phy but by
> an external regulator.
> 
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> ---
> 
> Changes in v4:
>       - Remove useless dev->name in dev_dgb()

Two remaining nits, can you pull the regulator handling into separate
functions and put ifdef arounds those, with empty default
implementation? That way, the ifdefs won't be spread throughout the code.

Also, rebase on u-boot-usb/master please.

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list