From: Andrey Pronin <apronin@chromium.org> To: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Cc: "Peter Huewe" <peterhuewe@gmx.de>, "Marcel Selhorst" <tpmdd@selhorst.net>, "Jason Gunthorpe" <jgunthorpe@obsidianresearch.com>, tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, "Andrey Pronin" <apronin@chromium.org>, groeck@chromium.org, smbarber@chromium.org, dianders@chromium.org, devicetree@vger.kernel.org, " Rob Herring" <robh+dt@kernel.org>, " Pawel Moll" <pawel.moll@arm.com>, " Mark Rutland" <mark.rutland@arm.com>, " Ian Campbell" <ijc+devicetree@hellion.org.uk>, " Kumar Gala" <galak@codeaurora.org> Subject: [PATCH 1/2] tpm: devicetree: document properties for cr50 Date: Thu, 14 Jul 2016 19:20:17 -0700 [thread overview] Message-ID: <1468549218-19215-2-git-send-email-apronin@chromium.org> (raw) In-Reply-To: <1468549218-19215-1-git-send-email-apronin@chromium.org> Add TPM2.0-compatible interface to Cr50. Document its properties in devicetree. Signed-off-by: Andrey Pronin <apronin@chromium.org> --- .../devicetree/bindings/security/tpm/cr50_spi.txt | 30 ++++++++++++++++++++++ 1 file changed, 30 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..1b05e51 --- /dev/null +++ b/Documentation/devicetree/bindings/security/tpm/cr50_spi.txt @@ -0,0 +1,30 @@ +* Cr50 Chip on SPI. + +TCG PTP FIFO Compliant Interface to Cr50 on SPI bus. + +Required properties: +- compatible: Should be "google,cr50_spi". +- spi-max-frequency: Maximum SPI frequency. + +Optional properties: +- access-delay-msec: Required delay between subsequent transactions on SPI. +- sleep-delay-msec: Time after the last SPI activity, after which the chip + may go to sleep. +- wake-start-delay-msec: Time after initiating wake up before the chip is + ready to accept commands over SPI. + +Example: + +&spi0 { + status = "okay"; + + cr50@0 { + compatible = "google,cr50_spi"; + reg = <0>; + spi-max-frequency = <800000>; + + access-delay-msec = <2>; + sleep-delay-msec = <1000>; + wake-start-delay-msec = <60>; + }; +}; -- 2.6.6
WARNING: multiple messages have this Message-ID (diff)
From: Andrey Pronin <apronin-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> To: Jarkko Sakkinen <jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> Cc: " Mark Rutland" <mark.rutland-5wv7dgnIgG8@public.gmane.org>, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org, " Pawel Moll" <pawel.moll-5wv7dgnIgG8@public.gmane.org>, " Ian Campbell" <ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, " Rob Herring" <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, smbarber-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org, tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, " Kumar Gala" <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>, groeck-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org Subject: [PATCH 1/2] tpm: devicetree: document properties for cr50 Date: Thu, 14 Jul 2016 19:20:17 -0700 [thread overview] Message-ID: <1468549218-19215-2-git-send-email-apronin@chromium.org> (raw) In-Reply-To: <1468549218-19215-1-git-send-email-apronin-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> Add TPM2.0-compatible interface to Cr50. Document its properties in devicetree. Signed-off-by: Andrey Pronin <apronin-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> --- .../devicetree/bindings/security/tpm/cr50_spi.txt | 30 ++++++++++++++++++++++ 1 file changed, 30 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..1b05e51 --- /dev/null +++ b/Documentation/devicetree/bindings/security/tpm/cr50_spi.txt @@ -0,0 +1,30 @@ +* Cr50 Chip on SPI. + +TCG PTP FIFO Compliant Interface to Cr50 on SPI bus. + +Required properties: +- compatible: Should be "google,cr50_spi". +- spi-max-frequency: Maximum SPI frequency. + +Optional properties: +- access-delay-msec: Required delay between subsequent transactions on SPI. +- sleep-delay-msec: Time after the last SPI activity, after which the chip + may go to sleep. +- wake-start-delay-msec: Time after initiating wake up before the chip is + ready to accept commands over SPI. + +Example: + +&spi0 { + status = "okay"; + + cr50@0 { + compatible = "google,cr50_spi"; + reg = <0>; + spi-max-frequency = <800000>; + + access-delay-msec = <2>; + sleep-delay-msec = <1000>; + wake-start-delay-msec = <60>; + }; +}; -- 2.6.6 ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev
next prev parent reply other threads:[~2016-07-15 2:20 UTC|newest] Thread overview: 78+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-07-15 2:20 [PATCH 0/2] tpm: add driver for cr50 on SPI Andrey Pronin 2016-07-15 2:20 ` Andrey Pronin [this message] 2016-07-15 2:20 ` [PATCH 1/2] tpm: devicetree: document properties for cr50 Andrey Pronin 2016-07-15 4:05 ` Guenter Roeck 2016-07-15 17:31 ` Andrey Pronin 2016-07-15 17:31 ` Andrey Pronin 2016-07-15 18:28 ` Guenter Roeck 2016-07-15 18:28 ` Guenter Roeck 2016-07-17 13:28 ` Rob Herring 2016-07-17 13:28 ` Rob Herring 2016-07-15 2:20 ` [PATCH 2/2] tpm: add driver for cr50 on SPI Andrey Pronin 2016-07-15 2:20 ` Andrey Pronin 2016-07-15 3:32 ` Jason Gunthorpe 2016-07-15 3:32 ` Jason Gunthorpe 2016-07-15 3:44 ` Andrey Pronin 2016-07-15 3:44 ` Andrey Pronin 2016-07-19 12:55 ` Jarkko Sakkinen 2016-07-19 12:55 ` Jarkko Sakkinen 2016-07-20 0:24 ` Andrey Pronin 2016-07-20 0:24 ` Andrey Pronin 2016-07-20 17:03 ` Jason Gunthorpe 2016-07-20 17:03 ` Jason Gunthorpe 2016-07-21 18:10 ` Andrey Pronin 2016-07-21 18:10 ` Andrey Pronin 2016-07-21 21:00 ` Jason Gunthorpe 2016-07-21 21:00 ` Jason Gunthorpe 2016-07-15 2:28 ` [PATCH 0/2] " Peter Huewe 2016-07-15 2:28 ` Peter Huewe 2016-07-15 2:50 ` Andrey Pronin 2016-07-15 3:28 ` Jason Gunthorpe 2016-07-15 3:28 ` Jason Gunthorpe 2016-07-15 17:15 ` Andrey Pronin 2016-07-15 17:15 ` Andrey Pronin 2016-07-19 12:56 ` Jarkko Sakkinen 2016-07-20 3:41 ` [PATCH v2 " Andrey Pronin 2016-07-20 3:41 ` Andrey Pronin 2016-07-20 3:41 ` [PATCH v2 1/2] tpm: devicetree: document properties for cr50 Andrey Pronin 2016-07-20 3:41 ` Andrey Pronin 2016-07-20 19:03 ` Rob Herring 2016-07-20 19:49 ` Andrey Pronin 2016-07-20 19:49 ` Andrey Pronin 2016-07-20 19:54 ` Jason Gunthorpe 2016-07-20 19:54 ` Jason Gunthorpe 2016-07-27 21:02 ` Andrey Pronin 2016-07-27 21:02 ` Andrey Pronin 2016-07-21 21:03 ` Rob Herring 2016-07-21 21:03 ` Rob Herring 2016-07-27 21:00 ` Andrey Pronin 2016-07-27 21:00 ` Andrey Pronin 2016-07-20 3:41 ` [PATCH v2 2/2] tpm: add driver for cr50 on SPI Andrey Pronin 2016-07-20 3:41 ` Andrey Pronin 2016-07-25 17:09 ` Aw: [PATCH v2 0/2] " Peter Huewe 2016-07-25 17:09 ` Peter Huewe 2016-07-27 21:12 ` Andrey Pronin 2016-07-28 4:25 ` [PATCH v3 " Andrey Pronin 2016-07-28 4:25 ` Andrey Pronin 2016-07-28 4:25 ` [PATCH v3 1/2] tpm: devicetree: document properties for cr50 Andrey Pronin 2016-07-28 4:25 ` Andrey Pronin 2016-07-28 4:25 ` [PATCH v3 2/2] tpm: add driver for cr50 on SPI Andrey Pronin 2016-07-28 4:25 ` Andrey Pronin 2016-07-28 23:01 ` Dmitry Torokhov 2016-07-28 23:17 ` Jason Gunthorpe 2016-07-28 23:17 ` Jason Gunthorpe 2016-07-29 3:01 ` Andrey Pronin 2016-07-29 3:01 ` Andrey Pronin 2016-07-29 1:55 ` [PATCH v4 0/2] " Andrey Pronin 2016-07-29 1:55 ` Andrey Pronin 2016-07-29 1:55 ` [PATCH v4 1/2] tpm: devicetree: document properties for cr50 Andrey Pronin 2016-07-29 1:55 ` Andrey Pronin 2016-07-29 17:27 ` Jason Gunthorpe 2016-07-29 17:27 ` Jason Gunthorpe 2016-07-29 21:42 ` Rob Herring 2016-07-29 21:42 ` Rob Herring 2016-08-09 10:08 ` Jarkko Sakkinen 2016-08-09 10:08 ` Jarkko Sakkinen 2016-07-29 1:55 ` [PATCH v4 2/2] tpm: add driver for cr50 on SPI Andrey Pronin 2016-07-29 1:55 ` Andrey Pronin 2016-08-09 10:20 ` Jarkko Sakkinen
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1468549218-19215-2-git-send-email-apronin@chromium.org \ --to=apronin@chromium.org \ --cc=devicetree@vger.kernel.org \ --cc=dianders@chromium.org \ --cc=galak@codeaurora.org \ --cc=groeck@chromium.org \ --cc=ijc+devicetree@hellion.org.uk \ --cc=jarkko.sakkinen@linux.intel.com \ --cc=jgunthorpe@obsidianresearch.com \ --cc=linux-kernel@vger.kernel.org \ --cc=mark.rutland@arm.com \ --cc=pawel.moll@arm.com \ --cc=peterhuewe@gmx.de \ --cc=robh+dt@kernel.org \ --cc=smbarber@chromium.org \ --cc=tpmdd-devel@lists.sourceforge.net \ --cc=tpmdd@selhorst.net \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.