I don’t think you need to write a usbP9-0-reg-enable here. Just give the rtso1001_p9_0_5v0 regulator to the vbus. Please refer to the adaptation guide for usb porting.
I comment out usbP9-0-reg-enable，then update the DTB file, and the problem is the same as before.
What kind of usb device are in use now? Can you try different usb devices and see if any error from dmesg?
As my previous comment said there is no error from the dmesg.
Now I only have a USB wireless mouse and a USB storage device on my device . Attached is the log of this time. Help me see if can find the problem.
nvidia-bug-report-tegra.log (578.1 KB)
I still cannot find out what kind of problem you have here.
The USB wireless is getting detected.
nvidia-desktop kernel: input: MOSART Semi. Mi Wireless Combo as /devices/3610000.xhci/usb1/1-2/1-2:1.0/0003:2717:5010.0001/input/input4
Do you connect this on the problematic port or you connect on another hub? Please do not put usb device to unnecessary port.
When the device start , I was connecting the USB wireless mouse to problematic port,When this USB port power off, I connect the mouse into another USB port .After that, I connect a USB storage device into another USB port to save the log.
Just connect it to the problematic usb port and share me the whole dmesg. That’s all you need to do.
Do not connect any other device anymore.
Also, I don’t need nvidia-bug-report-tegra.log. Just dmesg and lsusb are sufficient.
The weird thing is I still see your wireless mouse gets detected in the beginning.
[ 2.253542] usb 1-2: new full-speed USB device number 2 using tegra-xusb
[ 2.275995] usb 1-2: New USB device found, idVendor=2717, idProduct=5010
[ 2.276003] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.276008] usb 1-2: Product: Mi Wireless Combo
[ 2.276013] usb 1-2: Manufacturer: MOSART Semi.
[ 2.278039] input: MOSART Semi. Mi Wireless Combo as /devices/3610000.xhci/usb1/1-2/1-2:1.0/0003:2717:5010.0001/input/input4
[ 2.337968] hid-generic 0003:2717:5010.0001: input,hidraw0: USB HID v1.10 Keyboard [MOSART Semi. Mi Wireless Combo] on usb-3610000.xhci-2/input0
[ 2.340635] input: MOSART Semi. Mi Wireless Combo as /devices/3610000.xhci/usb1/1-2/1-2:1.1/0003:2717:5010.0002/input/input5
[ 2.397890] hid-generic 0003:2717:5010.0002: input,hidraw1: USB HID v1.10 Mouse [MOSART Semi. Mi Wireless Combo] on usb-3610000.xhci-2/input1
Also, do you really give the usb-p9-0-5v0 to the vbus-supply of your usb port? I see the log says it is getting disabled.
Which means no one is using this regulator.
[ 42.337881] usb-p9-0-5v0: disabling
The system start to dispaly the login screen, problematic USB port was available, but then it was unavailable .
“wireless mouse gets detected in the beginning”. Is that the reason?
usb-p9-0-5v0 has been used in devicetree
Do you really read the usb porting guide? Your reply sounds like you didn’t read it.
I have read porting guide, Is there something wrong with my device tree?
You need to give that regulator to the vbus-supply inside the usb controller. Otherwise it won’t know there is such regulator…
Whether this setting is feasible?but the problem is the same as before.
Can you just attach your full dts file, full schematic and current dmesg? Stop sharing these picture one by one.
Thanks for the support, The problem has been solved.
Please share how you resolve this issue.
I’m terribly sorry for my carelessness, In tegra-p1001-disp.dtsi file, I used the devkit fixed-regulator dtsi file，in fact we used the modified file on custom board.