← Documents Documentation/devicetree/bindings/tpm/tcg,tpm-tis-mmio.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / TPM

TCG TIS MMIO TPM

TCG TIS MMIO TPM의 vendor compatible과 최소 register 크기를 설명합니다.

Source pathDocumentation/devicetree/bindings/tpm/tcg,tpm-tis-mmio.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약과 해설

tcg,tpm-tis-mmio.yaml:1-49

TCG TIS MMIO TPM의 vendor compatible과 최소 register 크기를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며 compatible, interrupt, register, GPIO, phandle, 수치와 줄 좌표를 원형대로 보존합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/tpm/tcg,tpm-tis-mmio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: MMIO-accessed Trusted Platform Module conforming to TCG TIS specification
8
9 maintainers:
10 - Lukas Wunner <lukas@wunner.de>
11
12 description: |
13 The Trusted Computing Group (TCG) has defined a multi-vendor standard
14 for accessing a TPM chip. It can be transported over various buses,
15 one of them being LPC (via MMIO). The standard is named:
16 TCG PC Client Specific TPM Interface Specification (TIS)
17 https://trustedcomputinggroup.org/resource/pc-client-work-group-pc-client-specific-tpm-interface-specification-tis/
18
19 properties:
20 compatible:
21 items:
22 - enum:
23 - at97sc3201
24 - atmel,at97sc3204
25 - socionext,synquacer-tpm-mmio
26 - const: tcg,tpm-tis-mmio
27
28 reg:
29 description:
30 location and length of the MMIO registers, length should be
31 at least 0x5000 bytes
32
33 allOf:
34 - $ref: tpm-common.yaml#
35
36 required:
37 - compatible
38 - reg
39
40 unevaluatedProperties: false
41
42 examples:
43 - |
44 tpm@90000 {
45 compatible = "atmel,at97sc3204", "tcg,tpm-tis-mmio";
46 reg = <0x90000 0x5000>;
47 interrupt-parent = <&EIC0>;
48 interrupts = <1 2>;
49 };
50

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

MMIO TCG TIS TPM

1-18

GPL-2.0-only 또는 BSD-2-Clause 라이선스의 이 스키마는 TCG TIS specification을 따르며 MMIO로 접근하는 TPM을 정의합니다. Trusted Computing Group은 여러 vendor의 TPM chip에 접근하는 TCG PC Client Specific TPM Interface Specification(TIS)을 정의했고, LPC를 통한 MMIO는 이를 운반하는 방식 중 하나입니다. Maintainer는 Lukas Wunner입니다.

Vendor compatible과 MMIO 크기

19-41

Atmel AT97SC3201·AT97SC3204 또는 Socionext SynQuacer MMIO TPM은 각각 `at97sc3201`, `atmel,at97sc3204`, `socionext,synquacer-tpm-mmio` 뒤에 `tcg,tpm-tis-mmio` fallback을 둡니다. `reg`는 MMIO register의 위치와 길이를 지정하며 길이는 최소 0x5000 byte여야 합니다. Node는 `tpm-common.yaml`을 따르고 `compatible`과 `reg`가 필수이며 평가되지 않은 추가 속성은 허용하지 않습니다.

properties:
  compatible:
    items:
      - enum:
          - at97sc3201
          - atmel,at97sc3204
          - socionext,synquacer-tpm-mmio
      - const: tcg,tpm-tis-mmio

  reg:
    description:
      location and length of the MMIO registers, length should be
      at least 0x5000 bytes

allOf:
  - $ref: tpm-common.yaml#

required:
  - compatible
  - reg

unevaluatedProperties: false

Atmel MMIO TPM 예제

42-49

예제 `tpm@90000`은 AT97SC3204와 generic TIS MMIO compatible, 0x5000-byte register 영역, EIC0 parent의 interrupt `<1 2>`를 지정합니다.

examples:
  - |
    tpm@90000 {
        compatible = "atmel,at97sc3204", "tcg,tpm-tis-mmio";
        reg = <0x90000 0x5000>;
        interrupt-parent = <&EIC0>;
        interrupts = <1 2>;
    };