[PATCH v3 1/1] arm64: dts: tqma8mpql: add USB DR support

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Oct 24 06:46:13 PDT 2022


Hello,

On 18.10.22 04:07, Jun Li wrote:
>> -----Original Message-----
>> From: Ahmad Fatoum <a.fatoum at pengutronix.de>
>> Thanks for the info. Do you know if this issue exists with the i.MX8MN as
>> well? A colleague had trouble bringing up the OTG_ID HW function and I assume
>> it may be the same issue. I am unsure though, because the
>> imx8mn-tqma8mqnl-mba8mx.dts muxes the pad as OTG_ID.
> 
> No, iMX8MN is completely different IP(USB2 only) than iMX8MP, iMX8MN
> has *OTG* inside so the ID functionality should be fine, what's the
> trouble you colleague had?

I see. Problem was that changes to the OTG pins were not detected
on an i.MX8MN-based board, despite the colleague being sure that
OTG controller registers were set correctly.. I'll have to catch up with
him for more info. My current suspicion is that it may have been
runtime-suspend related.

I'll ask him to test again with your series separating USB/HSIO PDs.

  https://lore.kernel.org/all/1664192735-14313-1-git-send-email-jun.li@nxp.com/

We had a udev rule already, which I tested working on an i.MX8MM:

  SUBSYSTEM=="platform", ACTION=="add", DRIVER=="imx_usb", ATTR{power/control}="on"

But apparently something is still amiss.

Thanks for the help everybody,
Ahmad

> 
> Li Jun
>  
>>
>> Cheers,
>> Ahmad
>>
>>>
>>> Best Regards,
>>>
>>> Tim
>>>
>>
>>
>> --
>> Pengutronix e.K.                           |                             |
>> Steuerwalder Str. 21                       |
>> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.pe
>> ngutronix.de%2F&data=05%7C01%7Cjun.li%40nxp.com%7Cac32a99803dc4e710
>> 4d408dab0777a15%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6380163244
>> 44837508%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLC
>> JBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=4TFBorG%2BucyYuy
>> HrwhTDxjz4GV3%2FsCaHzx7i4cdw5Zw%3D&reserved=0  |
>> 31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
>> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> 
> 


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the linux-arm-kernel mailing list