[U-Boot] [PATCH V2 1/3] usb: ehci-mx6: implement ofdata_to_platdata
Marek Vasut
marex at denx.de
Mon Dec 26 09:55:38 CET 2016
On 12/26/2016 06:24 AM, Simon Glass wrote:
> 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>
>
Applied all to u-boot-usb/next , thanks.
--
Best regards,
Marek Vasut
More information about the U-Boot
mailing list