summaryrefslogtreecommitdiff
path: root/doc/device-tree-bindings/tpm2
diff options
context:
space:
mode:
authorBruno Thomsen <bruno.thomsen@gmail.com>2020-06-12 17:17:33 +0200
committerTom Rini <trini@konsulko.com>2020-07-08 15:38:32 -0400
commit78cc3fcf089b8fcaa4d9f21fcd1728bb32d9f5b7 (patch)
tree8bc30fb7ac7f490249184da5d6cd6c416658c5c4 /doc/device-tree-bindings/tpm2
parent186529953fd10a97e6343418095edd1c535aaeb2 (diff)
tpm2: tis_spi: add linux compatible fallback string
This solves a compatibility issue with Linux device trees that contain TPMv2.x hardware. So it's easier to import DTS from upstream kernel when migrating board init from C code to DTS. The issue is that fallback binding is different between Linux and u-Boot. Linux: "tcg,tpm_tis-spi" U-Boot: "tis,tpm2-spi" As there are currently no in-tree users of the U-Boot binding, it makes sense to use Linux fallback binding. Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'doc/device-tree-bindings/tpm2')
-rw-r--r--doc/device-tree-bindings/tpm2/tis-tpm2-spi.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/device-tree-bindings/tpm2/tis-tpm2-spi.txt b/doc/device-tree-bindings/tpm2/tis-tpm2-spi.txt
index b48a15112d..3a2ee4bd17 100644
--- a/doc/device-tree-bindings/tpm2/tis-tpm2-spi.txt
+++ b/doc/device-tree-bindings/tpm2/tis-tpm2-spi.txt
@@ -2,7 +2,7 @@ ST33TPHF20 SPI TPMv2.0 bindings
-------------------------------
Required properties:
-- compatible : Should be "tis,tpm2-spi"
+- compatible : Should be "tcg,tpm_tis-spi"
- reg : SPI Chip select
Optional properties:
@@ -12,7 +12,7 @@ Optional properties:
Example:
tpm@1 {
- compatible = "tis,tpm2-spi";
+ compatible = "tcg,tpm_tis-spi";
reg = <1>;
spi-max-frequency = <10000000>;
};