i.MX6ULL integration TPM SLB9670

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6ULL integration TPM SLB9670

274 Views
slopena
Contributor I

Hello.

I am tryng using iMX6ULL # to connect the TPM SLB9670 over SPI.

On kernel I've included TCG_TPM, TCG_TIS_CORE, and TCG_TIS_SPI.

Under spi node of device tree I have added this:

tpm0: slb9670@0 {
  compatible = "infineon,slb9670";
  reg = <0>;
  spi-max-frequency = <10000000>;
  status = "okay";
};
 

The SPI device its correctly up; dmesg: 

... [8.013329] spi_imx 2008000.spi: probed
[ 8.113500] imx-sdma 20ec000.sdma: loaded firmware 3.5

But the driver slb9670 is not loaded.

Looking the oscillospoce seem that the CS is not managed.

Can you help me?
 

Labels (1)
0 Kudos
1 Reply

240 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @slopena 

I hope you are doing well.
 
Could you please share the device tree source file which contains ecspi1 pinctrl and cs-gpios properties?
 
Alternatively, could you try to build tpm driver as a module and load it after kernel boot using modprobe to see if there is any message printed in dmesg.
 
Please mention the kernel version used and make sure that the below commit is present.
Thanks & Regards,
Sanket Parekh

0 Kudos