[PATCH 1/2] tpm: tis_i2c: Add compatible string st,st33ktpm2xi2c

M. Haener
2024-04-13T07:16:48Z

From: Michael Haener <michael.haener@siemens.com>

Add "st,st33ktpm2xi2c" to the TPM TIS I2C driver. The Chip is compliant
with the TCG PC Client TPM Profile specification.

For reference, a datasheet is available at:
https://www.st.com/resource/en/data_brief/st33ktpm2xi2c.pdf

Reviewed-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Signed-off-by: Michael Haener <michael.haener@siemens.com>
---
drivers/char/tpm/tpm_tis_i2c.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/char/tpm/tpm_tis_i2c.c b/drivers/char/tpm/tpm_tis_i2c.c
index 9511c0d50185..1f277c34e6da 100644
--- a/drivers/char/tpm/tpm_tis_i2c.c
+++ b/drivers/char/tpm/tpm_tis_i2c.c
@@ -384,6 +384,7 @@ MODULE_DEVICE_TABLE(i2c, tpm_tis_i2c_id);
static const struct of_device_id of_tis_i2c_match[] = {
{ .compatible = "infineon,slb9673", },
{ .compatible = "nuvoton,npct75x", },
+ { .compatible = "st,st33ktpm2xi2c", },
{ .compatible = "tcg,tpm-tis-i2c", },
{}
};
--
2.44.0