tpm: tis: add support for MMIO TPM on SynQuacer
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Tue, 28 Jul 2020 03:14:31 +0000 (12:14 +0900)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Thu, 1 Oct 2020 21:21:02 +0000 (00:21 +0300)
commitd5ae56a4fe5178e289e763450362d87800f9dcac
tree67c4ddc0a89b7d230172c8d8d6d1718e7f1055fd
parentfcadab740480e0e0e9fa9bd272acd409884d431a
tpm: tis: add support for MMIO TPM on SynQuacer

When fitted, the SynQuacer platform exposes its SPI TPM via a MMIO
window that is backed by the SPI command sequencer in the SPI bus
controller. This arrangement has the limitation that only byte size
accesses are supported, and so we'll need to provide a separate module
that take this into account.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/Kconfig
drivers/char/tpm/Makefile
drivers/char/tpm/tpm_tis_synquacer.c [new file with mode: 0644]