This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VH-Q1: USB2.0 DTS configuration

Part Number: TDA4VH-Q1
Other Parts Discussed in Thread: TDA4VH

Tool/software:

Hi,

  Platform:TDA4VH J784s4-evm(Our company test board cards)

  SDK:ti-processor-sdk-linux-adas-j784s4-evm-09_01_00_06

   We want to use the USB2.0 functionality of the board. I found that the default USB menuconfig is M, so we added the USB driver.

   +CONFIG_USB_CDNS3_SUPPORT=y

   +CONFIG_USB_CDNS3=y

cdns3_plat.c reported an error.

[0.6031]  xhic-hcd xhci-hcd.0.auto: XHCI Host Controller

[0.6032]  xhic-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1

[18.041]  xhic-hcd xhci-hcd.0.auto: can't setup: -110

[18.603]  xhic-hcd xhci-hcd.0.auto: USB bus 1 deregistered

[18.043]  xhic-hcd: probe of xhci-hcd.0.auto failed with error -110

The DTS:

&usbss0 {
	status = "okay";
pinctrl-0 = <&main_usbss0_pins_default>;
pinctrl-names = "default"; ti,vbus-divider; }; &usb0 { dr_mode = "otg"; };

USB0_VBUS already has 5v output and is connected to VCC .

USB0_ID is connected to GND.

USB0_DP is connected to D+.

USB0_DM is connected to D-.

Please check my dts configuration.

Thanks

  • Hi Chen,

    Are you using custom board or TI EVM?

       We want to use the USB2.0 functionality of the board. I found that the default USB menuconfig is M, so we added the USB driver.

       +CONFIG_USB_CDNS3_SUPPORT=y

       +CONFIG_USB_CDNS3=y

    cdns3_plat.c reported an er

    By default it is enabled as module can you revert your changes and keep to default configs(as M). 

    Regards
    Diwakar

  • Hi,

    1、We are using custom board.(The hardware line connection is consistent with the TI board)

    2、I try to use the default configuration and change the modules in the file system.The usb driver module can be loaded automatically. But the same error will still be reported. It cannot load USB devices

    We want to compile the USB driver into the kernel. What macros do we need to add in menuconfig.

    Thanks

  • Hi Chen,

    Can you share the dtb(not dts), schematic also logs with the default config.

    Regards
    Diwakar

  • Hi

    We've solved the problem. Thank you

    Thanks