[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241024-broiler-energetic-243fff75aa5b@spud>
Date: Thu, 24 Oct 2024 17:45:17 +0100
From: Conor Dooley <conor@...nel.org>
To: David Lechner <dlechner@...libre.com>
Cc: Nuno Sá <noname.nuno@...il.com>,
Angelo Dureghello <adureghello@...libre.com>,
Nuno Sá <nuno.sa@...log.com>,
Lars-Peter Clausen <lars@...afoo.de>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Jonathan Cameron <jic23@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Olivier Moysan <olivier.moysan@...s.st.com>,
linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, Mark Brown <broonie@...nel.org>
Subject: Re: [PATCH v7 2/8] dt-bindings: iio: dac: adi-axi-dac: add ad3552r
axi variant
On Thu, Oct 24, 2024 at 09:43:02AM -0500, David Lechner wrote:
> >>>
> >> thanks, could you maybe have a look if it's ok now ?
> >> (maxItems not needed for a const list)
> >>
> >> clocks:
> >> minItems: 1
> >> maxItems: 2
> >>
> >> clock-names:
> >> items:
> >> - const: s_axi_aclk
> >> - const: dac_clk
> >> minItems: 1
> >>
> >> '#io-backend-cells':
> >> const: 0
> >>
> >> required:
> >> - compatible
> >> - dmas
> >> - reg
> >> - clocks
> >>
> >> allOf:
> >> - if:
> >> properties:
> >> compatible:
> >> contains:
> >> const: adi,axi-ad3552r
> >> then:
> >> $ref: /schemas/spi/spi-controller.yaml#
> >> properties:
> >> clocks:
> >> minItems: 2
> >> clock-names:
> >> minItems: 2
>
>
> For this one, I think we also need:
>
> required:
> - clock-names
Ye, Angelo had that in the version posted in response to the driver
patch.
This looks ~correct.
>
> >> else:
> >> properties:
> >> clocks:
> >> maxItems: 1
> >> clock-names:
> >> maxItems: 1
> >
> > I guess in this case it could even be clock-names: false. One does not make much
> > sense.
And since it is not mandatory, doubly useless.
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists