summaryrefslogtreecommitdiff
path: root/configs/imx8qm_mek_androidauto_defconfig
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-10-24 01:08:26 -0700
committerYe Li <ye.li@nxp.com>2018-10-25 18:34:13 -0700
commitd62ffbb7fa3136062a977d4f8bdc0f03b464b8e4 (patch)
tree6a736ec9dc0e8f644fef127814e0962a9ccf6f63 /configs/imx8qm_mek_androidauto_defconfig
parenta678bfef83e7ca7c4ff3a599b23d6af176803ea1 (diff)
MLK-20057 usb: ehci-mx6: Fix usb type issue in DM driver
Currently the clocks and power of USB controller and USB PHY are both controlled by ehci-mx6 driver in device probe. However, the function "ehci_usb_ofdata_to_platdata" calls "ehci_usb_phy_mode" to access PHY registers when "dr_mode" is set to OTG, both "dr_mode" and "extcon" properties are not set in DTB. This may cause hang at accessing USB PHY registers if the power and clocks are not enabled. Change the usb type logic to more clear way: 1. plat->init_type: The requested USB mode type from uplayers 2. priv->init_type: The USB mode type specified by DTB or by the USB ID pin or by external controller like tcpc or GPIO. 3. If two init_type are not same, return failure. Align with non-DM driver. 4. USB PHY access is moved after power and clock enabled. Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'configs/imx8qm_mek_androidauto_defconfig')
0 files changed, 0 insertions, 0 deletions