Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1452216

[PATCH v4 1/2] tpm: devicetree: document properties for cr50

From Andrey Pronin <apronin@chromium.org>
Newsgroups linux.kernel
Subject [PATCH v4 1/2] tpm: devicetree: document properties for cr50
Date 2016-07-29 04:00 +0200
Message-ID <s05fH-6fS-3@gated-at.bofh.it> (permalink)
References <rV133-14j-7@gated-at.bofh.it> <s05fH-6fS-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Add TPM2.0 PTP FIFO compatible SPI interface for chips with Cr50
firmware.

Signed-off-by: Andrey Pronin <apronin@chromium.org>
---
 .../devicetree/bindings/security/tpm/cr50_spi.txt   | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/security/tpm/cr50_spi.txt

diff --git a/Documentation/devicetree/bindings/security/tpm/cr50_spi.txt b/Documentation/devicetree/bindings/security/tpm/cr50_spi.txt
new file mode 100644
index 0000000..2fbebd3
--- /dev/null
+++ b/Documentation/devicetree/bindings/security/tpm/cr50_spi.txt
@@ -0,0 +1,21 @@
+* 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 {
+        status = "okay";
+
+        cr50@0 {
+                compatible = "google,cr50";
+                reg = <0>;
+                spi-max-frequency = <800000>;
+        };
+};
-- 
2.6.6

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v4 1/2] tpm: devicetree: document properties for cr50 Andrey Pronin <apronin@chromium.org> - 2016-07-29 04:00 +0200
  Re: [PATCH v4 1/2] tpm: devicetree: document properties for cr50 Jason Gunthorpe <jgunthorpe@obsidianresearch.com> - 2016-07-29 19:30 +0200
    Re: [PATCH v4 1/2] tpm: devicetree: document properties for cr50 Rob Herring <robh@kernel.org> - 2016-07-29 23:50 +0200
  Re: [PATCH v4 1/2] tpm: devicetree: document properties for cr50 Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-08-09 12:10 +0200

csiph-web