Message ID | 20240116181754.3905754-2-ninad@linux.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add more compatibility strings to tpm-tis-i2c | expand |
On Tue, Jan 16, 2024 at 12:17:54PM -0600, Ninad Palsule wrote: > From: Joel Stanley <joel@jms.id.au> > > Add a generic compatibility string for I2C based TPM 2.0 device. > > Signed-off-by: Joel Stanley <joel@jms.id.au> > Signed-off-by: Ninad Palsule <ninad@linux.ibm.com> FWIW: Tested-by: Guenter Roeck <linux@roeck-us.net> with qemu and tacoma-bmc. Thanks, Guenter
diff --git a/drivers/char/tpm/tpm_tis_i2c.c b/drivers/char/tpm/tpm_tis_i2c.c index a897402cc36a..d63ef81fb1f1 100644 --- a/drivers/char/tpm/tpm_tis_i2c.c +++ b/drivers/char/tpm/tpm_tis_i2c.c @@ -383,6 +383,7 @@ MODULE_DEVICE_TABLE(i2c, tpm_tis_i2c_id); #ifdef CONFIG_OF static const struct of_device_id of_tis_i2c_match[] = { { .compatible = "infineon,slb9673", }, + { .compatible = "tcg,tpm-tis-i2c", }, {} }; MODULE_DEVICE_TABLE(of, of_tis_i2c_match);