Tegra TPM driver with HW flow control
authorMark Brown <broonie@kernel.org>
Mon, 24 Apr 2023 11:59:47 +0000 (12:59 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 24 Apr 2023 11:59:47 +0000 (12:59 +0100)
commitd9f3a60ebbbd7244fe532dc8dcd278ac1651247f
treecfe25840fabfe73ab0a6026799002934ee69cffd
parent25f0617109496e1aff49594fbae5644286447a0f
parent967ca91a996f82219f2883e9e53d8e20df49025a
Tegra TPM driver with HW flow control

Merge series from Krishna Yarlagadda <kyarlagadda@nvidia.com>:

TPM devices may insert wait state on last clock cycle of ADDR phase.
For SPI controllers that support full-duplex transfers, this can be
detected using software by reading the MISO line. For SPI controllers
that only support half-duplex transfers, such as the Tegra QSPI, it is
not possible to detect the wait signal from software. The QSPI
controller in Tegra234 and Tegra241 implement hardware detection of the
wait signal which can be enabled in the controller for TPM devices.

Add a flag for this in the SPI core and implement support in the Tegra
QuadSPI driver.