Skip to content

Commit 3f4cc70

Browse files
l1krobherring
authored andcommitted
dt-bindings: tpm: Document Microsoft fTPM bindings
A driver for Microsoft's firmware-based Trusted Platform Module (fTPM) was merged with commit 09e5748 ("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/[email protected]/ Signed-off-by: Lukas Wunner <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/99523409eb5aec9276055ff358ae6f2ceb10be6d.1702806810.git.lukas@wunner.de Signed-off-by: Rob Herring <[email protected]>
1 parent cd6366c commit 3f4cc70

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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 <[email protected]>
11+
- Sasha Levin <[email protected]>
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+
};

0 commit comments

Comments
 (0)