From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Brezillon Subject: Re: [PATCH v2 01/11] dt-bindings: spi: allow expressing DTR capability Date: Thu, 27 Feb 2020 17:11:47 +0100 Message-ID: <20200227171147.32cc6fcf@collabora.com> References: <20200226093703.19765-1-p.yadav@ti.com> <20200226093703.19765-2-p.yadav@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Tudor Ambarus , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Mark Brown , Rob Herring , Mark Rutland , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Sekhar Nori , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Pratyush Yadav Return-path: In-Reply-To: <20200226093703.19765-2-p.yadav-l0cyMroinI0@public.gmane.org> Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Wed, 26 Feb 2020 15:06:53 +0530 Pratyush Yadav 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 > --- > .../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