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>
Showing
- drivers/char/tpm/Kconfig 1 addition, 10 deletionsdrivers/char/tpm/Kconfig
- drivers/char/tpm/Makefile 1 addition, 1 deletiondrivers/char/tpm/Makefile
- drivers/char/tpm/st33zp24/Kconfig 20 additions, 0 deletionsdrivers/char/tpm/st33zp24/Kconfig
- drivers/char/tpm/st33zp24/Makefile 9 additions, 0 deletionsdrivers/char/tpm/st33zp24/Makefile
- drivers/char/tpm/st33zp24/i2c.c 278 additions, 0 deletionsdrivers/char/tpm/st33zp24/i2c.c
- drivers/char/tpm/st33zp24/st33zp24.c 688 additions, 0 deletionsdrivers/char/tpm/st33zp24/st33zp24.c
- drivers/char/tpm/st33zp24/st33zp24.h 34 additions, 0 deletionsdrivers/char/tpm/st33zp24/st33zp24.h
- include/linux/platform_data/st33zp24.h 5 additions, 16 deletionsinclude/linux/platform_data/st33zp24.h
Loading
Please register or sign in to comment