[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250219222323.GA3013450-robh@kernel.org>
Date: Wed, 19 Feb 2025 16:23:23 -0600
From: Rob Herring <robh@...nel.org>
To: Dharma Balasubiramani <dharma.b@...rochip.com>
Cc: Ulf Hansson <ulf.hansson@...aro.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Neil Armstrong <neil.armstrong@...aro.org>,
Kevin Hilman <khilman@...libre.com>,
Jerome Brunet <jbrunet@...libre.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
linux-mmc@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-amlogic@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/2] dt-bindings: mmc: atmel,hsmci: Convert to json
schema
On Wed, Feb 12, 2025 at 02:52:11PM +0530, Dharma Balasubiramani wrote:
> Convert atmel,hsmci documentation to yaml format. The new file will inherit
> from mmc-controller.yaml.
>
> Signed-off-by: Dharma Balasubiramani <dharma.b@...rochip.com>
> ---
> .../devicetree/bindings/mmc/atmel,hsmci.yaml | 106 +++++++++++++++++++++
> .../devicetree/bindings/mmc/atmel-hsmci.txt | 73 --------------
> 2 files changed, 106 insertions(+), 73 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mmc/atmel,hsmci.yaml b/Documentation/devicetree/bindings/mmc/atmel,hsmci.yaml
> new file mode 100644
> index 000000000000..feaa98e44955
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mmc/atmel,hsmci.yaml
> @@ -0,0 +1,106 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/mmc/atmel,hsmci.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Atmel High-Speed MultiMedia Card Interface (HSMCI)
> +
> +description:
> + The Atmel HSMCI controller provides an interface for MMC, SD, and SDIO memory
> + cards.
> +
> +maintainers:
> + - Nicolas Ferre <nicolas.ferre@...rochip.com>
> + - Aubin Constans <aubin.constans@...rochip.com>
> +
> +allOf:
> + - $ref: mmc-controller.yaml
> +
> +properties:
> + compatible:
> + const: atmel,hsmci
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + dmas:
> + maxItems: 1
> +
> + dma-names:
> + const: rxtx
> +
> + clocks:
> + maxItems: 1
> +
> + clock-names:
> + const: mci_clk
> +
> + "#address-cells":
> + const: 1
> + description: Used for slot IDs.
> +
> + "#size-cells":
> + const: 0
> +
> +patternProperties:
> + "^slot@[0-9]+$":
If reg can only be 0 or 1, then allowing 2-<infinity> is not valid.
Otherwise,
Reviewed-by: Rob Herring (Arm) <robh@...nel.org>
> + $ref: mmc-slot.yaml
> + description: A slot node representing an MMC, SD, or SDIO slot.
> +
> + properties:
> + reg:
> + enum: [0, 1]
Powered by blists - more mailing lists