[U-Boot] [PATCH V2 1/3] usb: ehci-mx6: implement ofdata_to_platdata
Simon Glass
sjg at chromium.org
Mon Dec 26 06:24:36 CET 2016
On 22 December 2016 at 22:06, Peng Fan <peng.fan at 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.fan at nxp.com>
> Cc: Marek Vasut <marex at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Stefano Babic <sbabic at 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 <sjg at chromium.org>
More information about the U-Boot
mailing list