← Documents Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Timer

RDA8810PL Timer

RDA8810PL hardware·OS timer interrupt 구성을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

rda,8810pl-timer.yaml:1-47

RDA8810PL hardware·OS timer interrupt 구성을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며 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/timer/rda,8810pl-timer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: RDA Micro RDA8810PL Timer
8
9 maintainers:
10 - Manivannan Sadhasivam <[email protected]>
11
12 properties:
13 compatible:
14 const: rda,8810pl-timer
15
16 reg:
17 maxItems: 1
18
19 interrupts:
20 minItems: 2
21 maxItems: 2
22
23 interrupt-names:
24 items:
25 - const: hwtimer
26 - const: ostimer
27
28 required:
29 - compatible
30 - reg
31 - interrupts
32 - interrupt-names
33
34 additionalProperties: false
35
36 examples:
37 - |
38 #include <dt-bindings/interrupt-controller/irq.h>
39
40 timer@20910000 {
41 compatible = "rda,8810pl-timer";
42 reg = <0x20910000 0x1000>;
43 interrupts = <16 IRQ_TYPE_LEVEL_HIGH>,
44 <17 IRQ_TYPE_LEVEL_HIGH>;
45 interrupt-names = "hwtimer", "ostimer";
46 };
47 ...
48

3. 한국어 전문 번역

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

RDA8810PL timer

1-11

GPL-2.0-only 또는 BSD-2-Clause 라이선스의 이 스키마는 RDA Micro RDA8810PL Timer를 정의합니다. Maintainer는 Manivannan Sadhasivam입니다.

Hardware·OS timer interrupt

12-35

`compatible`은 `rda,8810pl-timer`이고 `reg`는 최대 한 영역입니다. `interrupts`는 정확히 두 항목이며 `interrupt-names`는 같은 순서로 hardware timer를 뜻하는 `hwtimer`, OS timer를 뜻하는 `ostimer`를 사용합니다. 네 속성이 모두 필수이고 추가 속성은 허용되지 않습니다.

properties:
  compatible:
    const: rda,8810pl-timer

  reg:
    maxItems: 1

  interrupts:
    minItems: 2
    maxItems: 2

  interrupt-names:
    items:
      - const: hwtimer
      - const: ostimer

required:
  - compatible
  - reg
  - interrupts
  - interrupt-names

additionalProperties: false

RDA8810PL timer 예제

36-47

예제는 `timer@20910000`에 0x1000-byte register 영역을 두고 level-high interrupt 16과 17을 각각 `hwtimer`, `ostimer`로 지정합니다.

examples:
  - |
    #include <dt-bindings/interrupt-controller/irq.h>

    timer@20910000 {
      compatible = "rda,8810pl-timer";
      reg = <0x20910000 0x1000>;
      interrupts = <16 IRQ_TYPE_LEVEL_HIGH>,
                   <17 IRQ_TYPE_LEVEL_HIGH>;
      interrupt-names = "hwtimer", "ostimer";
    };
...