Skip to content

Commit 68bf59c

Browse files
l1kjarkkojs
authored andcommitted
tpm_tis: Add compatible string atmel,at97sc3204
Commit 420d439 ("tpm_tis: Allow tpm_tis to be bound using DT") added the fallback compatible "tcg,tpm-tis-mmio" to the TPM TIS driver, but not the chip-specific "atmel,at97sc3204". However it did document it as a valid compatible string. Add it to tis_of_platform_match[] for consistency. Signed-off-by: Lukas Wunner <lukas@wunner.de> Cc: Jason Gunthorpe <jgg@ziepe.ca> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
1 parent 3c45308 commit 68bf59c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/char/tpm/tpm_tis.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ static void tpm_tis_plat_remove(struct platform_device *pdev)
347347

348348
#ifdef CONFIG_OF
349349
static const struct of_device_id tis_of_platform_match[] = {
350+
{.compatible = "atmel,at97sc3204"},
350351
{.compatible = "tcg,tpm-tis-mmio"},
351352
{},
352353
};

0 commit comments

Comments
 (0)