* [PATCH 1/4] dt-bindings: iio: frequency: Use dt-schema for clock-names
@ 2019-06-24 15:11 Stefan Popa
2019-06-25 8:30 ` Maxime Ripard
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Popa @ 2019-06-24 15:11 UTC (permalink / raw)
To: jic23, robh+dt
Cc: mark.rutland, knaack.h, lars, pmeerw, Michael.Hennerich, gregkh,
linux-iio, devicetree, linux-kernel, stefan.popa
Dt-schema can be used for clock-names property.
Signed-off-by: Stefan Popa <stefan.popa@analog.com>
---
Documentation/devicetree/bindings/iio/frequency/adf4371.yaml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
index d7adf074..8a2a8f6 100644
--- a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
+++ b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
@@ -27,9 +27,8 @@ properties:
maxItems: 1
clock-names:
- description:
- Must be "clkin"
- maxItems: 1
+ items:
+ - clkin
required:
- compatible
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/4] dt-bindings: iio: frequency: Use dt-schema for clock-names
2019-06-24 15:11 [PATCH 1/4] dt-bindings: iio: frequency: Use dt-schema for clock-names Stefan Popa
@ 2019-06-25 8:30 ` Maxime Ripard
2019-06-26 19:42 ` Jonathan Cameron
0 siblings, 1 reply; 3+ messages in thread
From: Maxime Ripard @ 2019-06-25 8:30 UTC (permalink / raw)
To: Stefan Popa
Cc: jic23, robh+dt, mark.rutland, knaack.h, lars, pmeerw,
Michael.Hennerich, gregkh, linux-iio, devicetree, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 916 bytes --]
Hi,
On Mon, Jun 24, 2019 at 06:11:37PM +0300, Stefan Popa wrote:
> Dt-schema can be used for clock-names property.
>
> Signed-off-by: Stefan Popa <stefan.popa@analog.com>
> ---
> Documentation/devicetree/bindings/iio/frequency/adf4371.yaml | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> index d7adf074..8a2a8f6 100644
> --- a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> +++ b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> @@ -27,9 +27,8 @@ properties:
> maxItems: 1
>
> clock-names:
> - description:
> - Must be "clkin"
> - maxItems: 1
> + items:
> + - clkin
You can even just have const: clkin here
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/4] dt-bindings: iio: frequency: Use dt-schema for clock-names
2019-06-25 8:30 ` Maxime Ripard
@ 2019-06-26 19:42 ` Jonathan Cameron
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2019-06-26 19:42 UTC (permalink / raw)
To: Maxime Ripard
Cc: Stefan Popa, robh+dt, mark.rutland, knaack.h, lars, pmeerw,
Michael.Hennerich, gregkh, linux-iio, devicetree, linux-kernel
On Tue, 25 Jun 2019 10:30:36 +0200
Maxime Ripard <maxime.ripard@bootlin.com> wrote:
> Hi,
>
> On Mon, Jun 24, 2019 at 06:11:37PM +0300, Stefan Popa wrote:
> > Dt-schema can be used for clock-names property.
> >
> > Signed-off-by: Stefan Popa <stefan.popa@analog.com>
> > ---
> > Documentation/devicetree/bindings/iio/frequency/adf4371.yaml | 5 ++---
> > 1 file changed, 2 insertions(+), 3 deletions(-)
> >
> > diff --git a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> > index d7adf074..8a2a8f6 100644
> > --- a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> > +++ b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> > @@ -27,9 +27,8 @@ properties:
> > maxItems: 1
> >
> > clock-names:
> > - description:
> > - Must be "clkin"
> > - maxItems: 1
> > + items:
> > + - clkin
>
> You can even just have const: clkin here
>
Given this is fairly independent from the rest of the series, I'll plough
on with the others and expect a v2 of this one to address Maxime's
suggestion.
Thanks,
Jonathan
> Maxime
>
> --
> Maxime Ripard, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-06-26 19:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-24 15:11 [PATCH 1/4] dt-bindings: iio: frequency: Use dt-schema for clock-names Stefan Popa
2019-06-25 8:30 ` Maxime Ripard
2019-06-26 19:42 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).