Re: [PATCH v17 5/6] tpm: tpm_tis: Add tpm_tis_i2c driver

From: Randy Dunlap
Date: Sun Oct 24 2021 - 13:44:03 EST


On 10/24/21 9:48 AM, amirmizi6@xxxxxxxxx wrote:
diff --git a/drivers/char/tpm/Kconfig b/drivers/char/tpm/Kconfig
index 4308f9c..ba90137 100644
--- a/drivers/char/tpm/Kconfig
+++ b/drivers/char/tpm/Kconfig
@@ -86,6 +86,18 @@ config TCG_TIS_SYNQUACER
To compile this driver as a module, choose M here;
the module will be called tpm_tis_synquacer.
+config TCG_TIS_I2C
+ tristate "TPM I2C Interface Specification"
+ depends on I2C
+ select CRC_CCITT
+ select TCG_TIS_CORE
+ help
+ If you have a TPM security chip, compliant with the TCG TPM PTP
+ (I2C interface) specification and connected to an I2C bus master,
+ say Yes and it will be accessible from within Linux.
+ To compile this driver as a module, choose M here;

choose M here;
[drop one space]

+ the module will be called tpm_tis_i2c.


--
~Randy