]> git.sur5r.net Git - u-boot/commit
tpm2: tis_spi: add the possibility to reset the chip with a gpio
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 16 May 2018 06:59:16 +0000 (08:59 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 26 May 2018 00:12:59 +0000 (20:12 -0400)
commita174f0001f5920f3ce76866cde85ee1aa8c94ee1
treed8c056d98315ca97b242a3039e875accfa7d4d87
parenteb46910b4bf03e2651533473dd75267704a6c659
tpm2: tis_spi: add the possibility to reset the chip with a gpio

On some designs, the reset line could not be connected to the SoC reset
line, in this case, request the GPIO and ensure the chip gets reset.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/tpm/tpm2_tis_spi.c