All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: mmc: cdns: add card-detect-delay property
@ 2022-08-11 20:31 ` Conor Dooley
  0 siblings, 0 replies; 12+ messages in thread
From: Conor Dooley @ 2022-08-11 20:31 UTC (permalink / raw)
  To: Ulf Hansson, Rob Herring, Krzysztof Kozlowski
  Cc: Masahiro Yamada, Piotr Sroka, linux-mmc, devicetree,
	linux-kernel, linux-riscv, Conor Dooley

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.
---
 Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
index 4207fed62dfe..99f89eb19356 100644
--- a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
+++ b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
@@ -112,6 +112,13 @@ properties:
     minimum: 0
     maximum: 0x7f
 
+  card-detect-delay:
+    description:
+      Delay in milli-seconds before detecting card after card
+      insert event. The default value is 0.
+    $ref: /schemas/types.yaml#/definitions/uint32
+    default: 0
+
 required:
   - compatible
   - reg
-- 
2.37.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-08-12 18:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2022-08-12 18:51     ` Conor.Dooley

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.