← Documents Documentation/devicetree/bindings/thermal/marvell,armada370-thermal.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Thermal

Marvell Armada 3xx/XP Thermal

Armada 3xx·XP의 status와 control register 범위를 설명합니다.

Source pathDocumentation/devicetree/bindings/thermal/marvell,armada370-thermal.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

marvell,armada370-thermal.yaml:1-37

Armada 3xx·XP의 status와 control register 범위를 설명합니다. 접을 수 있는 영어 원문 전체는 줄 좌표를 보존하고, 한국어 전문 번역에서는 compatible·property·phandle·register·interrupt·수치·예제 코드를 원형대로 유지합니다.

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/thermal/marvell,armada370-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Marvell Armada 3xx/XP thermal management
8
9 maintainers:
10 - Miquel Raynal <[email protected]>
11
12 properties:
13 compatible:
14 enum:
15 - marvell,armada370-thermal
16 - marvell,armada375-thermal
17 - marvell,armada380-thermal
18 - marvell,armadaxp-thermal
19
20 reg:
21 items:
22 - description: status register (4B)
23 - description: control register (8B)
24
25 required:
26 - compatible
27 - reg
28
29 additionalProperties: false
30
31 examples:
32 - |
33 thermal@d0018300 {
34 compatible = "marvell,armada370-thermal";
35 reg = <0xd0018300 0x4>,
36 <0xd0018304 0x8>;
37 };
38

3. 한국어 전문 번역

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

Marvell Armada 3xx/XP thermal

1-11

이 GPL-2.0-only 또는 BSD-2-Clause YAML 스키마는 Marvell Armada 3xx/XP thermal management block을 정의합니다. Maintainer는 Miquel Raynal입니다.

두 register 범위

12-24

`compatible`은 `marvell,armada370-thermal`, `marvell,armada375-thermal`, `marvell,armada380-thermal`, `marvell,armadaxp-thermal` 중 하나입니다. `reg`는 첫 항목에 4-byte status register, 두 번째 항목에 8-byte control register를 순서대로 둡니다.

필수 속성과 제한

25-30

필수 속성은 `compatible`, `reg`입니다. `additionalProperties: false`로 추가 속성을 금지합니다.

Armada 370 register 예제

31-37

예제는 0xd0018300의 4-byte status register와 바로 뒤 0xd0018304의 8-byte control register를 매핑합니다.

thermal@d0018300 {
    compatible = "marvell,armada370-thermal";
    reg = <0xd0018300 0x4>,
          <0xd0018304 0x8>;
};