All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: Linus Walleij <linus.walleij@linaro.org>,
	linux-mmc@vger.kernel.org, Ulf Hansson <ulf.hansson@linaro.org>
Cc: devicetree@vger.kernel.org
Subject: Re: [PATCH] RFC: mmc: mmci: Convert bindings to DT schema
Date: Sat, 16 Jan 2021 18:55:23 +0100	[thread overview]
Message-ID: <7d5c6875-c10e-e9fd-08ef-65a97e26c127@denx.de> (raw)
In-Reply-To: <20210115225313.2616477-1-linus.walleij@linaro.org>

On 1/15/21 11:53 PM, Linus Walleij wrote:
> This converts the MMCI bindings from simple text to a proper
> schema.
> 
> I can't get this to work when testing the schema and I don't
> know why, possibly my fault. That is why it is RFC.
> 
> /var/linus/linux-nomadik/build-ux500/Documentation/devicetree/bindings/mmc/arm,pl18x.example.dt.yaml: mmc@5000: 'clock-names', 'clocks' do not match any of the regexes: 'pinctrl-[0-9]+'
> 	From schema: /var/linus/linux-nomadik/Documentation/devicetree/bindings/mmc/arm,pl18x.yaml
> /var/linus/linux-nomadik/build-ux500/Documentation/devicetree/bindings/mmc/arm,pl18x.example.dt.yaml: mmc@80126000: 'bus-width', 'cap-mmc-highspeed', 'cap-sd-highspeed', 'cd-gpios', 'clock-names', 'clocks', 'max-frequency', 'vmmc-supply', 'vqmmc-supply' do not match any of the regexes: 'pinctrl-[0-9]+'
> 
> This appear on my machine despite:
> 
> allOf:
>    - $ref: /schemas/arm/primecell.yaml#
>    - $ref: /schemas/mmc/mmc-controller.yaml#
> 
> No idea why these refs are not reffed. Help.

[...]

> +  st,use-ckin:
> +    $ref: /schemas/types.yaml#/definitions/flag
> +    description: ST Micro-specific property, use CKIN pin from an external
> +      driver to sample the receive data (for example with a voltage switch
> +      transceiver).
> +
> +additionalProperties: false

Set this to "true" and then the validation should work.

[...]

  reply	other threads:[~2021-01-16 17:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-15 22:53 [PATCH] RFC: mmc: mmci: Convert bindings to DT schema Linus Walleij
2021-01-16 17:55 ` Marek Vasut [this message]
2021-01-17 15:56 ` Rob Herring

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=7d5c6875-c10e-e9fd-08ef-65a97e26c127@denx.de \
    --to=marex@denx.de \
    --cc=devicetree@vger.kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-mmc@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.