Re: [PATCH 1/1] tpm_tis_spi: add reset handling for SLM/SLB9670
From: Jarkko Sakkinen
Date: Wed Nov 18 2026 - 10:32:15 EST
On Wed, Nov 18, 2026 at 04:10:29PM +0100, Henri Roosen wrote:
> On an i.MX8MP board, the SLM9670 could not always be successfully
> probed at boot time. The first call to tpm_tis_read32() returned with
> timeout.
>
> This turned out to be related to no reset-line handling of the chip.
> Although a reset-gpio was provided in the dts, the tpm_tis_spi driver
> didn't use it.
>
> This patch implements reset-line handling for SLM/SLB9670 when a
> reset-line is provided and uses the timings from the datasheet [1].
>
> Tested with SLM9670.
>
> [1] https://www.infineon.com/assets/row/public/documents/30/49/infineon-slb-9670vq2.0-datasheet-en.pdf
>
> Signed-off-by: Henri Roosen <henri.roosen@xxxxxxxxxxxxx>
Looks good to me! Thank you.
Reviewed-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx>
Br, Jarkko