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

Pratyush Yadav
2020-02-26T09:37:38Z

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@ti.com>
---
.../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