Documentation/devicetree/bindings/timer/socionext,milbeaut-timer.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Timer

Socionext Milbeaut Timer Controller

Milbeaut timer controller의 register·interrupt·clock 구성을 설명합니다.

Source pathDocumentation/devicetree/bindings/timer/socionext,milbeaut-timer.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.

요약과 해설

socionext,milbeaut-timer.yaml:1-40

Milbeaut timer controller의 register·interrupt·clock 구성을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며 compatible, interrupt, clock, register, phandle, 수치와 줄 좌표를 원형대로 보존합니다.

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/socionext,milbeaut-timer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Milbeaut SoCs Timer Controller
8
9 maintainers:
10 - Sugaya Taichi <[email protected]>
11
12 properties:
13 compatible:
14 const: socionext,milbeaut-timer
15
16 reg:
17 maxItems: 1
18
19 interrupts:
20 maxItems: 1
21
22 clocks:
23 maxItems: 1
24
25 required:
26 - compatible
27 - reg
28 - interrupts
29 - clocks
30
31 additionalProperties: false
32
33 examples:
34 - |
35 timer@1e000050 {
36 compatible = "socionext,milbeaut-timer";
37 reg = <0x1e000050 0x20>;
38 interrupts = <0 91 4>;
39 clocks = <&clk 4>;
40 };
41

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.

Milbeaut SoC Timer Controller

1-11

GPL-2.0-only 또는 BSD-2-Clause 라이선스의 이 스키마는 Socionext Milbeaut SoC의 Timer Controller를 정의합니다. Maintainer는 Sugaya Taichi입니다.

Register·interrupt·clock

12-31

`compatible`은 `socionext,milbeaut-timer`로 고정됩니다. `reg`, `interrupts`, `clocks`는 각각 최대 한 항목입니다. 네 속성이 모두 필수이며 정의되지 않은 추가 속성은 허용하지 않습니다.

properties:
  compatible:
    const: socionext,milbeaut-timer

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts
  - clocks

additionalProperties: false

Milbeaut timer 예제

32-40

예제 `timer@1e000050`은 0x20-byte register 영역, interrupt `<0 91 4>`, clock controller `clk`의 index 4를 지정합니다.

examples:
  - |
    timer@1e000050 {
        compatible = "socionext,milbeaut-timer";
        reg = <0x1e000050 0x20>;
        interrupts = <0 91 4>;
        clocks = <&clk 4>;
    };