diff options
author | Peng Fan <peng.fan@nxp.com> | 2016-12-22 17:06:42 +0800 |
---|---|---|
committer | Marek Vasut <marek.vasut@gmail.com> | 2017-01-17 10:26:32 +0100 |
commit | cccbddc38c431a0afd7fd0b3e1d48e5326610084 (patch) | |
tree | 049bec6a869251df4873802faea3c8fbd08cf6a7 /test/dm/gpio.c | |
parent | 63d747477be2f6f948760f2dc9ce0f440c0af45c (diff) | |
download | u-boot-imx-cccbddc38c431a0afd7fd0b3e1d48e5326610084.zip u-boot-imx-cccbddc38c431a0afd7fd0b3e1d48e5326610084.tar.gz u-boot-imx-cccbddc38c431a0afd7fd0b3e1d48e5326610084.tar.bz2 |
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>
Diffstat (limited to 'test/dm/gpio.c')
0 files changed, 0 insertions, 0 deletions