mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-24 01:54:01 -05:00
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: 53c6d854be ("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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
bcb71579db
commit
440ca0cfdf
@@ -404,6 +404,7 @@ allOf:
|
||||
minItems: 2
|
||||
maxItems: 3
|
||||
interrupt-names:
|
||||
minItems: 2
|
||||
items:
|
||||
- const: pwr_event
|
||||
- const: qusb2_phy
|
||||
@@ -425,6 +426,7 @@ allOf:
|
||||
minItems: 3
|
||||
maxItems: 4
|
||||
interrupt-names:
|
||||
minItems: 3
|
||||
items:
|
||||
- const: pwr_event
|
||||
- const: qusb2_phy
|
||||
|
||||
Reference in New Issue
Block a user