spi: Support 3WIRE high-impedance turn-around with GPIO controller

Add support for another fun variation of the SPI protocol.
-----BEGIN PGP SIGNATURE-----

iQFHBAABCgAxFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlvjD+4THGJyb29uaWVA
a2VybmVsLm9yZwAKCRAk1otyXVSH0NRcB/9NnZrsdJ/U7nQ/DdCINpOenAG7B2ub
Vg16dujcFFxcQr17SMTqiOBgEExfPENJoorkwwnjcoYyz1wPfETWtmHkD5h6MQBn
rLtydJQaOtjXm4j+1nHnJVLpEzq7Cjka/nXSj+L8AMdtH6fyzzYtXEMyetqOct2B
RcV7kk82PmUAhbhg9Bu8BIubA5EFaMHWYWst5E7BmKVGvMyZrBG59BtvWshOg7qs
Mj5IdVpDZjP15IOH2Aw28oqByEzLRvhJRrwBEXg+NG61t7BapM2XpnCrFIiXpAPQ
49rux5R3QeBOXhspKtt+Ewrpm5E3qOfiPd4eqFSb2+smCuokA86T6hZQ
=aqNq
-----END PGP SIGNATURE-----
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>
2 files changed