diff options
author | Lukas Wunner <lukas@wunner.de> | 2024-01-13 18:10:53 +0100 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@iki.fi> | 2024-03-12 00:26:06 +0200 |
commit | 68bf59c3dc744c2123ad7194fbe42efa2fb36873 (patch) | |
tree | 90741e934a59ce9aad425c11d0269bf8b87ba436 /drivers/char | |
parent | 3c45308c44eda6cc3343a48341a82b96753c8a13 (diff) |
tpm_tis: Add compatible string atmel,at97sc3204
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>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/tpm/tpm_tis.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c index 2c52b7905b07..14652aaf8254 100644 --- a/drivers/char/tpm/tpm_tis.c +++ b/drivers/char/tpm/tpm_tis.c @@ -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"}, {}, }; |