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

From: Jarkko Sakkinen
Date: Sat Apr 13 2024 - 17:45:40 EST


On Sat Apr 13, 2024 at 10:15 AM EEST, M. Haener wrote:
> From: Michael Haener <michael.haener@xxxxxxxxxxx>
>
> 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@xxxxxxxxxxx>
> Signed-off-by: Michael Haener <michael.haener@xxxxxxxxxxx>
> ---
> 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@xxxxxxxxxx>

BR, Jarkko