tpm: Add support for new Infineon I2C TPM (SLB 9645 TT 1.2 I2C)
authorVincent Palatin <vpalatin@chromium.org>
Fri, 12 Apr 2013 11:04:36 +0000 (11:04 +0000)
committerSimon Glass <sjg@chromium.org>
Mon, 3 Jun 2013 08:26:25 +0000 (01:26 -0700)
commitec34fa5e43bfbef5a93394db04ff3b03fdfe3f44
tree1f5b45952a9440d6b4571313f0a4dcf98e94148b
parent5bdf46b71b26263d090ccdb1c6679afd085f0323
tpm: Add support for new Infineon I2C TPM (SLB 9645 TT 1.2 I2C)

Add support for Infineon's new SLB 9645 TT 1.2 I2C TPMs,
which supports clockstretching, combined reads and a bus speed of
up to 400khz. The device also has a new device id.

This is based on the kernel patch provided by Infineon :
https://gerrit.chromium.org/gerrit/42332

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Luigi Semenzato <semenzato@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Tom Wai-Hong Tam <waihong@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
drivers/tpm/slb9635_i2c/tpm_tis_i2c.c
drivers/tpm/tis_i2c.c
include/fdtdec.h
lib/fdtdec.c