]> git.baikalelectronics.ru Git - kernel.git/commit
spi: gpio: Support 3WIRE high-impedance turn-around
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 1 Nov 2018 21:25:04 +0000 (22:25 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 7 Nov 2018 16:15:49 +0000 (16:15 +0000)
commit1e80f9b89c3cf44285f3ad30e933686208a0348e
tree500502d0cf45af7a321790aa116e2871128ea216
parenta9e80a095d95d1159b26f73bd6d9c2fadc7fb411
spi: gpio: Support 3WIRE high-impedance turn-around

Some devices such as the TPO TPG110 display panel require
a "high-impedance turn-around", in effect a clock cycle after
switching the line from output to input mode.

Support this in the GPIO driver to begin with. Other driver
may implement it if they can, it is unclear if this can
be achieved with anything else than GPIO bit-banging.

Cc: Andrzej Hajda <a.hajda@samsung.com>
Acked-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-gpio.c
include/linux/spi/spi.h