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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: tpm: Document Microsoft fTPM bindings

A driver for Microsoft's firmware-based Trusted Platform Module (fTPM)
was merged with commit 09e574831b27 ("tpm/tpm_ftpm_tee: A driver for
firmware TPM running inside TEE"), but its devicetree bindings were not.

This is the only remaining undocumented compatible string for a TPM,
so add a DT schema based on the patch linked below.

Link: https://lore.kernel.org/all/20190409184958.7476-2-sashal@kernel.org/
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/99523409eb5aec9276055ff358ae6f2ceb10be6d.1702806810.git.lukas@wunner.de
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Lukas Wunner and committed by
Rob Herring
3f4cc70d cd6366c0

+47
+47
Documentation/devicetree/bindings/tpm/microsoft,ftpm.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/tpm/microsoft,ftpm.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Microsoft firmware-based Trusted Platform Module (fTPM) 8 + 9 + maintainers: 10 + - Thirupathaiah Annapureddy <thiruan@microsoft.com> 11 + - Sasha Levin <sashal@kernel.org> 12 + 13 + description: | 14 + Commodity CPU architectures, such as ARM and Intel CPUs, have started to 15 + offer trusted computing features in their CPUs aimed at displacing dedicated 16 + trusted hardware. Unfortunately, these CPU architectures raise serious 17 + challenges to building trusted systems because they omit providing secure 18 + resources outside the CPU perimeter. 19 + 20 + Microsoft's firmware-based TPM 2.0 (fTPM) leverages ARM TrustZone to overcome 21 + these challenges and provide software with security guarantees similar to 22 + those of dedicated trusted hardware. 23 + 24 + https://www.microsoft.com/en-us/research/publication/ftpm-software-implementation-tpm-chip/ 25 + https://github.com/Microsoft/ms-tpm-20-ref/tree/main/Samples/ARM32-FirmwareTPM 26 + 27 + properties: 28 + compatible: 29 + const: microsoft,ftpm 30 + 31 + required: 32 + - compatible 33 + - linux,sml-base 34 + - linux,sml-size 35 + 36 + allOf: 37 + - $ref: tpm-common.yaml# 38 + 39 + unevaluatedProperties: false 40 + 41 + examples: 42 + - | 43 + tpm { 44 + compatible = "microsoft,ftpm"; 45 + linux,sml-base = <0x0 0xc0000000>; 46 + linux,sml-size = <0x10000>; 47 + };