diff mbox series

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

Message ID 20240413071621.12509-2-michael.haener@siemens.com (mailing list archive)
State New, archived
Headers show
Series Add ST33KTPM2XI2C chip to the TPM TIS I2C driver | expand

Commit Message

Michael Haener April 13, 2024, 7:15 a.m. UTC
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(+)

Comments

Jarkko Sakkinen April 13, 2024, 9:45 p.m. UTC | #1
On Sat Apr 13, 2024 at 10:15 AM EEST, M. Haener wrote:
> 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", },
>  	{}
>  };

Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>

BR, Jarkko
diff mbox series

Patch

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", },
 	{}
 };