cancel
Showing results for 
Search instead for 
Did you mean: 

Where is the Linux 6.1 TPM driver for ST33KTPM2X?

LeoRuan
Visitor

Hi,

I am doing the evaluation of ST33KTPM2X-i2c on my Linux v6.1.70 embedded system.

According to the 'Enabling TPM support in the Linux kernel from the version 6.1' from an5714-integrating-the-stsafetpm-trusted-platform-modules-with-linux-stmicroelectronics.pdf, :

From the version 6.1, the TPM support can be enabled with a short method, which is available in the [TCG-TPM-I2C-DRV] github in Section 1: Open-source software resources.

I understand the driver is available within the Linux v6.1 already. What I need to to is to enable the tpm_tis_i2c.c and add device node into my DTB. Done!

But when I looked into the source code of Linux v6.1 (mainline or https://github.com/raspberrypi/linux/blob/rpi-6.1.y/drivers/char/tpm/tpm_tis_i2c.c#L385), the driver is not presented there - where I expect something like: .compatible = "st,st33ktpm-i2c". Could you help me?

0 REPLIES 0