← Documents Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Thermal

NVIDIA Tegra30 TSENSOR

Tegra30 TSENSOR의 DVFS·CAR·PMC 기반 thermal protection을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

nvidia,tegra30-tsensor.yaml:1-70

Tegra30 TSENSOR의 DVFS·CAR·PMC 기반 thermal protection을 설명합니다. 접을 수 있는 영어 원문 전체는 줄 좌표를 보존하고, 한국어 전문 번역에서는 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/nvidia,tegra30-tsensor.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: NVIDIA Tegra30 Thermal Sensor
8
9 maintainers:
10 - Dmitry Osipenko <[email protected]>
11 - Jon Hunter <[email protected]>
12 - Thierry Reding <[email protected]>
13
14 description: |
15 TSENSOR provides thermal and voltage sensors which monitor temperature
16 and voltage of the chip. Sensors are placed across the die to gauge the
17 temperature of the whole chip. The TSENSOR module:
18
19 Generates an interrupt to SW to lower temperature via DVFS on reaching
20 a certain thermal/voltage threshold.
21
22 Generates a signal to the CAR to reduce CPU frequency by half on reaching
23 a certain thermal/voltage threshold.
24
25 Generates a signal to the PMC when the temperature reaches dangerously high
26 levels to reset the chip and sets a flag in the PMC.
27
28 TSENSOR has two channels which monitor two different spots of the SoC.
29
30 $ref: thermal-sensor.yaml#
31
32 properties:
33 compatible:
34 const: nvidia,tegra30-tsensor
35
36 reg:
37 maxItems: 1
38
39 clocks:
40 maxItems: 1
41
42 resets:
43 maxItems: 1
44
45 interrupts:
46 maxItems: 1
47
48 "#thermal-sensor-cells":
49 const: 1
50
51 required:
52 - compatible
53 - reg
54 - clocks
55 - resets
56 - interrupts
57
58 unevaluatedProperties: false
59
60 examples:
61 - |
62 thermal-sensor@70014000 {
63 compatible = "nvidia,tegra30-tsensor";
64 reg = <0x70014000 0x500>;
65 interrupts = <0 102 4>;
66 clocks = <&clk 100>;
67 resets = <&rst 100>;
68
69 #thermal-sensor-cells = <1>;
70 };
71

3. 한국어 전문 번역

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

NVIDIA Tegra30 Thermal Sensor

1-13

이 GPL-2.0-only 또는 BSD-2-Clause YAML 스키마는 NVIDIA Tegra30 TSENSOR를 정의합니다. Maintainer는 Dmitry Osipenko, Jon Hunter, Thierry Reding입니다.

DVFS, CAR, PMC 보호 동작

14-30

TSENSOR는 chip의 여러 die 위치에 배치된 thermal·voltage sensor로 전체 chip의 temperature와 voltage를 감시합니다. Thermal 또는 voltage threshold에 도달하면 software에 interrupt를 보내 DVFS로 온도를 낮춥니다. 또 CAR에 signal을 보내 CPU frequency를 절반으로 줄입니다. Temperature가 위험하게 높아지면 PMC에 signal을 보내 chip을 reset하고 PMC에 flag를 설정합니다. 서로 다른 SoC 지점을 감시하는 channel은 두 개입니다. 공통 `thermal-sensor.yaml#`을 사용합니다.

Register, clock, reset, interrupt

31-50

`compatible`은 `nvidia,tegra30-tsensor`입니다. `reg`, `clocks`, `resets`, `interrupts`는 각각 최대 한 항목입니다. `#thermal-sensor-cells`는 channel ID 하나를 받도록 1입니다.

필수 속성과 제한

51-59

필수 속성은 `compatible`, `reg`, `clocks`, `resets`, `interrupts`입니다. `unevaluatedProperties: false`로 추가 속성을 제한합니다.

Tegra30 TSENSOR 예제

60-70

예제는 0x70014000의 0x500-byte register, interrupt 102, clock 100, reset 100을 지정하고 1-cell thermal sensor provider로 노출합니다.

thermal-sensor@70014000 {
  compatible = "nvidia,tegra30-tsensor";
  reg = <0x70014000 0x500>;
  interrupts = <0 102 4>;
  clocks = <&clk 100>;
  resets = <&rst 100>;

  #thermal-sensor-cells = <1>;
};