]> git.baikalelectronics.ru Git - kernel.git/commit
tpm/tpm_i2c_stm_st33: Split tpm_i2c_tpm_st33 in 2 layers (core + phy)
authorChristophe Ricard <christophe.ricard@gmail.com>
Sun, 8 Mar 2015 10:17:14 +0000 (11:17 +0100)
committerPeter Huewe <peterhuewe@gmx.de>
Wed, 18 Mar 2015 21:43:06 +0000 (22:43 +0100)
commita30179ace229aded7c24103745fb8e1524e21074
tree8319469f65050f72a95ad0ca3e7d231779eac2b7
parent6d79f5ff267b77ab25c419b7e6499303a67cd5e5
tpm/tpm_i2c_stm_st33: Split tpm_i2c_tpm_st33 in 2 layers (core + phy)

tpm_i2c_stm_st33 is a TIS 1.2 TPM with a core interface which can be used
by different phy such as i2c or spi. The core part is called st33zp24 which
is also the main part reference.

include/linux/platform_data/tpm_stm_st33.h is renamed consequently.
The driver is also split into an i2c phy in charge of sending/receiving
data as well as managing platform data or dts configuration.

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>
drivers/char/tpm/Kconfig
drivers/char/tpm/Makefile
drivers/char/tpm/st33zp24/Kconfig [new file with mode: 0644]
drivers/char/tpm/st33zp24/Makefile [new file with mode: 0644]
drivers/char/tpm/st33zp24/i2c.c [new file with mode: 0644]
drivers/char/tpm/st33zp24/st33zp24.c [new file with mode: 0644]
drivers/char/tpm/st33zp24/st33zp24.h [new file with mode: 0644]
drivers/char/tpm/tpm_i2c_stm_st33.c [deleted file]
include/linux/platform_data/st33zp24.h [new file with mode: 0644]
include/linux/platform_data/tpm_stm_st33.h [deleted file]