[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191110162137.230913-1-amirmizi6@gmail.com>
Date: Sun, 10 Nov 2019 18:21:32 +0200
From: amirmizi6@...il.com
To: Eyal.Cohen@...oton.com, jarkko.sakkinen@...ux.intel.com,
oshrialkoby85@...il.com, alexander.steffen@...ineon.com,
robh+dt@...nel.org, mark.rutland@....com, peterhuewe@....de,
jgg@...pe.ca, arnd@...db.de, gregkh@...uxfoundation.org
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-integrity@...r.kernel.org, oshri.alkoby@...oton.com,
tmaimon77@...il.com, gcwilson@...ibm.com, kgoldman@...ibm.com,
ayna@...ux.vnet.ibm.com, Dan.Morav@...oton.com,
oren.tanami@...oton.com, shmulik.hagar@...oton.com,
amir.mizinski@...oton.com, Amir Mizinski <amirmizi6@...il.com>
Subject: [PATCH v1 0/5] add tpm i2c ptp driver
From: Amir Mizinski <amirmizi6@...il.com>
*This patch set adds support for TPM devices that implement the I2C
interface defined by TCG PTP specification:
https://trustedcomputinggroup.org/wp-content/uploads/TCG_PC_Client_Platform_TPM_Profile_PTP_2.0_r1.03_v22.pdf
The driver was tested on Raspberry-Pie 3, using Nuvoton NPCT75X TPM.
interupts are not implemented yet, preparing it for the next patch.
this patch is based on initial work by oshri Alkoby, Alexander Steffen and Christophe Ricard
Amir Mizinski (5):
char: tpm: Make implementation of read16 read32 write32 optional
char: tpm: Add check_data handle to tpm_tis_phy_ops in order to check
data integrity
char: tpm: rewrite "tpm_tis_req_canceled()"
dt-bindings: tpm: Add the TPM TIS I2C device tree binding documentaion
char: tpm: add tpm_tis_i2c driver
.../bindings/security/tpm/tpm_tis_i2c.txt | 24 ++
drivers/char/tpm/Kconfig | 12 +
drivers/char/tpm/Makefile | 1 +
drivers/char/tpm/tpm_tis_core.c | 109 +++++----
drivers/char/tpm/tpm_tis_core.h | 41 +++-
drivers/char/tpm/tpm_tis_i2c.c | 272 +++++++++++++++++++++
drivers/char/tpm/tpm_tis_spi.c | 41 ----
7 files changed, 407 insertions(+), 93 deletions(-)
create mode 100644 Documentation/devicetree/bindings/security/tpm/tpm_tis_i2c.txt
create mode 100644 drivers/char/tpm/tpm_tis_i2c.c
--
2.7.4
Powered by blists - more mailing lists