commit | cccbddc38c431a0afd7fd0b3e1d48e5326610084 | [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 | 63d747477be2f6f948760f2dc9ce0f440c0af45c [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>