Skip to content

Commit 440ca0c

Browse files
quic-kdybciogregkh
authored andcommitted
dt-bindings: usb: qcom,dwc3: Synchronize minItems for interrupts and -names
It makes sense that ARRAY_SIZE(prop) should == ARRAY_SIZE(prop-names), so allow that to happen with interrupts. Fixes bogus warnings such as: usb@c2f8800: interrupt-names: ['pwr_event', 'qusb2_phy', 'hs_phy_irq'] is too short Fixes: 53c6d85 ("dt-bindings: usb: dwc3: Clean up hs_phy_irq in binding") Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20250308-topic-dt_bindings_fixes_usb-v2-1-3169a3394d5b@oss.qualcomm.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent bcb7157 commit 440ca0c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Documentation/devicetree/bindings/usb/qcom,dwc3.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ allOf:
404404
minItems: 2
405405
maxItems: 3
406406
interrupt-names:
407+
minItems: 2
407408
items:
408409
- const: pwr_event
409410
- const: qusb2_phy
@@ -425,6 +426,7 @@ allOf:
425426
minItems: 3
426427
maxItems: 4
427428
interrupt-names:
429+
minItems: 3
428430
items:
429431
- const: pwr_event
430432
- const: qusb2_phy

0 commit comments

Comments
 (0)