CHROMIUM: char/tpm: Add support for Infineon's I2C TIS TPM
authorPeter Huewe <huewe.external@infineon.com>
Fri, 11 Mar 2011 02:14:21 +0000 (18:14 -0800)
committerOlof Johansson <olof@lixom.net>
Fri, 1 Jun 2012 06:53:30 +0000 (23:53 -0700)
commit4a28387820435a56b17ae1784b391de5f66fe6f3
treeef02c8813dd5e2dad202d3f2b2b78d20a4350ee7
parent8d0845d001ef6c1841e43af586374a2e119fb0b7
CHROMIUM: char/tpm: Add support for Infineon's I2C TIS TPM

[Note: This driver will be reworked by the upstream TPM maintainer
to share as much code as possible with a couple of other i2c tpm's.
While that is taking place, we are checking in this driver to have
something to exercise hardware with. This will be reverted when
the upstream driver is available. -olofj]

This patch adds a new driver for Infineon's new I2C based TPM.
The used protocol is quite similar to the TCG TIS protocol.

Tested on: tegra2 seaboard (arm) , beagleboard (arm)
Known Bugs: Suspend does not work correctly on Seaboard, since I2C bus shuts
itself down too early. Works on Beagleboard

Change-Id: I7e945e2fb4edab4eded6c9cd92dd18a1e947c220

BUG=None
TEST= Running trousers testsuite several times, manual tests
Signed-off-by: Peter Huewe <huewe.external@infineon.com>
Signed-off-by: Olof Johansson <olofj@chromium.org>
Review URL: http://codereview.chromium.org/6530003
drivers/char/tpm/Kconfig
drivers/char/tpm/Makefile
drivers/char/tpm/tpm_tis_i2c.c [new file with mode: 0644]