Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: tpm: document properties for cr50

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

Cc: Andrey Pronin <apronin@chromium.org>
Cc: Duncan Laurie <dlaurie@chromium.org>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Guenter Roeck <groeck@chromium.org>
Cc: Alexander Steffen <Alexander.Steffen@infineon.com>
Cc: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Andrey Pronin <apronin@chromium.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Acked-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>

authored by

Andrey Pronin and committed by
Jarkko Sakkinen
fb8d6c8d 5af4f1d5

+19
+19
Documentation/devicetree/bindings/security/tpm/google,cr50.txt
··· 1 + * H1 Secure Microcontroller with Cr50 Firmware on SPI Bus. 2 + 3 + H1 Secure Microcontroller running Cr50 firmware provides several 4 + functions, including TPM-like functionality. It communicates over 5 + SPI using the FIFO protocol described in the PTP Spec, section 6. 6 + 7 + Required properties: 8 + - compatible: Should be "google,cr50". 9 + - spi-max-frequency: Maximum SPI frequency. 10 + 11 + Example: 12 + 13 + &spi0 { 14 + tpm@0 { 15 + compatible = "google,cr50"; 16 + reg = <0>; 17 + spi-max-frequency = <800000>; 18 + }; 19 + };