Re: [PATCH v3 2/3] dt-bindings: clock: add TI CDCE6214 binding
From: Sascha Hauer
Date: Mon Apr 14 2025 - 02:49:41 EST
On Fri, Apr 11, 2025 at 12:21:49PM -0500, Rob Herring wrote:
> On Thu, Apr 10, 2025 at 12:34:57PM +0200, 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.
> >
> > Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
> > ---
> > .../devicetree/bindings/clock/ti,cdce6214.yaml | 155 +++++++++++++++++++++
> > include/dt-bindings/clock/ti,cdce6214.h | 24 ++++
> > 2 files changed, 179 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..12737e67dcf2d
> > --- /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:
>
> Needs '>' modifier
Ok.
>
> > + 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
>
> How can you have 2 clocks, but only 1 name? See my reply on v2.
maxItems: 1 is wrong. Should be 2.
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |