public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/3] Introduce TPM driver model and STMicroelectronics ST33ZP24 TPMs
@ 2015-08-09 13:19 Christophe Ricard
  2015-08-09 13:19 ` [U-Boot] [PATCH 1/3] tpm: Move tpm_tis_i2c to tpm_i2c_infineon Christophe Ricard
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Christophe Ricard @ 2015-08-09 13:19 UTC (permalink / raw)
  To: u-boot

Hi,

This patch serie introduce TPM driver model allowing to instantiate a TPM
using U_BOOT_DEVICE macro for platform_data or device tree.

As an information, there is no TCG transport protocol official specification
for i2c for TPM1.2. The TPM uclass allows to support different kind of bus
(LPC, I2C, SPI) keeping the TPM command duration in common.

Also, this serie introduce TPM1.2 from STMicroelectronics ST33ZP24 with
I2C and SPI support. It has been ported from existing Linux drivers.

This has been tested on Beagleboard xM.

Best Regards
Christophe


Christophe Ricard (3):
  tpm: Move tpm_tis_i2c to tpm_i2c_infineon
  tpm: Initial work to introduce TPM driver model
  tpm: Add st33zp24 tpm with i2c and spi phy

 README                                            |  23 +-
 drivers/tpm/Makefile                              |   5 +-
 drivers/tpm/st33zp24/Makefile                     |   7 +
 drivers/tpm/st33zp24/i2c.c                        | 226 +++++++++++
 drivers/tpm/st33zp24/spi.c                        | 286 ++++++++++++++
 drivers/tpm/st33zp24/st33zp24.c                   | 454 ++++++++++++++++++++++
 drivers/tpm/st33zp24/st33zp24.h                   |  29 ++
 drivers/tpm/tpm.c                                 | 275 +++----------
 drivers/tpm/{tpm_tis_i2c.c => tpm_i2c_infineon.c} | 271 ++++++++-----
 drivers/tpm/tpm_private.h                         |  23 +-
 include/dm/platform_data/st33zp24_i2c.h           |  28 ++
 include/dm/platform_data/st33zp24_spi.h           |  30 ++
 include/dm/platform_data/tpm_i2c_infineon.h       |  23 ++
 include/dm/uclass-id.h                            |   1 +
 include/fdtdec.h                                  |   5 +-
 lib/fdtdec.c                                      |   2 +
 16 files changed, 1351 insertions(+), 337 deletions(-)
 create mode 100644 drivers/tpm/st33zp24/Makefile
 create mode 100644 drivers/tpm/st33zp24/i2c.c
 create mode 100644 drivers/tpm/st33zp24/spi.c
 create mode 100644 drivers/tpm/st33zp24/st33zp24.c
 create mode 100644 drivers/tpm/st33zp24/st33zp24.h
 rename drivers/tpm/{tpm_tis_i2c.c => tpm_i2c_infineon.c} (70%)
 create mode 100644 include/dm/platform_data/st33zp24_i2c.h
 create mode 100644 include/dm/platform_data/st33zp24_spi.h
 create mode 100644 include/dm/platform_data/tpm_i2c_infineon.h

-- 
2.1.4

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2015-09-08 14:20 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-09 13:19 [U-Boot] [PATCH 0/3] Introduce TPM driver model and STMicroelectronics ST33ZP24 TPMs Christophe Ricard
2015-08-09 13:19 ` [U-Boot] [PATCH 1/3] tpm: Move tpm_tis_i2c to tpm_i2c_infineon Christophe Ricard
2015-08-13 15:55   ` Simon Glass
2015-08-30 22:45     ` Simon Glass
2015-09-02 17:54       ` Christophe Ricard
2015-09-08 14:20         ` Simon Glass
2015-08-09 13:19 ` [U-Boot] [PATCH 2/3] tpm: Initial work to introduce TPM driver model Christophe Ricard
2015-08-13 15:55   ` Simon Glass
2015-08-13 20:37     ` Christophe Ricard
2015-08-13 22:53       ` Simon Glass
2015-08-09 13:19 ` [U-Boot] [PATCH 3/3] tpm: Add st33zp24 tpm with i2c and spi phy Christophe Ricard
2015-08-13 15:55   ` Simon Glass
2015-08-13 20:59     ` Christophe Ricard
2015-08-13 22:53       ` Simon Glass
2015-08-09 13:28 ` [U-Boot] [PATCH 0/3] Introduce TPM driver model and STMicroelectronics ST33ZP24 TPMs Simon Glass
2015-08-09 14:19   ` Christophe Ricard
2015-08-09 15:12     ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox