[PATCH 0/2] tpm: add driver for cr50 on SPI

Andrey Pronin
2016-07-15T02:20:23Z

This patchset adds a TCG TPM2.0 PTP FIFO compliant interface for
Cr50 chip on SPI.

Depends on the following patches by Andrey Pronin <apronin@chromium.org>
that add new members to phy_ops in tpm_tis_core:
- tpm: support driver-specific sysfs attrs in tpm_tis_core
- tpm_tis_core: add optional max xfer size check

Andrey Pronin (2):
tpm: devicetree: document properties for cr50
tpm: add driver for cr50 on SPI

.../devicetree/bindings/security/tpm/cr50_spi.txt | 30 ++
drivers/char/tpm/Kconfig | 9 +
drivers/char/tpm/Makefile | 1 +
drivers/char/tpm/cr50_spi.c | 409 +++++++++++++++++++++
4 files changed, 449 insertions(+)
create mode 100644 Documentation/devicetree/bindings/security/tpm/cr50_spi.txt
create mode 100644 drivers/char/tpm/cr50_spi.c

--
2.6.6