forked from Minki/linux
0edbfea537
Spi protocol standardized by the TCG is now supported by most of TPM vendors. It supports SPI Bit Protocol as describe in the TCG PTP specification (chapter 6.4.6 SPI Bit Protocol). Irq mode is not supported. This commit is based on the initial work by Peter Huewe. Signed-off-by: Peter Huewe <peter.huewe@infineon.com> Signed-off-by: Alexander Steffen <Alexander.Steffen@infineon.com> Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Tested-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
25 lines
589 B
Plaintext
25 lines
589 B
Plaintext
Required properties:
|
|
- compatible: should be one of the following
|
|
"st,st33htpm-spi"
|
|
"infineon,slb9670"
|
|
"tcg,tpm_tis-spi"
|
|
- spi-max-frequency: Maximum SPI frequency (depends on TPMs).
|
|
|
|
Optional SoC Specific Properties:
|
|
- pinctrl-names: Contains only one value - "default".
|
|
- pintctrl-0: Specifies the pin control groups used for this controller.
|
|
|
|
Example (for ARM-based BeagleBoard xM with TPM_TIS on SPI4):
|
|
|
|
&mcspi4 {
|
|
|
|
status = "okay";
|
|
|
|
tpm_tis@0 {
|
|
|
|
compatible = "tcg,tpm_tis-spi";
|
|
|
|
spi-max-frequency = <10000000>;
|
|
};
|
|
};
|