This is a cache of https://discuss.96boards.org/t/qcom-5-4-usb-not-working/9377. It is a snapshot of the page at 2024-10-31T12:36:20.230+0000.
Qcom-5.4 - usb not working - DragonBoard 820c - 96Boards Forum

Qcom-5.4 - usb not working

i am using this kernel,
https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/log/?h=release/qcomlt-5.4

usb does not works, please suggest

root@linaro-alip:~# dmesg | grep usb
[ 0.940392] usbcore: registered new interface driver usbfs
[ 0.940429] usbcore: registered new interface driver hub
[ 0.940504] usbcore: registered new device driver usb
[ 6.308021] usbcore: registered new interface driver rtl8150
[ 6.345754] usbcore: registered new interface driver r8152
[ 6.351364] usbcore: registered new interface driver asix
[ 6.356735] usbcore: registered new interface driver ax88179_178a
[ 6.359549] dwc3-qcom 76f8800.usb: IRQ hs_phy_irq not found
[ 6.381269] dwc3-qcom 76f8800.usb: IRQ dp_hs_phy_irq not found
[ 6.386748] dwc3-qcom 76f8800.usb: IRQ dm_hs_phy_irq not found
[ 6.386754] dwc3-qcom 76f8800.usb: IRQ ss_phy_irq not found
[ 6.411054] dwc3-qcom 6af8800.usb: IRQ hs_phy_irq not found
[ 6.418257] dwc3-qcom 6af8800.usb: IRQ dp_hs_phy_irq not found
[ 6.431791] dwc3-qcom 6af8800.usb: IRQ dm_hs_phy_irq not found
[ 6.431795] dwc3-qcom 6af8800.usb: IRQ ss_phy_irq not found
[ 6.493042] usbcore: registered new interface driver usb-storage
[ 6.493134] usbcore: registered new interface driver usbserial_generic
[ 6.493153] usbserial: USB Serial support registered for generic
[ 7.429068] usbcore: registered new interface driver usbhid
[ 7.433226] usbhid: USB HID core driver
[ 7.492037] usbcore: registered new interface driver snd-usb-audio
[ 7.555819] qcom-qusb2-phy 7411000.phy: Registered Qcom-QUSB2 phy
[ 7.556595] qcom-qusb2-phy 7412000.phy: Registered Qcom-QUSB2 phy
[ 8.046943] dwc3-qcom 76f8800.usb: IRQ hs_phy_irq not found
[ 8.050537] dwc3-qcom 76f8800.usb: IRQ dp_hs_phy_irq not found
[ 8.055821] dwc3-qcom 76f8800.usb: IRQ dm_hs_phy_irq not found
[ 8.061708] dwc3-qcom 76f8800.usb: IRQ ss_phy_irq not found
[ 8.099400] dwc3-qcom 6af8800.usb: IRQ hs_phy_irq not found
[ 8.102533] dwc3-qcom 6af8800.usb: IRQ dp_hs_phy_irq not found
[ 8.107888] dwc3-qcom 6af8800.usb: IRQ dm_hs_phy_irq not found
[ 8.113797] dwc3-qcom 6af8800.usb: IRQ ss_phy_irq not found
root@linaro-alip:~#

Did you use the correct config?
http://snapshots.linaro.org/96boards/dragonboard820c/linaro/debian/latest/config-5.4.0-qcomlt-arm64

yes i had use the same defconfig , in general will use the defconfig and distro.config to create a .config, which is similar to config-5.4.0-qcomlt-arm64

make CROSS_COMPILE=$TC64 ARCH=arm64 -j32 defconfig distro.config

usb are working for you?

I think usb works for me on that kernel, but I can’t confirm it right now.

Apparently, it wasn’t working for me.

Try this patch;

usb is working after applying the patch.

thanks.

I just pushed the patch to qcomlt-5.4 branch [1], thanks for reporting. This patch is on PR for 5.6.

https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/commit/?h=release/qcomlt-5.4&id=00a8066121a92c84cc6427a7ea4e4721f7111351