iMX8 with Infineon SLB9670 TPM module

I haven’t tested TPM signals with an oscilloscope yet, but it seems that I’ve managed to get the module working.
First, I enabled the spidev node again, tried it out with wolfTPM library and it seemed to work well from the very beggining. So then, after doing some research and debugging on tpm_tis_spi library I’ve noticed that, despite getting a proper response from the module, the transfer function was somehow misinterpreting it. So I made a few changes to the way it sends and receives frames, recompiled tpm_tis_spi module, and now /dev/tpm0 is visible. I’ve also run some tests with tpm2-tss and tpm2-tools and everything seems to work well.

Nevertheless, I’m still wondering why I had to make such changes in order for the module to work, but as you mentioned - I guess it’s more like the question to post on Infineon forum. Anyway, thank you for your time and reply.

Best regards,
Mateusz