Hello,

I am working with on Infineon SLB9670 TPM 2.0 on SPI.

How well is this chip supported in the mainline kernel?

I am currently using the linux-socfpga kernel (version 4.8.0; branch 
socfpga-4.8) [1]
on which I applied the following patches from patchwork:

aacabbe0d5ec tpm_tis_spi: Add small delay after last transfer [2]
a4a011be786f tpm_tis_spi: Remove limitation of transfers to 
MAX_SPI_FRAMESIZE bytes [3]
840157e08b2f tpm_tis_spi: Check correct byte for wait state indicator [4]
10cb31aec536 tpm_tis_spi: Abort transfer when too many wait states are 
signaled [5]
3ad7d9172a8c tpm_tis_spi: Use single function to transfer data [6]
4a809ec34a0f tpm_tis_core: Choose appropriate timeout for reading 
burstcount [7]

With these patches, I can read the Vendor ID properly.
But, the driver initialization fails in the tpm2_probe function.

Did I miss an important patch?

Regards,

Georges

[1] https://github.com/altera-opensource/linux-socfpga/tree/socfpga-4.8
[2] https://patchwork.kernel.org/patch/9600213/
[3] https://patchwork.kernel.org/patch/9600209/
[4] https://patchwork.kernel.org/patch/9600207/
[5] https://patchwork.kernel.org/patch/9600211/
[6] https://patchwork.kernel.org/patch/9600203/
[7] https://patchwork.kernel.org/patch/9682259/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
tpmdd-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tpmdd-devel

Reply via email to