Skip to content

Commit

Permalink
tpm: tpm_tis: Share common data between phys
Browse files Browse the repository at this point in the history
Split priv_data structure in common and phy specific structures. This will
allow in future patches to reuse the same tis logic on top of new phy such
as spi and i2c. Ultimately, other drivers may reuse this tis logic.
(e.g: st33zp24...)

iobase field is specific to TPM addressed on 0xFED4xxxx on LPC/SPI bus.

This commit is based on the initial work by Peter Huewe.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
  • Loading branch information
Christophe Ricard authored and Jarkko Sakkinen committed Jun 25, 2016
1 parent d2efee6 commit 57dacc2
Show file tree
Hide file tree
Showing 2 changed files with 132 additions and 76 deletions.
Loading

0 comments on commit 57dacc2

Please sign in to comment.