Thanks for the reply. Below is the behavior at my end for the custom board.
2.USB Type C connector pins USB2_D_P and USB2_D_N directly connected to pins 123 and 121 respectively. The type C connector supports both USB 2.0 and USB 3.0. Refer the schematics.
Followed the suggested document. In the above schematics of USB type C connector, the signals usb3 tx and usb3 rx are used when in usb3 mode, but if connect to a usb2 device, usb2_d is used. That means in our design USB3 is paired with USB2-2 (i.e USB2 port 2), so in DTSI usb2 companion should be changed, it should be “nvidia,usb2-companion = <2>;”.
Modified the tegra194-p3668-common.dtsi file as above.
If I connect the USB mouse and USB keyboard (using type C converter) to type C port both are detected but giving error for DELL Keyboard (tried two different DELL keyboards) below is the kernel log.
Dell Keyboard error - kernel log
nx@ubuntu:~$ sudo dmesg
[ 1148.144576] tegra-xusb 3610000.xhci: Firmware timestamp: 2022-03-16 11:07:43 UTC, Version: 60.13 release
[ 1148.508829] usb 1-3: new low-speed USB device number 20 using tegra-xusb
[ 1148.665184] usb 1-3: New USB device found, idVendor=413c, idProduct=2107, bcdDevice= 1.15
[ 1148.665258] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1148.669134] usb 1-3: can’t set config #1, error -71
[ 1148.906692] usb 1-3: USB disconnect, device number 20
[ 1150.352905] usb 1-3: new low-speed USB device number 21 using tegra-xusb
[ 1150.503633] usb 1-3: device descriptor read/all, error -71
[ 1150.632823] usb 1-3: new low-speed USB device number 22 using tegra-xusb
[ 1150.789637] usb 1-3: New USB device found, idVendor=413c, idProduct=2107, bcdDevice= 1.15
[ 1150.789670] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1150.789682] usb 1-3: Product: Dell USB Entry Keyboard
[ 1150.789690] usb 1-3: Manufacturer: Dell
[ 1150.804512] input: Dell Dell USB Entry Keyboard as /devices/platform/3610000.xhci/usb1/1-3/1-3:1.0/0003:413C:2107.0006/input/input10
[ 1150.867404] hid-generic 0003:413C:2107.0006: input,hidraw0: USB HID v1.10 Keyboard [Dell Dell USB Entry Keyboard] on usb-3610000.xhci-3/input0
[ 1152.197894] usb 1-3: reset low-speed USB device number 22 using tegra-xusb
[ 1152.488718] usb 1-3: device firmware changed
[ 1152.489152] usb 1-3: USB disconnect, device number 22
[ 1152.684828] usb 1-3: new low-speed USB device number 23 using tegra-xusb
[ 1152.841559] usb 1-3: New USB device found, idVendor=413c, idProduct=2107, bcdDevice= 1.15
[ 1152.841652] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1152.850356] usb 1-3: can’t set config #1, error -71
[ 1153.097318] usb 1-3: USB disconnect, device number 23
[ 1153.245659] tegra-xusb 3610000.xhci: entering ELPG done
[ 1154.318295] tegra-xusb 3610000.xhci: Firmware timestamp: 2022-03-16 11:07:43 UTC, Version: 60.13 release
[ 1154.680863] usb 1-3: new low-speed USB device number 24 using tegra-xusb
[ 1154.838136] usb 1-3: New USB device found, idVendor=413c, idProduct=2107, bcdDevice= 1.15
[ 1154.838168] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1154.838179] usb 1-3: Product: Dell USB Entry Keyboard
[ 1154.838190] usb 1-3: Manufacturer: Dell
[ 1154.847838] usb 1-3: can’t set config #1, error -71
[ 1166.944945] usb 1-3: USB disconnect, device number 24
[ 1167.099185] tegra-xusb 3610000.xhci: entering ELPG done
[ 1168.706985] tegra-xusb 3610000.xhci: Firmware timestamp: 2022-03-16 11:07:43 UTC, Version: 60.13 release
[ 1168.940824] usb 1-3: new low-speed USB device number 25 using tegra-xusb
[ 1169.100961] usb 1-3: unable to read config index 0 descriptor/start: -71
[ 1169.101285] usb 1-3: can’t read configurations, error -71
[ 1169.228845] usb 1-3: new low-speed USB device number 26 using tegra-xusb
[ 1169.385616] usb 1-3: unable to read config index 0 descriptor/start: -71
[ 1169.385920] usb 1-3: can’t read configurations, error -71
[ 1169.386772] usb usb1-port3: attempt power cycle
1.USB Type A port (USB2.0 host) pins USB1_D_P and USB1_D_N directly connected to pins 117 and 115 respectively. Refer the schematics.
Connected multiple devices to the USB Type A port (USB2.0 host) none of the device got detected and still getting below errors.
[ 587.923383] irq: IRQ270: trimming hierarchy from :pmc@c360000
[ 602.720912] tegra-xusb 3610000.xhci: Firmware timestamp: 2022-03-16 11:07:43 UTC, Version: 60.13 release
[ 603.085174] usb 1-2: new full-speed USB device number 2 using tegra-xusb
[ 603.213444] usb 1-2: device descriptor read/64, error -71
[ 603.449257] usb 1-2: device descriptor read/64, error -71
[ 603.685143] usb 1-2: new full-speed USB device number 3 using tegra-xusb
[ 603.813321] usb 1-2: device descriptor read/64, error -71
[ 604.049335] usb 1-2: device descriptor read/64, error -71
[ 604.157907] usb usb1-port2: attempt power cycle
[ 604.569095] usb 1-2: new full-speed USB device number 4 using tegra-xusb
[ 604.569612] usb 1-2: Device not responding to setup address.
[ 604.777617] usb 1-2: Device not responding to setup address.
[ 604.985351] usb 1-2: device not accepting address 4, error -71
[ 605.113083] usb 1-2: new full-speed USB device number 5 using tegra-xusb
[ 605.113581] usb 1-2: Device not responding to setup address.
[ 605.321575] usb 1-2: Device not responding to setup address.
[ 605.529180] usb 1-2: device not accepting address 5, error -71
[ 605.529921] usb usb1-port2: unable to enumerate USB device
[ 605.535419] tegra-xusb 3610000.xhci: entering ELPG done
What is puzzling me why USB2-1 is not working, while it is direct connection between USB-A port to the pins 117 and 115 respectively?
Attaching schematics of USB A port in connection with pins 117 and 115.
It would be appreciated if you could help.
with Regards,
Ashwath B N