Documentation/devicetree/bindings/timer/hpe,gxp-timer.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Timer

HPE GXP Timer

HPE GXP timer의 IOP clock과 VIC interrupt 구성을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

hpe,gxp-timer.yaml:1-47

HPE GXP timer의 IOP clock과 VIC 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/hpe,gxp-timer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: HPE GXP Timer
8
9 maintainers:
10 - Nick Hawkins <[email protected]>
11 - Jean-Marie Verdun <[email protected]>
12
13 properties:
14 compatible:
15 const: hpe,gxp-timer
16
17 reg:
18 maxItems: 1
19
20 interrupts:
21 maxItems: 1
22
23 clocks:
24 maxItems: 1
25
26 clock-names:
27 const: iop
28
29 required:
30 - compatible
31 - reg
32 - interrupts
33 - clocks
34 - clock-names
35
36 additionalProperties: false
37
38 examples:
39 - |
40 timer@c0000000 {
41 compatible = "hpe,gxp-timer";
42 reg = <0x80 0x16>;
43 interrupts = <0>;
44 interrupt-parent = <&vic0>;
45 clocks = <&iopclk>;
46 clock-names = "iop";
47 };
48

3. 한국어 전문 번역

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

HPE GXP timer

1-12

GPL-2.0-only 또는 BSD-2-Clause 라이선스의 이 스키마는 HPE GXP timer를 정의합니다. Maintainer는 Nick Hawkins와 Jean-Marie Verdun입니다.

IOP clock과 필수 자원

13-37

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

properties:
  compatible:
    const: hpe,gxp-timer

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

  clock-names:
    const: iop

required:
  - compatible
  - reg
  - interrupts
  - clocks
  - clock-names

additionalProperties: false

GXP VIC timer 예제

38-47

예제의 `timer@c0000000` node는 register `<0x80 0x16>`, `vic0` interrupt controller의 interrupt 0, `iopclk` clock을 지정하고 clock 이름을 `iop`로 설정합니다.

examples:
  - |
    timer@c0000000 {
        compatible = "hpe,gxp-timer";
        reg = <0x80 0x16>;
        interrupts = <0>;
        interrupt-parent = <&vic0>;
        clocks = <&iopclk>;
        clock-names = "iop";
    };