Skip to content

Commit 6fa6b79

Browse files
l1kjarkkojs
authored andcommitted
tpm: tis_i2c: Add compatible string nuvoton,npct75x
Add "nuvoton,npct75x" as well as the fallback compatible string "tcg,tpm-tis-i2c" to the TPM TIS I²C driver. They're used by: arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dts arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dts And by all accounts, NPCT75x is supported by the driver: https://lore.kernel.org/all/60e23fd0f0ff4d1f8954034237ae8865@NTILML02.nuvoton.com/ https://lore.kernel.org/all/20220808220839.1006341-8-peter@pjd.dev/ Signed-off-by: Lukas Wunner <lukas@wunner.de> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
1 parent 68bf59c commit 6fa6b79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/char/tpm/tpm_tis_i2c.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,8 @@ MODULE_DEVICE_TABLE(i2c, tpm_tis_i2c_id);
383383
#ifdef CONFIG_OF
384384
static const struct of_device_id of_tis_i2c_match[] = {
385385
{ .compatible = "infineon,slb9673", },
386+
{ .compatible = "nuvoton,npct75x", },
387+
{ .compatible = "tcg,tpm-tis-i2c", },
386388
{}
387389
};
388390
MODULE_DEVICE_TABLE(of, of_tis_i2c_match);

0 commit comments

Comments
 (0)