lede/target/linux/silicon/patches-5.19/0114-spi-dt-bindings-add-CS-delay-peripheral-specific-pro.patch

41 lines
1.3 KiB
Diff

From c95842f5056635608ee0faed77884edb0ac4d5a9 Mon Sep 17 00:00:00 2001
From: Janne Grunau <j@jannau.net>
Date: Sat, 11 Dec 2021 11:48:56 +0100
Subject: [PATCH 114/171] spi: dt-bindings: add CS delay peripheral-specific
properties
These properties are modelled after Linux' struct spi_device cs_setup,
cs_hold and cs_inactive delay values.
Signed-off-by: Janne Grunau <j@jannau.net>
---
.../bindings/spi/spi-peripheral-props.yaml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml b/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml
index 5e32928c4fc3..e8e86e4e4596 100644
--- a/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml
@@ -108,6 +108,18 @@ properties:
minItems: 2
maxItems: 4
+ spi-cs-setup-delay-ns:
+ description:
+ Delay, in nanoseconds, after chip select is asserted.
+
+ spi-cs-hold-delay-ns:
+ description:
+ Delay, in nanoseconds, before chip select is de-asserted.
+
+ spi-cs-inactive-delay-ns:
+ description:
+ Delay, in nanoseconds, after chip select is de-asserted.
+
# The controller specific properties go here.
allOf:
- $ref: cdns,qspi-nor-peripheral-props.yaml#
--
2.34.1