Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Lukas Wunner and committed by
Jarkko Sakkinen
68bf59c3 3c45308c

+1
+1
drivers/char/tpm/tpm_tis.c
··· 347 347 348 348 #ifdef CONFIG_OF 349 349 static const struct of_device_id tis_of_platform_match[] = { 350 + {.compatible = "atmel,at97sc3204"}, 350 351 {.compatible = "tcg,tpm-tis-mmio"}, 351 352 {}, 352 353 };