dt-bindings: tpm: Add compatible string atmel,attpm20p
authorLukas Wunner <lukas@wunner.de>
Sat, 13 Jan 2024 17:10:51 +0000 (18:10 +0100)
committerJarkko Sakkinen <jarkko.sakkinen@iki.fi>
Mon, 11 Mar 2024 22:26:05 +0000 (00:26 +0200)
Commit 4f2a348aa365 ("arm64: dts: imx8mm-venice-gw73xx: add TPM device")
added a devicetree node for the Trusted Platform Module on certain
Gateworks boards.

The commit only used the generic "tcg,tpm_tis-spi" compatible string,
but public documentation shows that the chip is an ATTPM20P from Atmel
(nowadays Microchip):
https://trac.gateworks.com/wiki/tpm

Add the chip to the supported compatible strings of the TPM TIS SPI
schema.

For reference, a datasheet is available at:
https://ww1.microchip.com/downloads/en/DeviceDoc/ATTPM20P-Trusted-Platform-Module-TPM-2.0-SPI-Interface-Summary-Data-Sheet-DS40002082A.pdf

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Cc: Tim Harvey <tharvey@gateworks.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml

index c3413b47ac3df91b622f7a83880acd922c37b5aa..6cb2de7cb5688e059a221919df420b284090abe9 100644 (file)
@@ -20,6 +20,7 @@ properties:
   compatible:
     items:
       - enum:
+          - atmel,attpm20p
           - infineon,slb9670
           - st,st33htpm-spi
           - st,st33zp24-spi