[PATCH 4/5] spi: dt-bindings: Add hold/inactive CS delay peripheral properties

Hector Martin posted 5 patches 2 years, 11 months ago
There is a newer version of this series
[PATCH 4/5] spi: dt-bindings: Add hold/inactive CS delay peripheral properties
Posted by Hector Martin 2 years, 11 months ago
From: Janne Grunau <j@jannau.net>

These two properties complete the bindings for the Linux spi_device cs
model, which includes cs_setup, cs_hold and cs_inactive delay values.

Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Hector Martin <marcan@marcan.st>
---
 .../devicetree/bindings/spi/spi-peripheral-props.yaml  | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml b/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml
index 9a60c0664bbe..782a014b63a7 100644
--- a/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml
@@ -49,6 +49,16 @@ properties:
       Delay in nanoseconds to be introduced by the controller after CS is
       asserted.
 
+  spi-cs-hold-delay-ns:
+    description:
+      Delay in nanoseconds to be introduced by the controller before CS is
+      de-asserted.
+
+  spi-cs-inactive-delay-ns:
+    description:
+      Delay in nanoseconds to be introduced by the controller after CS is
+      de-asserted.
+
   spi-rx-bus-width:
     description:
       Bus width to the SPI bus used for read transfers.
-- 
2.35.1
Re: [PATCH 4/5] spi: dt-bindings: Add hold/inactive CS delay peripheral properties
Posted by Rob Herring 2 years, 11 months ago
On Wed, 04 Jan 2023 18:36:30 +0900, Hector Martin wrote:
> From: Janne Grunau <j@jannau.net>
> 
> These two properties complete the bindings for the Linux spi_device cs
> model, which includes cs_setup, cs_hold and cs_inactive delay values.
> 
> Signed-off-by: Janne Grunau <j@jannau.net>
> Signed-off-by: Hector Martin <marcan@marcan.st>
> ---
>  .../devicetree/bindings/spi/spi-peripheral-props.yaml  | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>