[PATCH 7/9] dt-bindings: spi: mtk-snfi: add two timing delay property
From: Xiangsheng Hou
Date: Sun Nov 27 2022 - 21:08:31 EST
add rx-sample-delay and rx-latch-latency property.
Signed-off-by: Xiangsheng Hou <xiangsheng.hou@xxxxxxxxxxxx>
---
.../bindings/spi/mediatek,spi-mtk-snfi.yaml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-snfi.yaml b/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-snfi.yaml
index ee20075cd0e7..367862688e92 100644
--- a/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-snfi.yaml
+++ b/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-snfi.yaml
@@ -55,6 +55,22 @@ properties:
description: device-tree node of the accompanying ECC engine.
$ref: /schemas/types.yaml#/definitions/phandle
+ rx-sample-delay:
+ description: Rx delay to sample data with this value, the valid
+ values are from 0 to 47. The delay is smaller than
+ the rx-latch-latency.
+ $ref: /schemas/types.yaml#/definitions/uint32
+ minItems: 0
+ maxItems: 47
+ default: 0
+
+ rx-latch-latency:
+ description: Rx delay to sample data with this value, the value
+ unit is clock cycle.
+ $ref: /schemas/types.yaml#/definitions/uint32
+ enum: [0, 1, 2, 3]
+ default: 0
+
required:
- compatible
- reg
--
2.25.1