Re: [PATCH v2 2/5] dt-bindings: usb: qcom,snps-dwc3: Add missing clocks and interrupts constraints

From: Rob Herring (Arm)

Date: Tue Mar 24 2026 - 21:12:27 EST



On Mon, 23 Mar 2026 09:54:13 +0100, Krzysztof Kozlowski wrote:
> 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@xxxxxxxxxxxxxxxx>
>
> ---
>
> Changes in v2:
> 1. Narrow also interrupts for qcom,ipq5018-dwc3/qcom,ipq5332-dwc3
> ---
> Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml | 8 ++++++++
> 1 file changed, 8 insertions(+)
>

Acked-by: Rob Herring (Arm) <robh@xxxxxxxxxx>