[PATCH v2 1/2] dt-bindings: mmc: spacemit,sdhci: Add tx delay property
Yixun Lan
dlan at kernel.org
Wed Nov 25 15:04:37 PST 2026
From: Long Wan <long.wan at linux.spacemit.com>
Introduce a vendor specific property to configure the step count of TX
delay line which should be applied before RX tuning, compensating for
board level trace differences. The TX delay line result comes from test
out of real board which vary from different hardware layout.
Signed-off-by: Long Wan <long.wan at linux.spacemit.com>
Acked-by: Conor Dooley <conor.dooley at microchip.com>
Signed-off-by: Yixun Lan <dlan at kernel.org>
---
Documentation/devicetree/bindings/mmc/spacemit,sdhci.yaml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/Documentation/devicetree/bindings/mmc/spacemit,sdhci.yaml b/Documentation/devicetree/bindings/mmc/spacemit,sdhci.yaml
index 34d202af909f..7df48fedc982 100644
--- a/Documentation/devicetree/bindings/mmc/spacemit,sdhci.yaml
+++ b/Documentation/devicetree/bindings/mmc/spacemit,sdhci.yaml
@@ -56,6 +56,15 @@ properties:
pinctrl-1:
description: Optional pinctrl state for 1.8V UHS operation with "uhs" name
+ spacemit,tx-delay:
+ $ref: /schemas/types.yaml#/definitions/uint8
+ default: 127
+ description:
+ TX delay line setting applied before RX tuning, compensating for
+ board level trace differences. This is a delay line step count with
+ no fixed time-per-step conversion; determined empirically per board
+ specific, used on SD/SDIO hosts.
+
required:
- compatible
- reg
--
2.56.0
More information about the linux-riscv
mailing list