TPM SLB9670 with IMX6-UL

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

TPM SLB9670 with IMX6-UL

3,487件の閲覧回数
dpandey1
Contributor I

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've included TCG_TPM, TCG_TIS_CORE, and TCG_TIS_SPI. Did we have to add anything else to get it working?
 

I have changed my device tree as :

tpm_dts.png

Have anyone encountered something like this? I will appreciated if someone help me out with this

Thanks!!!

 

2 返答(返信)

3,045件の閲覧回数
kanimozhi_t
Contributor V

@dpandey1 @weidong_sun We're trying to accomplish the same. Any updates on this one?

0 件の賞賛
返信

3,263件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信