diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2015-03-08 11:17:15 +0100 |
---|---|---|
committer | Peter Huewe <peterhuewe@gmx.de> | 2015-03-18 22:43:06 +0100 |
commit | f042a315ae65d37ddd429ed6f60f1f87fdd48125 (patch) | |
tree | 86349a7de3fb130c747a80cb1fd681cfdc680430 /drivers/char/tpm/st33zp24/i2c.c | |
parent | tpm/tpm_i2c_stm_st33: Split tpm_i2c_tpm_st33 in 2 layers (core + phy) (diff) | |
download | linux-f042a315ae65d37ddd429ed6f60f1f87fdd48125.tar.xz linux-f042a315ae65d37ddd429ed6f60f1f87fdd48125.zip |
tpm/st33zp24/spi: Add st33zp24 spi phy
st33zp24 TIS 1.2 support also SPI. It is using a proprietary protocol to
transport TIS data.
Acked-by: Jarkko Sakkinen <jarkko.sakknen@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jason.gunthorpe@obsidianresearch.com>
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Diffstat (limited to 'drivers/char/tpm/st33zp24/i2c.c')
-rw-r--r-- | drivers/char/tpm/st33zp24/i2c.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/tpm/st33zp24/i2c.c b/drivers/char/tpm/st33zp24/i2c.c index 95e3091c4590..ad1ee180e0c2 100644 --- a/drivers/char/tpm/st33zp24/i2c.c +++ b/drivers/char/tpm/st33zp24/i2c.c @@ -27,8 +27,6 @@ #include "st33zp24.h" #define TPM_DUMMY_BYTE 0xAA -#define TPM_WRITE_DIRECTION 0x80 -#define TPM_BUFSIZE 2048 struct st33zp24_i2c_phy { struct i2c_client *client; |