Skip to content
/ linux Public
forked from torvalds/linux

Commit

Permalink
tpm_tis: Add compatible string atmel,at97sc3204
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
  • Loading branch information
l1k authored and jarkkojs committed Mar 11, 2024
1 parent 3c45308 commit 68bf59c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/char/tpm/tpm_tis.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ static void tpm_tis_plat_remove(struct platform_device *pdev)

#ifdef CONFIG_OF
static const struct of_device_id tis_of_platform_match[] = {
{.compatible = "atmel,at97sc3204"},
{.compatible = "tcg,tpm-tis-mmio"},
{},
};
Expand Down

0 comments on commit 68bf59c

Please sign in to comment.