[PATCH 2/5] dt-bindings: tpm: document reset gpio property

From: Lino Sanfilippo
Date: Thu Apr 07 2022 - 07:19:47 EST


Add a despription for the property "reset-gpios" which can be used to
specify the gpio connected to the tpm chips reset pin. Also add an example
for how to use it within the tpm node.

Signed-off-by: Lino Sanfilippo <LinoSanfilippo@xxxxxx>
---
Documentation/devicetree/bindings/security/tpm/tpm_tis_spi.txt | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/security/tpm/tpm_tis_spi.txt b/Documentation/devicetree/bindings/security/tpm/tpm_tis_spi.txt
index b800667da92b..0090a1948ca5 100644
--- a/Documentation/devicetree/bindings/security/tpm/tpm_tis_spi.txt
+++ b/Documentation/devicetree/bindings/security/tpm/tpm_tis_spi.txt
@@ -8,6 +8,7 @@ Required properties:
Optional SoC Specific Properties:
- pinctrl-names: Contains only one value - "default".
- pintctrl-0: Specifies the pin control groups used for this controller.
+- reset-gpios: Specifies the reset GPIO.

Example (for ARM-based BeagleBoard xM with TPM_TIS on SPI4):

@@ -19,5 +20,6 @@ Example (for ARM-based BeagleBoard xM with TPM_TIS on SPI4):
compatible = "tcg,tpm_tis-spi";

spi-max-frequency = <10000000>;
+ reset-gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
};
--
2.35.1