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

From: Peter Huewe
Date: Thu Jul 14 2016 - 22:29:37 EST




Am 14. Juli 2016 19:20:16 GMT-07:00, schrieb Andrey Pronin <apronin@xxxxxxxxxxxx>:
>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@xxxxxxxxxxxx>
>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


Hi,
can you explain a bit more about this device? And why it needs a special driver and cannot be handled by tpm_tis_spi if its tcg compliant?

Peter
--
Sent from my mobile