Re: [PATCH 3/7] dt-bindings: phy: cadence-torrent: Add binding for refclk driver

From: Rob Herring
Date: Thu Jan 07 2021 - 22:02:02 EST


On Thu, Dec 24, 2020 at 05:12:46PM +0530, Kishon Vijay Abraham I wrote:
> Add binding for refclk driver used to route the refclk out of the
> SERDES.
>
> Signed-off-by: Kishon Vijay Abraham I <kishon@xxxxxx>
> ---
> .../bindings/phy/phy-cadence-torrent.yaml | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
> index e266ade53d87..d3b96afd514c 100644
> --- a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
> +++ b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
> @@ -125,6 +125,23 @@ patternProperties:
>
> additionalProperties: false
>
> + "^refclk-driver":
> + type: object
> + description: |
> + Driver to route the reference clock out of the SERDES.
> + properties:
> + clocks:
> + maxItems: 1
> + description: Phandle to clock nodes representing the input to the
> + refclk driver.
> +
> + "#clock-cells":
> + const: 0

Just move to the parent node.

> +
> + required:
> + - clocks
> + - "#clock-cells"
> +
> required:
> - compatible
> - "#address-cells"
> --
> 2.17.1
>