mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1] tpm: tis_i2c: add ST33KTPM2XI2C compatible entry
@ 2024-10-24  5:43 Heiko Schocher
  0 siblings, 0 replies; only message in thread
From: Heiko Schocher @ 2024-10-24  5:43 UTC (permalink / raw)
  To: linux-kernel
  Cc: Heiko Schocher, Jarkko Sakkinen, Jason Gunthorpe, Peter Huewe,
	linux-integrity

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-10-24  5:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-24  5:43 [PATCH v1] tpm: tis_i2c: add ST33KTPM2XI2C compatible entry Heiko Schocher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®