요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
# SPDX-License-Identifier: GPL-2.0-only
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/timer/mrvl,mmp-timer.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
7
title: Marvell MMP Timer
9
maintainers:
10
- Daniel Lezcano <daniel.lezcano@linaro.org>
11
- Thomas Gleixner <tglx@linutronix.de>
12
- Rob Herring <robh@kernel.org>
14
properties:
15
$nodename:
16
pattern: '^timer@[a-f0-9]+$'
18
compatible:
19
const: mrvl,mmp-timer
21
reg:
22
maxItems: 1
24
interrupts:
25
maxItems: 1
27
clocks:
28
maxItems: 1
30
required:
31
- compatible
32
- reg
33
- interrupts
35
additionalProperties: false
37
examples:
38
- |
39
timer@d4014000 {
40
compatible = "mrvl,mmp-timer";
41
reg = <0xd4014000 0x100>;
42
interrupts = <13>;
43
clocks = <&coreclk 2>;
44
};
46
...
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Marvell MMP timer
1-13GPL-2.0-only 라이선스의 이 스키마는 Marvell MMP timer를 정의합니다. Maintainer는 Daniel Lezcano, Thomas Gleixner, Rob Herring입니다.
Node 이름과 선택 clock
14-36Node 이름은 `timer@<hex-address>` 형식이고 `compatible`은 `mrvl,mmp-timer`입니다. `reg`, `interrupts`, `clocks`는 각각 최대 한 항목입니다. `compatible`, `reg`, `interrupts`는 필수지만 `clocks`는 선택 사항입니다. 추가 속성은 허용되지 않습니다.
properties:
$nodename:
pattern: '^timer@[a-f0-9]+$'
compatible:
const: mrvl,mmp-timer
reg:
maxItems: 1
interrupts:
maxItems: 1
clocks:
maxItems: 1
required:
- compatible
- reg
- interrupts
additionalProperties: false
MMP core clock 예제
37-46예제는 `timer@d4014000`에 0x100-byte register 영역, interrupt 13, `coreclk` index 2를 지정합니다.
examples:
- |
timer@d4014000 {
compatible = "mrvl,mmp-timer";
reg = <0xd4014000 0x100>;
interrupts = <13>;
clocks = <&coreclk 2>;
};
...
요약과 해설
mrvl,mmp-timer.yaml:1-46Marvell MMP timer의 필수 자원과 선택 clock을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며 compatible, interrupt, clock, register, phandle, 수치와 줄 좌표를 원형대로 보존합니다.