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)
commit5132b3d283710d196cd8af99b5585507e8b30709
tree500502d0cf45af7a321790aa116e2871128ea216
parent651022382c7f8da46cb4872a545ee1da6d097d2a
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