[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240423151321.GA273010-robh@kernel.org>
Date: Tue, 23 Apr 2024 10:13:21 -0500
From: Rob Herring <robh@...nel.org>
To: Alvin Šipraga <alvin@...s.dk>
Cc: Mark Brown <broonie@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>, linux-spi@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Alvin Šipraga <alsi@...g-olufsen.dk>
Subject: Re: [PATCH 1/3] spi: dt-bindings: nxp,sc18is602: convert binding to
YAML
On Tue, Apr 23, 2024 at 01:35:30PM +0200, Alvin Šipraga wrote:
> From: Alvin Šipraga <alsi@...g-olufsen.dk>
>
> Convert the txt binding to YAML. In the example, the node name was
> changed from sc18is603@28 to spi@28 to conform with the standard
> $nodename property in the spi-controller.yaml schema.
>
> Make myself maintainer of this binding, since nobody else has
> volunteered themselves.
>
> Signed-off-by: Alvin Šipraga <alsi@...g-olufsen.dk>
> ---
> .../devicetree/bindings/spi/nxp,sc18is602.yaml | 59 ++++++++++++++++++++++
> .../devicetree/bindings/spi/spi-sc18is602.txt | 23 ---------
> 2 files changed, 59 insertions(+), 23 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/spi/nxp,sc18is602.yaml b/Documentation/devicetree/bindings/spi/nxp,sc18is602.yaml
> new file mode 100644
> index 000000000000..5b34fdf6148a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/spi/nxp,sc18is602.yaml
> @@ -0,0 +1,59 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/spi/nxp,sc18is602.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: NXP SC18IS602/602B/603 I2C to SPI bridge
> +
> +maintainers:
> + - Alvin Šipraga <alsi@...g-olufsen.dk>
> +
> +properties:
> + compatible:
> + enum:
> + - nxp,sc18is602
> + - nxp,sc18is602b
> + - nxp,sc18is603
> +
> + reg:
> + maxItems: 1
> +
> + clock-frequency:
> + $ref: /schemas/types.yaml#/definitions/uint32
Drop. 'clock-frequency' already has a type. With that,
Reviewed-by: Rob Herring (Arm) <robh@...nel.org>
Powered by blists - more mailing lists