cancel
Showing results for 
Search instead for 
Did you mean: 

Linux driver for TCG-TPM-I2C-DRV returning error -62 after chip reset through GPIO

selvans
Associate II

Error observed: From dmesg: tpm tpm0: tpm_try_transmit: send(): error -62

OS Version:5.15.71

TPM Chip: ST33KTPM2XI2C

Connectivity: CPU->I2C-> TPM2.0

Driver: https://github.com/STMicroelectronics/TCG-TPM-I2C-DRV/tree/5.10.y

Step to reproduce the issue

Exercise tpm_pcrextend and tpm_pcrread and then issue tpm reset using GPIO pin of our platform.

and tried to access the tpm after tpm_startup. However observed below erro

Error observed: From dmesg: tpm tpm0: tpm_try_transmit: send(): error -62

unloading and loading the tpm_tis_i2c driver have access to tpm and issue disappeared and tpm is accessible.

However I have investigated tpm_tis_spi driver, even after resetting tpm through GPIO, No issues found.

Explored driver probe between i2c and spi, init sequence looks different as controller is different.

Pls help resolving the issue.

Incase this is not the correct forum, help me to reach out to correct community.

Thanks

Selvan 

 

 

 

2 REPLIES 2
Billy OWEN
ST Employee

Hi @selvans 

 

This post has been escalated to the ST Online Support Team for additional assistance.  We'll contact you directly.

 

Regards,

Billy

an update on the query ?