[PATCH v2 2/2] arm64: dts: qcom: hamoa-iot-evk: Enable TPM (ST33) on SPI11

Khalid Faisal Ansari posted 2 patches 3 months ago
There is a newer version of this series
[PATCH v2 2/2] arm64: dts: qcom: hamoa-iot-evk: Enable TPM (ST33) on SPI11
Posted by Khalid Faisal Ansari 3 months ago
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>
---
 arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
index 08465f761e88..aecaebebcef5 100644
--- a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
+++ b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
@@ -921,7 +921,7 @@ &spi11 {
 	status = "okay";
 
 	tpm@0 {
-		compatible = "st,st33htpm-spi";
+		compatible = "st,st33htpm-spi", "tcg,tpm_tis-spi";
 		reg = <0>;
 		spi-max-frequency = <20000000>;
 	};

-- 
2.34.1
Re: [PATCH v2 2/2] arm64: dts: qcom: hamoa-iot-evk: Enable TPM (ST33) on SPI11
Posted by Dmitry Baryshkov 3 months ago
On Tue, Nov 11, 2025 at 05:28:56PM +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>
> ---
>  arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
> index 08465f761e88..aecaebebcef5 100644
> --- a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
> +++ b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
> @@ -921,7 +921,7 @@ &spi11 {
>  	status = "okay";
>  
>  	tpm@0 {
> -		compatible = "st,st33htpm-spi";
> +		compatible = "st,st33htpm-spi", "tcg,tpm_tis-spi";

What prevents this patch from being squashed into the previous one?

>  		reg = <0>;
>  		spi-max-frequency = <20000000>;
>  	};
> 
> -- 
> 2.34.1
> 

-- 
With best wishes
Dmitry