Re: [U-Boot] [PATCH V2 1/3] usb: ehci-mx6: implement ofdata_to_platdata

2016-12-26 Thread Marek Vasut
On 12/26/2016 06:24 AM, Simon Glass wrote: > On 22 December 2016 at 22:06, Peng Fan 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:

Re: [U-Boot] [PATCH V2 1/3] usb: ehci-mx6: implement ofdata_to_platdata

2016-12-25 Thread Simon Glass
On 22 December 2016 at 22:06, Peng Fan 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 > Cc: Marek Vasut > Cc: Simon Glass >

[U-Boot] [PATCH V2 1/3] usb: ehci-mx6: implement ofdata_to_platdata

2016-12-22 Thread Peng Fan
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 Cc: Marek Vasut Cc: Simon Glass Cc: Stefano Babic --- V2: Add a ehci_usb_phy_mode function t

Re: [U-Boot] [PATCH V2 1/3] usb: ehci-mx6: implement ofdata_to_platdata

2016-12-22 Thread Marek Vasut
On 12/22/2016 10:06 AM, Peng Fan 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 > Cc: Marek Vasut > Cc: Simon Glass > Cc: St