commit | 9e3eab30ca88c3a9c72b6be162e3b53059f0d9dc | [log] [tgz] |
---|---|---|
author | Peng Fan <peng.fan@nxp.com> | Thu Dec 22 17:06:42 2016 +0800 |
committer | Marek Vasut <marek.vasut@gmail.com> | Tue Jan 17 10:26:32 2017 +0100 |
tree | 049bec6a869251df4873802faea3c8fbd08cf6a7 | |
parent | 4e2465d65d8b569b9b4f2a62c81fcd180d1618ba [diff] |
usb: ehci-mx6: implement ofdata_to_platdata 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@nxp.com> Cc: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Stefano Babic <sbabic@denx.de>