IMX 8m Plus do not support USB OTG

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX 8m Plus do not support USB OTG

380 次查看
quangan
Contributor I

I find that 8m mini support usb otg in the datasheet, but i can't find the similar word in 8m Plus. Is it not supported?

quangan_0-1711951662501.png

 

0 项奖励
4 回复数

358 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Currently, DRD is used instead of OTG, mainly for Type-C, so the OTG ID PIN is no longer needed.

 

Regards

Harvey

0 项奖励

352 次查看
hustdage
Contributor II

the OTG ID PIN is no longer needed?

 

But i.MX8MP even has no CC pin, how this chip can support typeC without peripheral circuits?

Without typeC peripheral circuits, how i.MX8MP can do role switch as you said "the OTG ID PIN is no longer needed"?

It is changed to using gpio usb id from a dedicated usb id pin from the infomation in schematic.

 

As I know linux can deal with the DRD message from typeC and gpio usb id pin both.

The default usb id in linux is using gpio as usb id.

 

 

Could you please explain the following?

3.png

1.png

2.png

0 项奖励

334 次查看
Harvey021
NXP TechSupport
NXP TechSupport

It mainly depends on whether the physical interface is type-c or OTG's AB interface. If it is Type-c, then you need to refer to the development board and add a ptn5110. If it is the AB interface of OTG, then the ID pin needs to be connected to a GPIO, software Here you need to use a GPIO-based exton driver. 

&usb_dwc3_0 {
  dr_mode = "otg";
  hnp-disable;
  srp-disable;
  adp-disable;
  extcon = <&extcon_usb0>;
  status = "okay";
};

extcon_usb0: extcon-usb0 {
    compatible = "linux,extcon-usb-gpio";
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_usb0_extcon>;
    id-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
  };

arch\arm64\boot\dts\freescale\imx8mp-msc-sm2s.dtsi Example of third-party boards, it requires the OTG ID pin to generate an interrupt. USB_DNUx cannot be used as GPIO and cannot generate interrupts, so the OTG Driver cannot run.

 

Regards

Harvey

0 项奖励

316 次查看
hustdage
Contributor II

I don't need  you to explain anything.  I know that than you can do.

I asked you to explain is to ask NXP to improve support quality. 

 

 OTG's AB interface?

Have you read Cable and Connector Specification?

AB interface could be a OTG?

Even USB 3.0 A SS and USB 3.0 B SS have no id pin defined. How it can be " OTG's AB interface"?

xx.png

r.png

 

0 项奖励