All of lore.kernel.org
 help / color / mirror / Atom feed
From: <Conor.Dooley@microchip.com>
To: <robh+dt@kernel.org>, <mail@conchuod.ie>
Cc: <ulf.hansson@linaro.org>, <krzysztof.kozlowski+dt@linaro.org>,
	<yamada.masahiro@socionext.com>, <piotrs@cadence.com>,
	<linux-mmc@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <linux-riscv@lists.infradead.org>
Subject: Re: [PATCH] dt-bindings: mmc: cdns: add card-detect-delay property
Date: Fri, 12 Aug 2022 18:51:00 +0000	[thread overview]
Message-ID: <a368665b-d93f-cf74-a25f-7d1d7fb313c0@microchip.com> (raw)
In-Reply-To: <CAL_JsqLOGLZD6vrNPqDUqYypkz8xoCPJ4DA4JF-BrG=WHWPurw@mail.gmail.com>

On 12/08/2022 16:33, Rob Herring wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> On Thu, Aug 11, 2022 at 2:32 PM Conor Dooley <mail@conchuod.ie> wrote:
>>
>> From: Conor Dooley <conor.dooley@microchip.com>
>>
>> Upgrading dt-schema to v2022.08 brings with it better handling of
>> unevaluatedProperties, exposing a previously undetected missing
>> property in the cadence sdhci dt-binding:
>> arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dtb: mmc@20008000: Unevaluated properties are not allowed ('card-detect-delay' was unexpected)
>>         From schema: Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
>>
>> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
>> ---
>> Should this have a fixes tag? If anything, it'd be
>> Fixes: 84723eec251d ("dt-bindings: mmc: cdns: document Microchip MPFS MMC/SDHCI controller")
>> but idk.
> 
> No, the common property 'cd-debounce-delay-ms' should be used instead.

While looking for the fixes tag this would require for the dts, I
realised that this is just another of the properties that pre-dated
my involvement with the dt. I think it's in the same category as
ti,fifodepth & was just copied from somewhere else.
I think rather than rename it, it should just be outright deleted.
cd-debounce-delay-ms depends on cd-gpios, and we don't have any
GPIOs wired to the sdcard.

Thanks,
Conor.


WARNING: multiple messages have this Message-ID (diff)
From: <Conor.Dooley@microchip.com>
To: <robh+dt@kernel.org>, <mail@conchuod.ie>
Cc: <ulf.hansson@linaro.org>, <krzysztof.kozlowski+dt@linaro.org>,
	<yamada.masahiro@socionext.com>, <piotrs@cadence.com>,
	<linux-mmc@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <linux-riscv@lists.infradead.org>
Subject: Re: [PATCH] dt-bindings: mmc: cdns: add card-detect-delay property
Date: Fri, 12 Aug 2022 18:51:00 +0000	[thread overview]
Message-ID: <a368665b-d93f-cf74-a25f-7d1d7fb313c0@microchip.com> (raw)
In-Reply-To: <CAL_JsqLOGLZD6vrNPqDUqYypkz8xoCPJ4DA4JF-BrG=WHWPurw@mail.gmail.com>

On 12/08/2022 16:33, Rob Herring wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> On Thu, Aug 11, 2022 at 2:32 PM Conor Dooley <mail@conchuod.ie> wrote:
>>
>> From: Conor Dooley <conor.dooley@microchip.com>
>>
>> Upgrading dt-schema to v2022.08 brings with it better handling of
>> unevaluatedProperties, exposing a previously undetected missing
>> property in the cadence sdhci dt-binding:
>> arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dtb: mmc@20008000: Unevaluated properties are not allowed ('card-detect-delay' was unexpected)
>>         From schema: Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
>>
>> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
>> ---
>> Should this have a fixes tag? If anything, it'd be
>> Fixes: 84723eec251d ("dt-bindings: mmc: cdns: document Microchip MPFS MMC/SDHCI controller")
>> but idk.
> 
> No, the common property 'cd-debounce-delay-ms' should be used instead.

While looking for the fixes tag this would require for the dts, I
realised that this is just another of the properties that pre-dated
my involvement with the dt. I think it's in the same category as
ti,fifodepth & was just copied from somewhere else.
I think rather than rename it, it should just be outright deleted.
cd-debounce-delay-ms depends on cd-gpios, and we don't have any
GPIOs wired to the sdcard.

Thanks,
Conor.

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

  parent reply	other threads:[~2022-08-12 18:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-11 20:31 [PATCH] dt-bindings: mmc: cdns: add card-detect-delay property Conor Dooley
2022-08-11 20:31 ` Conor Dooley
2022-08-12 15:33 ` Rob Herring
2022-08-12 15:33   ` Rob Herring
2022-08-12 15:46   ` Conor.Dooley
2022-08-12 15:46     ` Conor.Dooley
2022-08-12 16:38     ` Rob Herring
2022-08-12 16:38       ` Rob Herring
2022-08-12 16:43       ` Conor.Dooley
2022-08-12 16:43         ` Conor.Dooley
2022-08-12 18:51   ` Conor.Dooley [this message]
2022-08-12 18:51     ` Conor.Dooley

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=a368665b-d93f-cf74-a25f-7d1d7fb313c0@microchip.com \
    --to=conor.dooley@microchip.com \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=mail@conchuod.ie \
    --cc=piotrs@cadence.com \
    --cc=robh+dt@kernel.org \
    --cc=ulf.hansson@linaro.org \
    --cc=yamada.masahiro@socionext.com \
    /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.