요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/thermal/brcm,ns-thermal.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Broadcom Northstar Thermal
maintainers:
- Rafał Miłecki <[email protected]>
description:
Thermal sensor that is part of Northstar's DMU (Device Management Unit).
allOf:
- $ref: thermal-sensor.yaml#
properties:
compatible:
const: brcm,ns-thermal
reg:
description: PVTMON registers range
maxItems: 1
"#thermal-sensor-cells":
const: 0
unevaluatedProperties: false
required:
- reg
examples:
- |
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 {
};
};
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, 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 {
};
};
};
요약과 해설
brcm,ns-thermal.yaml:1-60Northstar DMU PVTMON sensor와 CPU critical trip 구성을 설명합니다. 접을 수 있는 영어 원문 전체는 줄 좌표를 보존하고, 한국어 전문 번역에서는 compatible·property·phandle·register·interrupt·수치·예제 코드를 원형대로 유지합니다.