요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
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/fsl,scu-thermal.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: i.MX SCU Client Device Node - Thermal Based on SCU Message Protocol
maintainers:
- Dong Aisheng <[email protected]>
description: i.MX SCU Client Device Node
Client nodes are maintained as children of the relevant IMX-SCU device node.
allOf:
- $ref: thermal-sensor.yaml#
properties:
compatible:
items:
- enum:
- fsl,imx8dxl-sc-thermal
- fsl,imx8qxp-sc-thermal
- const: fsl,imx-sc-thermal
'#thermal-sensor-cells':
const: 1
required:
- compatible
additionalProperties: false
examples:
- |
thermal-sensor {
compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal";
#thermal-sensor-cells = <1>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
SCU message 기반 i.MX thermal client
1-17이 GPL-2.0-only 또는 BSD-2-Clause YAML 스키마는 SCU Message Protocol을 사용하는 i.MX SCU client thermal device node를 정의합니다. Client node는 관련 IMX-SCU device node의 child로 유지되며 공통 `thermal-sensor.yaml#` 스키마를 포함합니다. Maintainer는 Dong Aisheng입니다.
SoC compatible과 sensor specifier
18-28`compatible`은 첫 항목으로 `fsl,imx8dxl-sc-thermal` 또는 `fsl,imx8qxp-sc-thermal`을 사용하고, 두 번째 fallback으로 `fsl,imx-sc-thermal`을 사용합니다. `#thermal-sensor-cells`는 thermal sensor를 식별하는 specifier 하나를 받도록 1로 고정됩니다.
필수 속성과 추가 속성 제한
29-33필수 속성은 `compatible`입니다. `additionalProperties: false`이므로 명시되지 않은 추가 속성은 허용되지 않습니다.
i.MX8QXP SC thermal 예제
34-39예제의 `thermal-sensor` child는 i.MX8QXP 전용 compatible과 공통 SC fallback을 함께 선언하고 1-cell sensor provider로 노출됩니다.
thermal-sensor {
compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal";
#thermal-sensor-cells = <1>;
};
요약과 해설
fsl,scu-thermal.yaml:1-39SCU message protocol 기반 i.MX8DXL·i.MX8QXP thermal client를 설명합니다. 접을 수 있는 영어 원문 전체는 줄 좌표를 보존하고, 한국어 전문 번역에서는 compatible·property·phandle·register·interrupt·수치·예제 코드를 원형대로 유지합니다.