i.MX8qxp USB 2.0 without Type-C (without OTG, without USB3.0)

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

i.MX8qxp USB 2.0 without Type-C (without OTG, without USB3.0)

ソリューションへジャンプ
3,567件の閲覧回数
Shawnkim
Contributor I

Hi

We are developing the board with Android Q("imx-android-10.0.0_2.5.0") on i.MX8qxp.

The Board's USB H/W is designed without USB 3.0 Type-C.

Designed in USB_OTG1 port dedicated device(peripheral) mode and USB_OTG2 port dedicated HOST mode.

At the beginning, I just compile the full android without any change and download it on the board but the USB not working at all.

After that, I removed "CONFIG_USB_XHCI_HCD" flag in "imx_v8_android_defconfig" and added "dr_mode = peripheral" in device tree of "&usbotg1"  but USB still not working at all.

is there any guidance for Android Q("imx-android-10.0.0_2.5.0") about  removing TYPE-C (USB3.0) ?

I attached the board's circuit diagram so Please take a look and give me an idea.

 

Thank you.

0 件の賞賛
返信
1 解決策
3,513件の閲覧回数
IvanRuiz
NXP Employee
NXP Employee

Hello,

 

can you try like this, to comment vbus_supply, please see below:

&usbotg1 {

//      vbus-supply = <&reg_usb_otg1_vbus>;

      srp-disable;

        hnp-disable;

        adp-disable;

      power-active-high;

        disable-over-current;

        status = "disabled";

};

 

Hope it helps!

 

BR,

Ivan.

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
3,553件の閲覧回数
Shawnkim
Contributor I

Hi

I'm Shawn Kim again.

I would like to explain more detail I got through debugging.

The problem is that the 'ci_hdrc.0' driver did not come-up, and so there is no gadget list in '/sys/class/udc/*'

And, I found the reason of 'ci_hrdc.0' missing is because of  'ci_hdrc_imx_probe()' was not called.

Now, I debug why 'ci_hdrc_imx_probe()' is not called, but it's hard to find the clues.

Please give me some ideas on this if any experts on this.

Thanks

BR

0 件の賞賛
返信
3,535件の閲覧回数
Shawnkim
Contributor I

I also attached the both side kernel log during booting.

the file "minicom.tw2.log" is my board's log and the file "minicom.mek2.log" is NXP EVB Board's log

Please take a look and give me an idea if there is any clue.

BR,

0 件の賞賛
返信
3,514件の閲覧回数
IvanRuiz
NXP Employee
NXP Employee

Hello,

 

can you try like this, to comment vbus_supply, please see below:

&usbotg1 {

//      vbus-supply = <&reg_usb_otg1_vbus>;

      srp-disable;

        hnp-disable;

        adp-disable;

      power-active-high;

        disable-over-current;

        status = "disabled";

};

 

Hope it helps!

 

BR,

Ivan.

0 件の賞賛
返信
3,507件の閲覧回数
Shawnkim
Contributor I

Hi Ivan,

I dug the problem myself and found the root cause. The problem is IC "PCA9557".
so. I fixed it in a different way.

Thanks.

BR

0 件の賞賛
返信