tpm_tis: Add compatible string atmel,at97sc3204
authorLukas Wunner <lukas@wunner.de>
Sat, 13 Jan 2024 17:10:53 +0000 (18:10 +0100)
committerJarkko Sakkinen <jarkko.sakkinen@iki.fi>
Mon, 11 Mar 2024 22:26:06 +0000 (00:26 +0200)
Commit 420d439849ca ("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>
drivers/char/tpm/tpm_tis.c

index 2c52b7905b07062d5745f3675c23e858e8364228..14652aaf8254680c073ba41ee87c8a153361c7b6 100644 (file)
@@ -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"},
        {},
 };