diff mbox series

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

Message ID 20220407111849.5676-3-LinoSanfilippo@gmx.de (mailing list archive)
State New, archived
Headers show
Series Support TPM Reset GPIO | expand

Commit Message

Lino Sanfilippo April 7, 2022, 11:18 a.m. UTC
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@gmx.de>
---
 Documentation/devicetree/bindings/security/tpm/tpm_tis_spi.txt | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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>;
         };
 };