- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
I am using slb9670, which is connected to SPI interface in IMX8 processor.
I am using Linux kernel version - 5.4 .
Observed from tpm_tis_spi.c driver, by default driver supports polling the data.
Instead I wanted to use interrupt based.
Please let me know, what are the changes need to be done in tpm_tis_spi.c / tpm_tis_core.c driver and device tree to make interrupt based data.
Thanks & Regards,
Haji
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Haji,
Please let me know the FW version of your TPM. Also, please refer to this interrupt setup implementation below:
https://github.com/torvalds/linux/blob/20cf903a0c407cef19300e5c85a03c82593bde36/drivers/char/tpm/tpm...
It checks if your TPM supports interrupt, if not, uses polling.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Haji,
Please let me know the FW version of your TPM. Also, please refer to this interrupt setup implementation below:
https://github.com/torvalds/linux/blob/20cf903a0c407cef19300e5c85a03c82593bde36/drivers/char/tpm/tpm...
It checks if your TPM supports interrupt, if not, uses polling.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please let us know if your query was resolved. We will lock the thread in 3 days. In case your problem is not resolved, please create a new thread and we will be happy to help.