[PATCH 0/2] tpm: Add support for TPMv2.x I2C chips
Eddie James
eajames at linux.ibm.com
Fri May 13 20:29:58 CEST 2022
Add a tpm driver that should support any TPMv2 compliant I2C chips,
such as the NPCT75X chip. In my testing I also noticed that the timeouts
weren't set before requesting the locality so I have included a fix.
Eddie James (2):
tpm: core: Set timeouts before requesting locality
tpm: add support for TPMv2.x I2C chips
drivers/tpm/Kconfig | 9 ++
drivers/tpm/Makefile | 1 +
drivers/tpm/tpm2_tis_core.c | 7 +-
drivers/tpm/tpm2_tis_i2c.c | 171 ++++++++++++++++++++++++++++++++++++
4 files changed, 185 insertions(+), 3 deletions(-)
create mode 100644 drivers/tpm/tpm2_tis_i2c.c
--
2.27.0
More information about the U-Boot
mailing list