Searched +full:st33zp24 +full:- +full:i2c (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/char/tpm/st33zp24/ |
H A D | i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * STMicroelectronics TPM I2C Linux driver for TPM ST33ZP24 4 * Copyright (C) 2009 - 2016 STMicroelectronics 8 #include <linux/i2c.h> 14 #include "st33zp24.h" 25 * Send byte to the TIS register according to the ST33ZP24 I2C protocol. 35 phy->buf[0] = tpm_register; in write8_reg() 36 memcpy(phy->buf + 1, tpm_data, tpm_size); in write8_reg() 37 return i2c_master_send(phy->client, phy->buf, tpm_size + 1); in write8_reg() 42 * Recv byte from the TIS register according to the ST33ZP24 I2C protocol. [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 5 STMicroelectronics ST33ZP24 core driver. It implements the core 13 tristate "STMicroelectronics TPM Interface Specification 1.2 Interface (I2C)" 14 depends on I2C 18 ST33ZP24 with i2c interface. 28 ST33ZP24 with spi interface.
|
H A D | st33zp24.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * STMicroelectronics TPM Linux driver for TPM ST33ZP24 4 * Copyright (C) 2009 - 2016 STMicroelectronics 10 #define TPM_ST33_I2C "st33zp24-i2c" 11 #define TPM_ST33_SPI "st33zp24-spi"
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for ST33ZP24 TPM 1.2 driver 6 tpm_st33zp24-objs = st33zp24.o 7 obj-$(CONFIG_TCG_TIS_ST33ZP24) += tpm_st33zp24.o 9 tpm_st33zp24_i2c-objs = i2c.o 10 obj-$(CONFIG_TCG_TIS_ST33ZP24_I2C) += tpm_st33zp24_i2c.o 12 tpm_st33zp24_spi-objs = spi.o 13 obj-$(CONFIG_TCG_TIS_ST33ZP24_SPI) += tpm_st33zp24_spi.o
|
H A D | st33zp24.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * STMicroelectronics TPM Linux driver for TPM ST33ZP24 4 * Copyright (C) 2009 - 2016 STMicroelectronics 23 #include "st33zp24.h" 71 tpm_dev->ops->recv(tpm_dev->phy_id, TPM_INT_STATUS, &interrupt, 1); in clear_interruption() 72 tpm_dev->ops->send(tpm_dev->phy_id, TPM_INT_STATUS, &interrupt, 1); in clear_interruption() 81 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); in st33zp24_cancel() 85 tpm_dev->ops->send(tpm_dev->phy_id, TPM_STS, &data, 1); in st33zp24_cancel() 93 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); in st33zp24_status() 96 tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS, &data, 1); in st33zp24_status() [all …]
|
/linux/Documentation/devicetree/bindings/tpm/ |
H A D | tcg,tpm-tis-i2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/tpm/tcg,tpm-tis-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: I²C-attached Trusted Platform Module conforming to TCG TIS specification 10 - Lukas Wunner <lukas@wunner.de> 13 The Trusted Computing Group (TCG) has defined a multi-vendor standard 17 …tps://trustedcomputinggroup.org/resource/pc-client-work-group-pc-client-specific-tpm-interface-spe… 22 https://trustedcomputinggroup.org/resource/pc-client-platform-tpm-profile-ptp-specification/ 25 vendor-specific I²C interface. [all …]
|
/linux/drivers/char/tpm/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 26 which is required to validate the PCR 0-7 values. 40 and interposer attacks (see tpm-security.rst). Saying Y 73 tristate "TPM Interface Specification 1.3 Interface / TPM 2.0 FIFO Interface - (SPI)" 78 non-tcg SPI master (i.e. most embedded platforms) that is compliant with the 92 tristate "TPM Interface Specification 1.3 Interface / TPM 2.0 FIFO Interface - (I2C - generic)" 93 depends on I2C 98 (I2C interface) specification and connected to an I2C bus master, 104 tristate "TPM Interface Specification 1.2 Interface / TPM 2.0 FIFO Interface (MMIO - SynQuacer)" 116 tristate "TPM Interface Specification 2.0 Interface (I2C - CR50)" [all …]
|