← Documents Documentation/devicetree/bindings/thermal/brcm,ns-thermal.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Thermal

Broadcom Northstar Thermal

Northstar DMU PVTMON sensor와 CPU critical trip 구성을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

brcm,ns-thermal.yaml:1-60

Northstar DMU PVTMON sensor와 CPU critical trip 구성을 설명합니다. 접을 수 있는 영어 원문 전체는 줄 좌표를 보존하고, 한국어 전문 번역에서는 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/brcm,ns-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Broadcom Northstar Thermal
8
9 maintainers:
10 - Rafał Miłecki <rafal@milecki.pl>
11
12 description:
13 Thermal sensor that is part of Northstar's DMU (Device Management Unit).
14
15 allOf:
16 - $ref: thermal-sensor.yaml#
17
18 properties:
19 compatible:
20 const: brcm,ns-thermal
21
22 reg:
23 description: PVTMON registers range
24 maxItems: 1
25
26 "#thermal-sensor-cells":
27 const: 0
28
29 unevaluatedProperties: false
30
31 required:
32 - reg
33
34 examples:
35 - |
36 thermal: thermal@1800c2c0 {
37 compatible = "brcm,ns-thermal";
38 reg = <0x1800c2c0 0x10>;
39 #thermal-sensor-cells = <0>;
40 };
41
42 thermal-zones {
43 cpu-thermal {
44 polling-delay-passive = <0>;
45 polling-delay = <1000>;
46 coefficients = <(-556) 418000>;
47 thermal-sensors = <&thermal>;
48
49 trips {
50 cpu-crit {
51 temperature = <125000>;
52 hysteresis = <0>;
53 type = "critical";
54 };
55 };
56
57 cooling-maps {
58 };
59 };
60 };
61

3. 한국어 전문 번역

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

Broadcom Northstar Thermal

1-17

이 GPL-2.0-only 또는 BSD-2-Clause YAML 스키마는 Northstar DMU(Device Management Unit)에 속한 thermal sensor를 정의합니다. Maintainer는 Rafał Miłecki이며, 공통 `thermal-sensor.yaml#` 스키마를 포함합니다.

PVTMON register와 sensor cell

18-33

`compatible`은 `brcm,ns-thermal`로 고정됩니다. `reg`는 PVTMON register 범위를 한 항목으로 제공하고 `#thermal-sensor-cells`는 0입니다. 추가 속성은 허용되지 않으며 `reg`가 필수입니다.

Northstar CPU thermal zone 예제

34-60

예제는 0x1800c2c0의 0x10-byte sensor를 `thermal` label로 만들고, `cpu-thermal` zone이 1000 ms마다 이를 읽도록 연결합니다. `coefficients = <(-556) 418000>`으로 원시 값을 보정하고, 125000 millidegree에서 hysteresis 없이 `critical` trip을 발생시킵니다. `cooling-maps`는 비어 있습니다.

thermal: thermal@1800c2c0 {
    compatible = "brcm,ns-thermal";
    reg = <0x1800c2c0 0x10>;
    #thermal-sensor-cells = <0>;
};

thermal-zones {
    cpu-thermal {
        polling-delay-passive = <0>;
        polling-delay = <1000>;
        coefficients = <(-556) 418000>;
        thermal-sensors = <&thermal>;

        trips {
            cpu-crit {
                temperature = <125000>;
                hysteresis = <0>;
                type = "critical";
            };
        };

        cooling-maps {
        };
    };
};