[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230203130133.32901-1-kyarlagadda@nvidia.com>
Date: Fri, 3 Feb 2023 18:31:29 +0530
From: Krishna Yarlagadda <kyarlagadda@...dia.com>
To: <robh+dt@...nel.org>, <broonie@...nel.org>, <peterhuewe@....de>,
<jgg@...pe.ca>, <jarkko@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>, <linux-spi@...r.kernel.org>,
<linux-tegra@...r.kernel.org>, <linux-integrity@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
CC: <thierry.reding@...il.com>, <jonathanh@...dia.com>,
<skomatineni@...dia.com>, <ldewangan@...dia.com>,
Krishna Yarlagadda <kyarlagadda@...dia.com>
Subject: [Patch V2 0/4] Tegra TPM driver with hw flow control
Tegra234 and Tegra241 chips have QSPI controller that supports TCG
PC Client Specific TPM Interface Specification (TIS) flow control.
Since the controller only supports half duplex, sw wait polling
(flow control using full duplex transfers) method implemented in
tpm_tis_spi_main.c does not suffice.
Added extended driver to disable sw flow control and send
all transfers in single message. Flow control is handled by hardware.
V2: Fix dt schema errors.
Krishna Yarlagadda (4):
dt-bindings: tpm: Add compatible for Tegra TPM
tpm: tegra: Support SPI tpm wait state detect
spi: dt-bindings: Add Tegra TPM wait polling flag
spi: tegra210-quad: Enable TPM wait polling
.../security/tpm/nvidia,tegra-tpm-spi.yaml | 34 +++++
...nvidia,tegra210-quad-peripheral-props.yaml | 6 +
drivers/char/tpm/Makefile | 1 +
drivers/char/tpm/tpm_tis_spi.h | 1 +
drivers/char/tpm/tpm_tis_spi_main.c | 4 +-
drivers/char/tpm/tpm_tis_spi_tegra.c | 123 ++++++++++++++++++
drivers/spi/spi-tegra210-quad.c | 16 +++
7 files changed, 184 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/security/tpm/nvidia,tegra-tpm-spi.yaml
create mode 100644 drivers/char/tpm/tpm_tis_spi_tegra.c
--
2.17.1
Powered by blists - more mailing lists