On 22 December 2016 at 22:06, Peng Fan <peng....@nxp.com> wrote: > Implement ofdata_to_platdata to set the type to host or device. > - Check "dr-mode" property. > - If there is no "dr-mode", check phy_ctrl for i.MX6 > and phy_status for i.MX7 > > Signed-off-by: Peng Fan <peng....@nxp.com> > Cc: Marek Vasut <ma...@denx.de> > Cc: Simon Glass <s...@chromium.org> > Cc: Stefano Babic <sba...@denx.de> > --- > > V2: > Add a ehci_usb_phy_mode function to check phy mode when dr-mode is otg, > or no mode property provided. > > drivers/usb/host/ehci-mx6.c | 75 > +++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 75 insertions(+)
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot