[U-Boot] [PATCH v2 03/19] tpm: add support for TPMv2 SPI modules

Simon Glass sjg at chromium.org
Thu Mar 29 22:41:52 UTC 2018


Hi Miquel,

On 29 March 2018 at 15:43, Miquel Raynal <miquel.raynal at bootlin.com> wrote:
> Add the tpm_tis_spi driver that should support any TPMv2 compliant (SPI)
> module.
>
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> ---
>  drivers/tpm/Kconfig       |   9 +
>  drivers/tpm/Makefile      |   1 +
>  drivers/tpm/tpm_tis.h     |   3 +
>  drivers/tpm/tpm_tis_spi.c | 656 ++++++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 669 insertions(+)
>  create mode 100644 drivers/tpm/tpm_tis_spi.c

I think this came up in another context. Would it make sense to create
a common interface to i2c and SPI and then have a common driver?

Regards,
Simon


More information about the U-Boot mailing list