summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/security/tpm
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2023-12-17 11:13:32 +0100
committerRob Herring <robh@kernel.org>2024-01-09 10:56:18 -0600
commitd3b8b0855a1181b5a9f8ef58022474f34cba09fd (patch)
tree327454159a07dbb2dfec3436ffadbff626374c30 /Documentation/devicetree/bindings/security/tpm
parent26c9d152ebf3a16661f2d2a619bd71099c71299d (diff)
dt-bindings: tpm: Convert Google Cr50 bindings to DT schema
Convert the devicetree bindings for the Google Security Chip H1 running Cr50 firmware to DT schema. The chip can be attached to SPI or I²C. Existing devicetrees use the same "google,cr50" compatible string for both cases without additionally specifying a generic "tcg,tpm_tis-spi" or "tcg,tpm-tis-i2c" compatible. The chip therefore cannot be documented in the tcg,tpm_tis-spi.yaml and tcg,tpm-tis-i2c.yaml schemas: The validator would select both of them and complain about SPI properties when the chip is an I²C peripheral. So document the chip in a schema of its own which includes both, SPI and I²C properties by reference. Signed-off-by: Lukas Wunner <lukas@wunner.de> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/52635205818ab201cacb0c0f37c7fa48149c7f8e.1702806810.git.lukas@wunner.de Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/security/tpm')
-rw-r--r--Documentation/devicetree/bindings/security/tpm/google,cr50.txt19
1 files changed, 0 insertions, 19 deletions
diff --git a/Documentation/devicetree/bindings/security/tpm/google,cr50.txt b/Documentation/devicetree/bindings/security/tpm/google,cr50.txt
deleted file mode 100644
index cd69c2efdd37..000000000000
--- a/Documentation/devicetree/bindings/security/tpm/google,cr50.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-* H1 Secure Microcontroller with Cr50 Firmware on SPI Bus.
-
-H1 Secure Microcontroller running Cr50 firmware provides several
-functions, including TPM-like functionality. It communicates over
-SPI using the FIFO protocol described in the PTP Spec, section 6.
-
-Required properties:
-- compatible: Should be "google,cr50".
-- spi-max-frequency: Maximum SPI frequency.
-
-Example:
-
-&spi0 {
- tpm@0 {
- compatible = "google,cr50";
- reg = <0>;
- spi-max-frequency = <800000>;
- };
-};