From: Linus Walleij <linus.walleij@linaro.org>
To: Mark Brown <broonie@kernel.org>,
linux-spi@vger.kernel.org, Andrzej Hajda <a.hajda@samsung.com>,
Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Cc: linux-gpio@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
Linus Walleij <linus.walleij@linaro.org>,
devicetree@vger.kernel.org
Subject: [PATCH 3/4] spi: Add a DT binding for high impedance turnaround
Date: Mon, 3 Sep 2018 23:50:34 +0200 [thread overview]
Message-ID: <20180903215035.17265-4-linus.walleij@linaro.org> (raw)
In-Reply-To: <20180903215035.17265-1-linus.walleij@linaro.org>
Some 3WIRE SPI devices require the host to insert a "high
impedance turnaround" essentially a clock pulse after
switching the one line from output to input.
This is needed to support the TPO TPG110 panel to use
the 3WIRE SPI bindings.
Cc: devicetree@vger.kernel.org
Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Documentation/devicetree/bindings/spi/spi-bus.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/spi-bus.txt b/Documentation/devicetree/bindings/spi/spi-bus.txt
index 1f6e86f787ef..ee08be2894eb 100644
--- a/Documentation/devicetree/bindings/spi/spi-bus.txt
+++ b/Documentation/devicetree/bindings/spi/spi-bus.txt
@@ -70,6 +70,10 @@ All slave nodes can contain the following optional properties:
- spi-cs-high - Empty property indicating device requires chip select
active high.
- spi-3wire - Empty property indicating device requires 3-wire mode.
+- spi-3wire-high-impedance-turnaround - Empty property indicating that a
+ 3wire host need to insert a high impedance turn-around
+ clock cycle after turning the one output line into an
+ input line.
- spi-lsb-first - Empty property indicating device requires LSB first mode.
- spi-tx-bus-width - The bus width (number of data wires) that is used for MOSI.
Defaults to 1 if not present.
--
2.17.1
next parent reply other threads:[~2018-09-03 21:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20180903215035.17265-1-linus.walleij@linaro.org>
2018-09-03 21:50 ` Linus Walleij [this message]
2018-09-04 7:39 ` [PATCH 3/4] spi: Add a DT binding for high impedance turnaround Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180903215035.17265-4-linus.walleij@linaro.org \
--to=linus.walleij@linaro.org \
--cc=a.hajda@samsung.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=lorenzo.bianconi@redhat.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).