Re: [PATCH v4 2/3] dt-bindings: clock: add TI CDCE6214 binding
From: Krzysztof Kozlowski
Date: Thu May 01 2025 - 07:54:54 EST
On Wed, Apr 30, 2025 at 11:01:35AM GMT, Sascha Hauer wrote:
> The CDCE6214 is a Ultra-Low Power Clock Generator With One PLL, Four
> Differential Outputs, Two Inputs, and Internal EEPROM. This patch adds
> the device tree binding for this chip.
BTW, a nit:
"Add device tree binding for the CDCE6214, an Ultra ......"
so you won't use "This patch" and make everyting one simple sentence.
>
> Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
> ---
> .../devicetree/bindings/clock/ti,cdce6214.yaml | 155 +++++++++++++++++++++
> include/dt-bindings/clock/ti,cdce6214.h | 25 ++++
> 2 files changed, 180 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/clock/ti,cdce6214.yaml b/Documentation/devicetree/bindings/clock/ti,cdce6214.yaml
> new file mode 100644
> index 0000000000000..d4a3a3df9ceb9
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/ti,cdce6214.yaml
> @@ -0,0 +1,155 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/clock/ti,cdce6214.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: TI CDCE6214 programmable clock generator with PLL
> +
> +maintainers:
> + - Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
> +
> +description: >
> + Ultra-Low Power Clock Generator With One PLL, Four Differential Outputs,
> + Two Inputs, and Internal EEPROM
> +
> + https://www.ti.com/product/CDCE6214
> +
> +properties:
> + compatible:
> + enum:
> + - ti,cdce6214
> +
> + reg:
> + maxItems: 1
> +
> + clocks:
> + minItems: 1
> + maxItems: 2
> +
> + clock-names:
> + minItems: 1
> + maxItems: 1
No improvements, this should be 2.
> + items:
> + enum: [ priref, secref ]
This can be simpler - and you need to keep the order:
minItems: 1
items:
- enum: [ priref, secref ]
- const: secref
Best regards,
Krzysztof