]> git.ipfire.org Git - thirdparty/linux.git/commit
dt-bindings: usb: qcom,snps-dwc3: Add missing clocks and interrupts constraints
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Mon, 23 Mar 2026 08:54:13 +0000 (09:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Mar 2026 14:54:12 +0000 (16:54 +0200)
commit2c0471192910263d4e6dc964f307c915f56d7a3a
tree0062642477504fda077692efcfce6f7ee45e6d2f
parent2a6bfe9e46eebc17f7bf734c0232e173aae4f86b
dt-bindings: usb: qcom,snps-dwc3: Add missing clocks and interrupts constraints

The top-level part defines variable number of clocks and interrupts, and
each "if:then:" block narrows them.  It however narrows only the
maxItems leaving minItems undefined, which then takes different values
depending on dtschema being used.

Recommended style is to avoid ambiguity in such case, thus if top-level
part has broad constraints, then each "if:then:" must specify both upper
and lower limits.

Add missing constraints, mostly minItems but also maxItems for one
variant.

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-2-3bcd37c0a5b5@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml