Re: [PATCH 1/3] dt-bindings: usb: renesas,usbhs: Support external ref clock

From: Rob Herring
Date: Wed Jul 14 2021 - 17:27:48 EST


On Wed, Jun 30, 2021 at 12:30:40PM -0500, Adam Ford wrote:
> The usbhs driver expects a fixed external reference clock, but it
> could be sourced from a programmable clock instead of a fixed clock.
> Add support for an optional 4th reference clock.
>
> Signed-off-by: Adam Ford <aford173@xxxxxxxxx>
>
> diff --git a/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml b/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml
> index e67223d90bb7..2372d8c42979 100644
> --- a/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml
> +++ b/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml
> @@ -53,11 +53,12 @@ properties:
>
> clocks:
> minItems: 1
> - maxItems: 3
> + maxItems: 4

You won't need this in v5.14-rc1. These are implied by 'items' length if
not specified.

> items:
> - description: USB 2.0 host
> - description: USB 2.0 peripheral
> - description: USB 2.0 clock selector
> + - description: Optional external reference clock
>
> interrupts:
> maxItems: 1
> --
> 2.25.1
>
>