[PATCH v2 01/11] dt-bindings: spi: allow expressing DTR capability

From: Pratyush Yadav
Date: Wed Feb 26 2020 - 04:37:38 EST


Allow spi devices to express DTR receive and transmit capabilities via
the properties "spi-rx-dtr" and "spi-tx-dtr".

Signed-off-by: Pratyush Yadav <p.yadav@xxxxxx>
---
.../devicetree/bindings/spi/spi-controller.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/Documentation/devicetree/bindings/spi/spi-controller.yaml b/Documentation/devicetree/bindings/spi/spi-controller.yaml
index 1e0ca6ccf64b..7a84debed213 100644
--- a/Documentation/devicetree/bindings/spi/spi-controller.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-controller.yaml
@@ -120,6 +120,11 @@ patternProperties:
description:
Delay, in microseconds, after a read transfer.

+ spi-rx-dtr:
+ $ref: /schemas/types.yaml#/definitions/flag
+ description:
+ Device supports receiving in DTR mode.
+
spi-tx-bus-width:
allOf:
- $ref: /schemas/types.yaml#/definitions/uint32
@@ -132,6 +137,11 @@ patternProperties:
description:
Delay, in microseconds, after a write transfer.

+ spi-tx-dtr:
+ $ref: /schemas/types.yaml#/definitions/flag
+ description:
+ Device supports transmitting in DTR mode.
+
required:
- compatible
- reg
--
2.25.0