Linux driver for TCG-TPM-I2C-DRV returning error -62 after chip reset.
This is a question about a TPM IC, if this is the wrong channel please advise as to correct channel.
The question relates to the Linux driver for the ST33TPHF2XI2C.
Setup:
Driver Verion - unlnown - downloaded from GITHUB 06-JUN-2022.
IC as ordered: ST33HTPH2X32AHE1
Hardware: On a HAT for a Raspberry PI 4, connected to i2c channel 1 (SLC1, SDA1 GPIO pins)
OS Linux 5.4.72-v7l
Error observed: From dmesg: tpm tpm0: tpm_try_transmit: send(): error -62
Generated by: Issuing the tpm2_getrandom 10 command after having reset the ST33TPHF2XI2C via its physical reset pin, which is tied to GPIO 17 on the RPI HAT.
Questions:
- Is this a known issue or has this issue been reported in another bug (my search did not find this issue).
- Is there a known patch/workaround?
- Is STMicro supporting this driver - it doesn't appear to have been accepted into the Linux kernel and there doesn't appear to be a lot of activity with it.
