spi: tegra114: add support for hw based cs
authorSowjanya Komatineni <skomatineni@nvidia.com>
Tue, 14 May 2019 05:03:53 +0000 (22:03 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 15 May 2019 11:17:34 +0000 (12:17 +0100)
commit1bf9f3c9232d08651aa6990001e7b042c95303dc
treececab029ff4e0a490dce111b5d718c1a710c5e46
parent63c1440596ff0a34efec491f41832c2c9ea01857
spi: tegra114: add support for hw based cs

Tegra SPI controller supports both HW and SW based CS control
for SPI transfers.

This patch adds support for HW based CS control where CS is driven
to active state during the transfer and is driven inactive at the
end of the transfer directly by the HW.

This patch enables the use of HW based CS only for single transfers
without cs_change request.

Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-tegra114.c