Skip to content

add tpm i2c ptp driver

[email protected] linux-devicetree linux-integrity lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5char: tpm: Make implementation of read16 read32 write32 optionaldrivers/char/tpm/tpm_tis_core.h drivers/char/tpm/tpm_tis_spi.c+35 -440 replies
2/5char: tpm: Add check_data handle to tpm_tis_phy_ops in order to check data integritydrivers/char/tpm/tpm_tis_core.c drivers/char/tpm/tpm_tis_core.h+62 -381 reply
3/5char: tpm: rewrite "tpm_tis_req_canceled()"drivers/char/tpm/tpm_tis_core.c+1 -112 replies
4/5dt-bindings: tpm: Add the TPM TIS I2C device tree binding documentaionDocumentation/devicetree/bindings/security/tpm/tpm_tis_i2c.txt+24 -02 replies
5/5char: tpm: add tpm_tis_i2c driverdrivers/char/tpm/Kconfig drivers/char/tpm/Makefile drivers/char/tpm/tpm_tis_i2c.c+285 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/5] add tpm i2c ptp driver

From: Amir Mizinski <[email protected]>

*This patch set adds support for TPM devices that implement the I2C interface defined by TCG PTP specification:
https://trustedcomputinggroup.org/wp-content/uploads/TCG_PC_Client_Platform_TPM_Profile_PTP_2.0_r1.03_v22.pdf

The driver was tested on Raspberry-Pie 3, using Nuvoton NPCT75X TPM.

interupts are not implemented yet, preparing it for the next patch.
this patch is based on initial work by oshri Alkoby, Alexander Steffen and Christophe Ricard

Amir Mizinski (5):
char: tpm: Make implementation of read16 read32 write32 optional
char: tpm: Add check_data handle to tpm_tis_phy_ops in order to check
data integrity
char: tpm: rewrite "tpm_tis_req_canceled()"
dt-bindings: tpm: Add the TPM TIS I2C device tree binding documentaion
char: tpm: add tpm_tis_i2c driver

 .../bindings/security/tpm/tpm_tis_i2c.txt          |  24 ++
 drivers/char/tpm/Kconfig                           |  12 +
 drivers/char/tpm/Makefile                          |   1 +
 drivers/char/tpm/tpm_tis_core.c                    | 109 +++++----
 drivers/char/tpm/tpm_tis_core.h                    |  41 +++-
 drivers/char/tpm/tpm_tis_i2c.c                     | 272 +++++++++++++++++++++
 drivers/char/tpm/tpm_tis_spi.c                     |  41 ----
 7 files changed, 407 insertions(+), 93 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/security/tpm/tpm_tis_i2c.txt
 create mode 100644 drivers/char/tpm/tpm_tis_i2c.c
Signature · 1 line
2.7.4