[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190625083036.jrr7kz7f6ks6nqps@flea>
Date: Tue, 25 Jun 2019 10:30:36 +0200
From: Maxime Ripard <maxime.ripard@...tlin.com>
To: Stefan Popa <stefan.popa@...log.com>
Cc: jic23@...nel.org, robh+dt@...nel.org, mark.rutland@....com,
knaack.h@....de, lars@...afoo.de, pmeerw@...erw.net,
Michael.Hennerich@...log.com, gregkh@...uxfoundation.org,
linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/4] dt-bindings: iio: frequency: Use dt-schema for
clock-names
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@...log.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
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists