Relation between USB_OTG_ID and /sys/kernel/debug/ci_hdrc.0/role

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Relation between USB_OTG_ID and /sys/kernel/debug/ci_hdrc.0/role

ソリューションへジャンプ
1,552件の閲覧回数
yangao
Contributor III

Hi,

We are using iMX6 DL. On OTG port, we detected USB_OTG_ID is low but 

~# cat /sys/kernel/debug/ci_hdrc.0/role
gadget

Is there something wrong?

I am thinking USB_OTG_ID being low means OTG port works as host and I can connect some USB device to it; while /sys/kernel/debug/ci_hdrc.0/role being "gadget" means the OTG port is working as gadget mode so I can only connect a host to it, right?

 

Regards,

Winston

ラベル(1)
0 件の賞賛
返信
1 解決策
1,542件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Yes, your reasoning is correct, while the USB OTG ID pin is high/floating USB should be working as a device/gadget and when it is low it is working as a host.

Please check that you have configured correctly in your device tree this pin, you may refer to the following post:
https://community.nxp.com/t5/i-MX-Processors/USB-OTG-on-IMX6DL-detection-problem/m-p/766307

Best regards,
Aldo.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,531件の閲覧回数
yangao
Contributor III

Thanks for the reply. There are some HW issue and HW re-design make the two match.

Regards,

Winston

0 件の賞賛
返信
1,543件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Yes, your reasoning is correct, while the USB OTG ID pin is high/floating USB should be working as a device/gadget and when it is low it is working as a host.

Please check that you have configured correctly in your device tree this pin, you may refer to the following post:
https://community.nxp.com/t5/i-MX-Processors/USB-OTG-on-IMX6DL-detection-problem/m-p/766307

Best regards,
Aldo.

0 件の賞賛
返信