arm64: dts: freescale: imx8mm-var-dart-sonata: Fix TPM reset polarity
Subsystems (2)
PATCH 1/1 arm64: dts: freescale: imx8mm-var-dart-sonata: Fix TPM reset polarity
From: Stefano Radaelli <[email protected]>
The reset input of the ST33KTPM on the Sonata carrier is active low, but its reset-gpios property is declared GPIO_ACTIVE_HIGH. This reverses the asserted and deasserted levels of the reset signal.
Use GPIO_ACTIVE_LOW to describe the reset polarity correctly. This fixes the TPM not responding on I2C and the resulting absence of /dev/tpm0.
--- arch/arm64/boot/dts/freescale/imx8mm-var-dart-sonata.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mm-var-dart-sonata.dts +1 -1
@@ -259,7 +259,7 @@ st33ktpm2xi2c: tpm@2e { compatible = "st,st33ktpm2xi2c", "tcg,tpm-tis-i2c"; reg = <0x2e>; label = "tpm"; - reset-gpios = <&pca9534 0 GPIO_ACTIVE_HIGH>; + reset-gpios = <&pca9534 0 GPIO_ACTIVE_LOW>; }; };
Signature · 1 line
2.47.3
Quoted 6 lines · Stefano Radaelli
From: Stefano Radaelli <[email protected]>
The reset input of the ST33KTPM on the Sonata carrier is active low, but its reset-gpios property is declared
GPIO_ACTIVE_HIGH. This reverses the asserted and deasserted levels of the reset signal.
Quoted 8 lines
Use
GPIO_ACTIVE_LOWto describe the reset polarity correctly. This fixes the TPM not responding on I2C and the resulting absence of/dev/tpm0.Fixes 770aba46ea0f ("arm64: dts: imx8mm-var-dart: Add support for Variscite Sonata board")Co-developed-by Luan Rafael Carneiro <[email protected]>Signed-off-by Luan Rafael Carneiro <[email protected]>Signed-off-by Stefano Radaelli <[email protected]>
Quoted 17 lines
--- arch/arm64/boot/dts/freescale/imx8mm-var-dart-sonata.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm64/boot/dts/freescale/imx8mm-var-dart-sonata.dts +1
-1@@ -259,7 +259,7 @@ st33ktpm2xi2c: tpm@2e { compatible = "st,st33ktpm2xi2c", "tcg,tpm-tis-i2c"; reg = <0x2e>; label = "tpm"; - reset-gpios = <&pca9534 0 GPIO_ACTIVE_HIGH>; + reset-gpios = <&pca9534 0 GPIO_ACTIVE_LOW>; }; };
[email protected]
AppliedFrom: Frank Li <[email protected]>
Quoted 9 lines · Stefano Radaelli
The reset input of the ST33KTPM on the Sonata carrier is active low, but its reset-gpios property is declared
GPIO_ACTIVE_HIGH. This reverses the asserted and deasserted levels of the reset signal.Use
GPIO_ACTIVE_LOWto describe the reset polarity correctly. This fixes the TPM not responding on I2C and the resulting absence of/dev/tpm0.[...]
Applied, thanks!
[1/1] arm64: dts: freescale: imx8mm-var-dart-sonata: Fix TPM reset polarity
commit: c3feb96e841c637c5d6354e6528a3780fa40a059
Best regards,
Signature · 1 line
Frank Li <[email protected]>