From: Conor Dooley <conor@kernel.org>
To: Dharma.B@microchip.com
Cc: robh@kernel.org, conor+dt@kernel.org,
linux-kernel@vger.kernel.org, alexandre.belloni@bootlin.com,
devicetree@vger.kernel.org, Aubin.Constans@microchip.com,
linux-mmc@vger.kernel.org, ulf.hansson@linaro.org,
claudiu.beznea@tuxon.dev, krzk+dt@kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 1/2] dt-bindings: mmc: sdhci-atmel: Convert to json schema
Date: Fri, 30 Aug 2024 15:16:26 +0100 [thread overview]
Message-ID: <20240830-retry-ranger-fdd01812a120@spud> (raw)
In-Reply-To: <9e9c8274-6bf2-45f9-8b65-ddc73a0802bc@microchip.com>
[-- Attachment #1: Type: text/plain, Size: 2769 bytes --]
On Fri, Aug 30, 2024 at 02:12:48PM +0000, Dharma.B@microchip.com wrote:
> Hi Conor,
>
> On 30/08/24 7:18 pm, Conor Dooley wrote:
> > On Fri, Aug 30, 2024 at 01:49:42PM +0530, Dharma Balasubiramani wrote:
> >> Convert sdhci-atmel documentation to yaml format. The new file will inherit
> >> from sdhci-common.yaml.
> >>
> >> Note: Add microchip,sama7g5-sdhci to compatible list as we already use it
> >> in the DT.
> >>
> >> Signed-off-by: Dharma Balasubiramani<dharma.b@microchip.com>
> >> ---
> >> .../bindings/mmc/atmel,sama5d2-sdhci.yaml | 98 ++++++++++++++++++++++
> >> .../devicetree/bindings/mmc/sdhci-atmel.txt | 35 --------
> >> 2 files changed, 98 insertions(+), 35 deletions(-)
> >>
> >> diff --git a/Documentation/devicetree/bindings/mmc/atmel,sama5d2-sdhci.yaml b/Documentation/devicetree/bindings/mmc/atmel,sama5d2-sdhci.yaml
> >> new file mode 100644
> >> index 000000000000..91d18b2545e1
> >> --- /dev/null
> >> +++ b/Documentation/devicetree/bindings/mmc/atmel,sama5d2-sdhci.yaml
> >> @@ -0,0 +1,98 @@
> >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> >> +%YAML 1.2
> >> +---
> >> +$id:http://devicetree.org/schemas/mmc/atmel,sama5d2-sdhci.yaml#
> >> +$schema:http://devicetree.org/meta-schemas/core.yaml#
> >> +
> >> +title: Atmel SDHCI controller
> >> +
> >> +maintainers:
> >> + - Aubin Constans<aubin.constans@microchip.com>
> >> + - Nicolas Ferre<nicolas.ferre@microchip.com>
> >> +
> >> +description:
> >> + Bindings for the SDHCI controller found in Atmel/Microchip SoCs.
> >> +
> >> +properties:
> >> + compatible:
> >> + oneOf:
> >> + - enum:
> >> + - atmel,sama5d2-sdhci
> >> + - atmel,sama5d3-sdhci
> >> + - atmel,sama5d4-sdhci
> >> + - microchip,sam9x60-sdhci
> >> + - items:
> >> + - enum:
> >> + - microchip,sama7g5-sdhci
> >> + - const: microchip,sam9x60-sdhci
> >> +
> >> + reg:
> >> + maxItems: 1
> >> +
> >> + interrupts:
> >> + maxItems: 1
> >> +
> >> + clocks:
> >> + minItems: 2
> >> + maxItems: 3
> >> + description: |
> >> + The sama5d2 family includes three clocks: `hclock`, `multclk`, and `baseclk`.
> >> + For other families, including sam9x60 and sam9x7, only `hclock` and `multclk` are used.
> > This should instead be an items list, rather than a text based
> > description.
> Sure, I will update it like this below
>
> clocks:
> items:
> - description: hclock
> - description: multclk
> - description: baseclk
> minItems: 2
> maxItems: 3
This shouldn't pass dt_binding_check, because the max in this snippet is
redundant due to it matching the size of the items list.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2024-08-30 14:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-30 8:19 [PATCH v2 0/2] Update sdhci-atmel dt-binding documentation Dharma Balasubiramani
2024-08-30 8:19 ` [PATCH v2 1/2] dt-bindings: mmc: sdhci-atmel: Convert to json schema Dharma Balasubiramani
2024-08-30 13:48 ` Conor Dooley
[not found] ` <9e9c8274-6bf2-45f9-8b65-ddc73a0802bc@microchip.com>
2024-08-30 14:16 ` Conor Dooley [this message]
2024-08-30 8:19 ` [PATCH v2 2/2] dt-bindings: mmc: atmel,sama5d2-sdhci: Add sama7d65 compatible Dharma Balasubiramani
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240830-retry-ranger-fdd01812a120@spud \
--to=conor@kernel.org \
--cc=Aubin.Constans@microchip.com \
--cc=Dharma.B@microchip.com \
--cc=alexandre.belloni@bootlin.com \
--cc=claudiu.beznea@tuxon.dev \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=robh@kernel.org \
--cc=ulf.hansson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox