From patchwork Wed Feb 26 12:55:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pratyush Yadav X-Patchwork-Id: 236879 List-Id: U-Boot discussion From: p.yadav at ti.com (Pratyush Yadav) Date: Wed, 26 Feb 2020 18:25:51 +0530 Subject: [PATCH 01/15] dt-bindings: spi: allow expressing DTR capability In-Reply-To: <20200226125606.22684-1-p.yadav@ti.com> References: <20200226125606.22684-1-p.yadav@ti.com> Message-ID: <20200226125606.22684-2-p.yadav@ti.com> 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 --- Corresponding Kernel DT patch at https://lore.kernel.org/linux-mtd/20200226093703.19765-2-p.yadav at ti.com/ doc/device-tree-bindings/spi/spi-bus.txt | 4 ++++ 1 file changed, 4 insertions(+) -- 2.25.0 diff --git a/doc/device-tree-bindings/spi/spi-bus.txt b/doc/device-tree-bindings/spi/spi-bus.txt index 420ec9529f..0d55303a0e 100644 --- a/doc/device-tree-bindings/spi/spi-bus.txt +++ b/doc/device-tree-bindings/spi/spi-bus.txt @@ -59,6 +59,10 @@ contain the following properties. used for MOSI. Defaults to 1 if not present. - spi-rx-bus-width - (optional) The bus width(number of data wires) that used for MISO. Defaults to 1 if not present. +- spi-tx-dtr - (optional) Its presence indicates bus can transmit in DTR + protocol. +- spi-rx-dtr - (optional) Its presence indicates bus can receive in DTR + protocol. - spi-half-duplex - (optional) Indicates that the SPI bus should wait for a header byte before reading data from the slave.