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

Boris Brezillon
2020-02-27T16:11:56Z

On Wed, 26 Feb 2020 15:06:53 +0530
Pratyush Yadav <p.yadav@ti.com> 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@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