* [PATCH] arm64: dts: qcom: hamoa-iot-evk: Enable TPM (ST33) on SPI11
@ 2025-11-07 14:32 Khalid Faisal Ansari
2025-11-10 11:24 ` Konrad Dybcio
2025-11-10 14:34 ` Rob Herring (Arm)
0 siblings, 2 replies; 3+ messages in thread
From: Khalid Faisal Ansari @ 2025-11-07 14:32 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Khalid Faisal Ansari
Enable ST33HTPM TPM over SPI11 on the Hamoa IoT EVK by adding the
required SPI and TPM nodes.
Signed-off-by: Khalid Faisal Ansari <khalid.ansari@oss.qualcomm.com>
---
Testing:
- TPM detected via tpm_tis_spi
- Verified functionality using tpm2-tools (e.g. tpm2_getrandom, tpm2_rsadecrypt)
Thanks for reviewing.
---
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
index 36dd6599402b..08465f761e88 100644
--- a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
+++ b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
@@ -917,6 +917,16 @@ &smb2360_2_eusb2_repeater {
vdd3-supply = <&vreg_l8b_3p0>;
};
+&spi11 {
+ status = "okay";
+
+ tpm@0 {
+ compatible = "st,st33htpm-spi";
+ reg = <0>;
+ spi-max-frequency = <20000000>;
+ };
+};
+
&swr0 {
status = "okay";
---
base-commit: 9c0826a5d9aa4d52206dd89976858457a2a8a7ed
change-id: 20251107-arm64-dts-qcom-hamoa-iot-evk-enable-st33-tpm-on-spi11-c8353d7fe82e
Best regards,
--
Khalid Faisal Ansari <khalid.ansari@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] arm64: dts: qcom: hamoa-iot-evk: Enable TPM (ST33) on SPI11
2025-11-07 14:32 [PATCH] arm64: dts: qcom: hamoa-iot-evk: Enable TPM (ST33) on SPI11 Khalid Faisal Ansari
@ 2025-11-10 11:24 ` Konrad Dybcio
2025-11-10 14:34 ` Rob Herring (Arm)
1 sibling, 0 replies; 3+ messages in thread
From: Konrad Dybcio @ 2025-11-10 11:24 UTC (permalink / raw)
To: Khalid Faisal Ansari, Bjorn Andersson, Konrad Dybcio,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel
On 11/7/25 3:32 PM, Khalid Faisal Ansari wrote:
> Enable ST33HTPM TPM over SPI11 on the Hamoa IoT EVK by adding the
> required SPI and TPM nodes.
>
> Signed-off-by: Khalid Faisal Ansari <khalid.ansari@oss.qualcomm.com>
> ---
> Testing:
> - TPM detected via tpm_tis_spi
> - Verified functionality using tpm2-tools (e.g. tpm2_getrandom, tpm2_rsadecrypt)
>
> Thanks for reviewing.
> ---
Depends on <20251106102448.3585332-1-xueyao.an@oss.qualcomm.com>
which you should generally mention in the under-"---" section or
a cover letter if one exists
Sorry for not thinking about this earlier, but generally you want
to send such cross-dependent changes as a single series
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: qcom: hamoa-iot-evk: Enable TPM (ST33) on SPI11
2025-11-07 14:32 [PATCH] arm64: dts: qcom: hamoa-iot-evk: Enable TPM (ST33) on SPI11 Khalid Faisal Ansari
2025-11-10 11:24 ` Konrad Dybcio
@ 2025-11-10 14:34 ` Rob Herring (Arm)
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-11-10 14:34 UTC (permalink / raw)
To: Khalid Faisal Ansari
Cc: linux-arm-msm, linux-kernel, Bjorn Andersson,
Krzysztof Kozlowski, Konrad Dybcio, devicetree, Conor Dooley
On Fri, 07 Nov 2025 20:02:25 +0530, Khalid Faisal Ansari wrote:
> Enable ST33HTPM TPM over SPI11 on the Hamoa IoT EVK by adding the
> required SPI and TPM nodes.
>
> Signed-off-by: Khalid Faisal Ansari <khalid.ansari@oss.qualcomm.com>
> ---
> Testing:
> - TPM detected via tpm_tis_spi
> - Verified functionality using tpm2-tools (e.g. tpm2_getrandom, tpm2_rsadecrypt)
>
> Thanks for reviewing.
> ---
> arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
My bot found new DTB warnings on the .dts files added or changed in this
series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.
If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:
pip3 install dtschema --upgrade
This patch series was applied (using b4) to base:
Base: 9c0826a5d9aa4d52206dd89976858457a2a8a7ed (use --merge-base to override)
If this is not the correct base, please add 'base-commit' tag
(or use b4 which does this automatically)
New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/qcom/' for 20251107-arm64-dts-qcom-hamoa-iot-evk-enable-st33-tpm-on-spi11-v1-1-8ba83b58fca7@oss.qualcomm.com:
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dtb: tpm@0 (st,st33htpm-spi): compatible: ['st,st33htpm-spi'] is too short
from schema $id: http://devicetree.org/schemas/tpm/tcg,tpm_tis-spi.yaml
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-11-10 14:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-07 14:32 [PATCH] arm64: dts: qcom: hamoa-iot-evk: Enable TPM (ST33) on SPI11 Khalid Faisal Ansari
2025-11-10 11:24 ` Konrad Dybcio
2025-11-10 14:34 ` Rob Herring (Arm)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®