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

From: Boris Brezillon
Date: Thu Feb 27 2020 - 11:11:56 EST


On Wed, 26 Feb 2020 15:06:53 +0530
Pratyush Yadav <p.yadav@xxxxxx> wrote:

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

Is the RX/TX granularity really useful?

>
> 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