]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: usb: qcom,dwc3: Make ss_phy_irq optional for X1E80100
authorKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Sat, 16 Nov 2024 11:17:52 +0000 (12:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2024 15:08:55 +0000 (16:08 +0100)
X1 has multiple DWC3 hosts, including one that's USB2, which naturally
means it doesn't have a SuperSpeed interrupt. Make it optional to fix
warnings such as:

usb@a2f8800: interrupt-names: ['pwr_event', 'dp_hs_phy_irq', 'dm_hs_phy_irq'] is too short

Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20241116-topic-x1e_usb2_bindings-v1-1-dde2d63f428f@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/qcom,dwc3.yaml

index 935e204b607bbd3bc9bfbdcd03519202197c9eb4..98bb82c795d4589c2aa55ebe8168e3e681d1d41b 100644 (file)
@@ -453,8 +453,10 @@ allOf:
     then:
       properties:
         interrupts:
+          minItems: 3
           maxItems: 4
         interrupt-names:
+          minItems: 3
           items:
             - const: pwr_event
             - const: dp_hs_phy_irq