Message ID | 20180515095728.16572-28-miquel.raynal@bootlin.com |
---|---|
State | Accepted |
Commit | 8ee59472cb83cb7d5d28c6e1737a3e8a7ffb7cc3 |
Delegated to: | Tom Rini |
Headers | show |
Series | Introduce TPMv2.0 support | expand |
On Tue, May 15, 2018 at 11:57:23AM +0200, Miquel Raynal wrote: > Add TIS TPMv2.0 SPI module bindings. > > Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> > Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
On Tue, May 15, 2018 at 11:57:23AM +0200, Miquel Raynal wrote: > Add TIS TPMv2.0 SPI module bindings. > > Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> > Reviewed-by: Simon Glass <sjg@chromium.org> > Reviewed-by: Tom Rini <trini@konsulko.com> Applied to u-boot/master, thanks!
diff --git a/doc/device-tree-bindings/tpm2/tis-tpm2-spi.txt b/doc/device-tree-bindings/tpm2/tis-tpm2-spi.txt new file mode 100644 index 0000000000..b48a15112d --- /dev/null +++ b/doc/device-tree-bindings/tpm2/tis-tpm2-spi.txt @@ -0,0 +1,18 @@ +ST33TPHF20 SPI TPMv2.0 bindings +------------------------------- + +Required properties: +- compatible : Should be "tis,tpm2-spi" +- reg : SPI Chip select + +Optional properties: +- gpio-reset : Reset GPIO (if not connected to the SoC reset line) +- spi-max-frequency : See spi-bus.txt + +Example: + + tpm@1 { + compatible = "tis,tpm2-spi"; + reg = <1>; + spi-max-frequency = <10000000>; + };