[U-Boot] [PATCH] tpm2: Don't assume active low reset value

Simon Glass sjg at chromium.org
Fri Sep 27 01:49:04 UTC 2019


On Fri, 6 Sep 2019 at 16:08, Kayla Theil <kayla.theil at mixed-mode.de> wrote:
>
> The reset function sets the pin to 0 then 1 but if the pin is marked
> ACTIVE_LOW in the DT it gets inverted and leaves the TPM in reset.
> Let the gpio driver take care of the reset polarity.
>
> Signed-off-by: Kayla Theil <kayla.theil at mixed-mode.de>
> ---
>  drivers/tpm/tpm2_tis_spi.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list