dt-bindings: usb: qcom,snps-dwc3: Add constraints for IPQ5424 and IPQ9574

The qcom,ipq5424-dwc3 and qcom,ipq9574-dwc3 are already documented in
top level part, but they miss specific constraints for clocks (IPQ5424)
and interrupts (both).

Closes: https://sashiko.dev/#/patchset/20260319092348.35237-2-krzysztof.kozlowski%40oss.qualcomm.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260323-dt-bindings-snps-qcom-dwc3-cleanup-v2-5-3bcd37c0a5b5@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Krzysztof Kozlowski 2026-03-23 09:54:16 +01:00 committed by Greg Kroah-Hartman
parent 2bd012e02b
commit 5b99bcbae2

View File

@ -203,6 +203,7 @@ allOf:
compatible:
contains:
enum:
- qcom,ipq5424-dwc3
- qcom,ipq9574-dwc3
- qcom,kaanapali-dwc3
- qcom,msm8953-dwc3
@ -491,6 +492,26 @@ allOf:
- const: dp_hs_phy_irq
- const: dm_hs_phy_irq
- if:
properties:
compatible:
contains:
enum:
- qcom,ipq5424-dwc3
- qcom,ipq9574-dwc3
then:
properties:
interrupts:
minItems: 5
maxItems: 5
interrupt-names:
items:
- const: dwc_usb3
- const: pwr_event
- const: qusb2_phy
- const: dp_hs_phy_irq
- const: dm_hs_phy_irq
- if:
properties:
compatible: