[PATCH v1] tpm: tis_i2c: add ST33KTPM2XI2C compatible entry

Heiko Schocher posted 1 patch 1 month ago
drivers/char/tpm/tpm_tis_i2c.c | 1 +
1 file changed, 1 insertion(+)
[PATCH v1] tpm: tis_i2c: add ST33KTPM2XI2C compatible entry
Posted by Heiko Schocher 1 month ago
add compatible entry "st,st33ktpm2xi2c" for ST33KTPM2XI2C
chip from ST.

datasheet:
https://www.st.com/resource/en/data_brief/st33ktpm2xi2c.pdf

This entry is already documented in
Documentation/devicetree/bindings/tpm/tcg,tpm-tis-i2c.yaml

and so we should add this compatible entry in the
related driver.

Signed-off-by: Heiko Schocher <hs@denx.de>
---

 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 6cd07dd34507..933e10c7522e 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.20.1