summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorKrishna Yarlagadda <kyarlagadda@nvidia.com>2023-04-21 12:13:07 +0300
committerMark Brown <broonie@kernel.org>2023-04-21 16:37:03 +0300
commit67a142dc9eb96a5cc018e5db62390665eb5f038c (patch)
tree2b33952e2d63155ac650b24b273f13ae0399b398 /drivers/spi
parentbe3206e8906e7a93df673ab2e96d69304a008edc (diff)
downloadlinux-67a142dc9eb96a5cc018e5db62390665eb5f038c.tar.xz
spi: Add TPM HW flow flag
TPM specification [1] defines flow control over SPI. Client device can insert a wait state on MISO when address is transmitted by controller on MOSI. Detecting the wait state in software is only possible for full duplex controllers. For controllers that support only half- duplex, the wait state detection needs to be implemented in hardware. Add a flag SPI_TPM_HW_FLOW for TPM device to set when software flow control is not possible and hardware flow control is expected from SPI controller. Reference: [1] https://trustedcomputinggroup.org/resource/pc-client-platform-tpm -profile-ptp-specification/ Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com> Link: https://lore.kernel.org/r/20230421091309.2672-2-kyarlagadda@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions