[PATCH 7/7] tpm_tis_i2c: Add old compatible strings back
Peter Delevoryas
peter at pjd.dev
Tue Aug 9 08:08:39 AEST 2022
The old version of this driver from Nuvoton included different
compatible strings, which are in-use by a few dts's.
$ egrep -r "npct75x|tpm-tis-i2c" arch/arm
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts: compatible = "nuvoton,npct75x", "tcg,tpm-tis-i2c";
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts: compatible = "nuvoton,npct75x";
arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts: compatible = "tcg,tpm-tis-i2c";
Signed-off-by: Peter Delevoryas <peter at pjd.dev>
---
drivers/char/tpm/tpm_tis_i2c.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/char/tpm/tpm_tis_i2c.c b/drivers/char/tpm/tpm_tis_i2c.c
index ba0911b1d1ff..a2ae2eafed6d 100644
--- a/drivers/char/tpm/tpm_tis_i2c.c
+++ b/drivers/char/tpm/tpm_tis_i2c.c
@@ -369,6 +369,8 @@ 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 = "nuvoton,npct75x", },
+ { .compatible = "tcg,tpm-tis-i2c", },
{}
};
MODULE_DEVICE_TABLE(of, of_tis_i2c_match);
--
2.37.1
More information about the openbmc
mailing list