[PATCH] arm64: dts: qcom: lemans-evk: Enable TPM (ST33)

Khalid Faisal Ansari posted 1 patch 2 months, 3 weeks ago
arch/arm64/boot/dts/qcom/lemans-evk.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
[PATCH] arm64: dts: qcom: lemans-evk: Enable TPM (ST33)
Posted by Khalid Faisal Ansari 2 months, 3 weeks ago
Enable ST33HTPM TPM over SPI16 on the LeMans IoT EVK by adding the
required SPI and TPM nodes.

Signed-off-by: Khalid Faisal Ansari <khalid.ansari@oss.qualcomm.com>
---
Hi,

As part of TPM support enablement on LeMans EVK, the following tests
were performed to verify functionality: 

- TPM detected via tpm_tis_spi driver
- Verified functionality using tpm2-tools:
    * tpm2_getrandom
    * tpm2_rsadecrypt
    * Other basic TPM oeprations
---
 arch/arm64/boot/dts/qcom/lemans-evk.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/lemans-evk.dts b/arch/arm64/boot/dts/qcom/lemans-evk.dts
index c7dc9b8f4457..773893eb7673 100644
--- a/arch/arm64/boot/dts/qcom/lemans-evk.dts
+++ b/arch/arm64/boot/dts/qcom/lemans-evk.dts
@@ -655,6 +655,16 @@ &sleep_clk {
 	clock-frequency = <32768>;
 };
 
+&spi16 {
+	status = "okay";
+
+	tpm@0 {
+		compatible = "st,st33htpm-spi", "tcg,tpm_tis-spi";
+		reg = <0>;
+		spi-max-frequency = <20000000>;
+	};
+};
+
 &tlmm {
 	ethernet0_default: ethernet0-default-state {
 		ethernet0_mdc: ethernet0-mdc-pins {

---
base-commit: 6fa9041b7177f6771817b95e83f6df17b147c8c6
change-id: 20251114-enable-tpm-lemans-a4ba3f36a20a

Best regards,
-- 
Khalid Faisal Ansari <khalid.ansari@oss.qualcomm.com>
Re: [PATCH] arm64: dts: qcom: lemans-evk: Enable TPM (ST33)
Posted by Bjorn Andersson 1 month ago
On Fri, 14 Nov 2025 15:45:45 +0530, Khalid Faisal Ansari wrote:
> Enable ST33HTPM TPM over SPI16 on the LeMans IoT EVK by adding the
> required SPI and TPM nodes.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: lemans-evk: Enable TPM (ST33)
      commit: d46a0900bdb95a4b1175fa821b46abc11664314b

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>
Re: [PATCH] arm64: dts: qcom: lemans-evk: Enable TPM (ST33)
Posted by Konrad Dybcio 2 months, 3 weeks ago
On 11/14/25 11:15 AM, Khalid Faisal Ansari wrote:
> Enable ST33HTPM TPM over SPI16 on the LeMans IoT EVK by adding the
> required SPI and TPM nodes.
> 
> Signed-off-by: Khalid Faisal Ansari <khalid.ansari@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad
Re: [PATCH] arm64: dts: qcom: lemans-evk: Enable TPM (ST33)
Posted by Khalid Faisal Ansari 1 month, 4 weeks ago
Hi Kernel Reviewers,

I wanted to follow up regarding the patch. It was reviewed but hasn’t 
been applied yet. Please let me know if there’s anything pending on my 
side or any additional changes required.

Thanks

On 11/15/25 03:29, Konrad Dybcio wrote:
> On 11/14/25 11:15 AM, Khalid Faisal Ansari wrote:
>> Enable ST33HTPM TPM over SPI16 on the LeMans IoT EVK by adding the
>> required SPI and TPM nodes.
>>
>> Signed-off-by: Khalid Faisal Ansari <khalid.ansari@oss.qualcomm.com>
>> ---
> 
> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> 
> Konrad