]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
doc: device-tree-bindings: add TIS TPMv2.0 SPI module info
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 15 May 2018 09:57:23 +0000 (11:57 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 26 May 2018 00:12:59 +0000 (20:12 -0400)
Add TIS TPMv2.0 SPI module bindings.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
doc/device-tree-bindings/tpm2/tis-tpm2-spi.txt [new file with mode: 0644]

diff --git a/doc/device-tree-bindings/tpm2/tis-tpm2-spi.txt b/doc/device-tree-bindings/tpm2/tis-tpm2-spi.txt
new file mode 100644 (file)
index 0000000..b48a151
--- /dev/null
@@ -0,0 +1,18 @@
+ST33TPHF20 SPI TPMv2.0 bindings
+-------------------------------
+
+Required properties:
+- compatible           : Should be "tis,tpm2-spi"
+- reg                  : SPI Chip select
+
+Optional properties:
+- gpio-reset           : Reset GPIO (if not connected to the SoC reset line)
+- spi-max-frequency    : See spi-bus.txt
+
+Example:
+
+       tpm@1 {
+               compatible = "tis,tpm2-spi";
+               reg = <1>;
+               spi-max-frequency = <10000000>;
+       };