History

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.

Christophe Ricard committed 11 years ago

Commit bf38b871 parent fe7d3689 files · +1036 −942Browse files

Showing the changes to include/linux/platform_data (1 of 9 files). Show all

Unified · Split

include/linux/platform_data/st33zp24.hrenamed from include/linux/platform_data/tpm_stm_st33.h+5−16
@@ -1,6 +1,6 @@
1/*1/*
2 * STMicroelectronics TPM I2C Linux driver for TPM ST33ZP242 * STMicroelectronics TPM Linux driver for TPM 1.2 ST33ZP24
3 * Copyright (C) 2009, 2010 STMicroelectronics3 * Copyright (C) 2009 - 2015 STMicroelectronics
4 *4 *
5 * This program is free software; you can redistribute it and/or modify5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by6 * it under the terms of the GNU General Public License as published by
@@ -14,20 +14,9 @@ · 7 unmodified lines
14 *14 *
15 * You should have received a copy of the GNU General Public License15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, see <http://www.gnu.org/licenses/>.16 * along with this program; if not, see <http://www.gnu.org/licenses/>.
17 *
18 * STMicroelectronics version 1.2.0, Copyright (C) 2010
19 * STMicroelectronics comes with ABSOLUTELY NO WARRANTY.
20 * This is free software, and you are welcome to redistribute it
21 * under certain conditions.
22 *
23 * @Author: Christophe RICARD tpmsupport@st.com
24 *
25 * @File: stm_st33_tpm.h
26 *
27 * @Date: 09/15/2010
28 */17 */
29#ifndef __STM_ST33_TPM_H__18#ifndef __ST33ZP24_H__
30#define __STM_ST33_TPM_H__19#define __ST33ZP24_H__
31 20
32#define TPM_ST33_I2C "st33zp24-i2c"21#define TPM_ST33_I2C "st33zp24-i2c"
33#define TPM_ST33_SPI "st33zp24-spi"22#define TPM_ST33_SPI "st33zp24-spi"
@@ -36,4 +25,4 @@ struct st33zp24_platform_data { · 2 unmodified lines
36 int io_lpcpd;25 int io_lpcpd;
37};26};
38 27
39#endif /* __STM_ST33_TPM_H__ */28#endif /* __ST33ZP24_H__ */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t