]> git.ipfire.org Git - thirdparty/openwrt.git/commit
qualcommax: ipq50xx: Correct USB DWC3 wrapper interrupts
authorGeorge Moussalem <george.moussalem@outlook.com>
Thu, 8 Jan 2026 09:22:33 +0000 (13:22 +0400)
committerRobert Marko <robimarko@gmail.com>
Sun, 25 Jan 2026 10:21:36 +0000 (11:21 +0100)
commit9e99b5b6521d5941bdeced7fc060aaa57f8632f2
tree0a0bc3c42a209e3668bc80b978fccc0db9887ab9
parent404b81e0f763cb32db89d45aa88eac1fff5977b1
qualcommax: ipq50xx: Correct USB DWC3 wrapper interrupts

Interrupts for DWC3 node were completely mixed up - SPI interrupt 62 is
not listed in reference manual at all.  It was also causing dtbs_check
warnings:

  ipq5018-rdp432-c2.dtb: usb@8af8800 (qcom,ipq5018-dwc3): interrupt-names:0: 'pwr_event' was expected
  ipq5018-rdp432-c2.dtb: usb@8af8800 (qcom,ipq5018-dwc3): interrupt-names: ['hs_phy_irq'] is too short

Warning itself was introduced by commit 53c6d854be4e ("dt-bindings: usb:
dwc3: Clean up hs_phy_irq in binding"), but this was trying to bring
sanity to the interrupts overall, although did a mistake for IPQ5018.
IPQ5018 does not have QUSB2 PHY and its interrupts should rather match
ones used in IPQ5332.

Correct it by using interrupts matching the bindings and reference
manual.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/21454
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit e1a9636959253b5ff9e8c5467587b5ed5147a2e1)
target/linux/qualcommax/patches-6.12/0191-arm64-dts-qcom-ipq5018-Correct-USB-DWC3-wrapper-interrupts.patch [new file with mode: 0644]
target/linux/qualcommax/patches-6.12/0816-arm64-dts-qcom-ipq5018-add-wifi-support.patch