Re: [PATCH v7 06/11] dt-bindings: usb: ci-hdrc-usb2-imx: add compatible and clock-names restriction for imx93

From: Krzysztof Kozlowski
Date: Thu Feb 29 2024 - 10:15:32 EST


On 28/02/2024 12:29, Xu Yang wrote:
> + # imx93 Soc needs two clocks
> + if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - fsl,imx93-usb
> + then:
> + properties:
> + clocks:
> + minItems: 2
> + maxItems: 2
> + clock-names:
> + items:
> + - const: usb_ctrl_root
> + - const: usb_wakeup
> + else:
> + # other imx Socs only need one clock
> + properties:
> + clocks:
> + minItems: 1

Drop minItems:1 if it equals to max. Everywhere.

Best regards,
Krzysztof