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

2016-12-21 Thread Peng Fan
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Wednesday, December 21, 2016 10:08 PM > To: Peng Fan ; sba...@denx.de > Cc: u-boot@lists.denx.de; van.free...@gmail.com; Simon Glass > > Subject: Re: [PATCH 1/3] usb: ehci-mx6:

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

2016-12-21 Thread Marek Vasut
On 12/21/2016 09:14 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

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

2016-12-21 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