Hello,
I am trying to enable a TPM 2.0 device (Infineon SLB9670XQ2.0) which is connected to the ECSPI4 bus of an IMX6-UL processor, and when booting up the target board.
I encountered an issue that the initialization of the TPM device failed with the below error messages:
[ 1.682344] tpm tpm0: tpm_try_transmit: send(): error -5
[ 2.438570] tpm tpm0: tpm_relinquish_locality: : error -1
[ 2.444337] tpm_tis_spi spi3.0: 1.2 TPM (device-id 0xFFFF, rev-id 255)
[ 2.452747] tpm tpm0: tpm_try_transmit: send(): error -5
[ 2.458150] tpm tpm0: A TPM error (-5) occurred attempting to determine the timeouts
[ 3.207771] tpm tpm0: tpm_relinquish_locality: : error -1
[ 3.213576] tpm_tis_spi: probe of spi3.0 failed with error -5
Also I am not finding tpm while running :
root@imx6ulevk: ls /dev/tpm0
I have changed my device tree as :
Have anyone encountered something like this? I will appreciated if someone help me out with this
Thanks!!!
@dpandey1 @weidong_sun We're trying to accomplish the same. Any updates on this one?
Hi,
you want to connect 2 spi devices, so in spi node, reg should be like this:
spi_dev0@0 {
......
reg = <0>; /* CS0 */
......
};
spi_dev0@0{
......
reg = <1>; /* CS1 */
......
};
Have a nice day!
B.R,
Weidong