Documentation/devicetree/bindings/timer/cirrus,clps711x-timer.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Timer

Cirrus CLPS711X Timer Counter

CLPS711X timer의 EP7312·EP7209 compatible 관계를 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

cirrus,clps711x-timer.yaml:1-45

CLPS711X timer의 EP7312·EP7209 compatible 관계를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며 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/cirrus,clps711x-timer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Cirrus Logic CLPS711X Timer Counter
8
9 maintainers:
10 - Alexander Shiyan <[email protected]>
11
12 properties:
13 compatible:
14 oneOf:
15 - items:
16 - enum:
17 - cirrus,ep7312-timer
18 - const: cirrus,ep7209-timer
19 - const: cirrus,ep7209-timer
20
21 reg:
22 maxItems: 1
23
24 clocks:
25 maxItems: 1
26
27 interrupts:
28 maxItems: 1
29
30 required:
31 - compatible
32 - reg
33 - clocks
34 - interrupts
35
36 additionalProperties: false
37
38 examples:
39 - |
40 timer@80000300 {
41 compatible = "cirrus,ep7312-timer", "cirrus,ep7209-timer";
42 reg = <0x80000300 0x4>;
43 interrupts = <8>;
44 clocks = <&clks 5>;
45 };
46

3. 한국어 전문 번역

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

Cirrus CLPS711X timer counter

1-11

GPL-2.0-only 또는 BSD-2-Clause 라이선스의 이 스키마는 Cirrus Logic CLPS711X Timer Counter를 정의합니다. Maintainer는 Alexander Shiyan입니다.

EP7312 fallback과 필수 자원

12-37

`cirrus,ep7209-timer`는 단독으로 사용할 수 있고, EP7312는 `cirrus,ep7312-timer` 뒤에 `cirrus,ep7209-timer` fallback을 둡니다. `reg`, `clocks`, `interrupts`는 각각 최대 한 항목이며 `compatible`, `reg`, `clocks`, `interrupts`가 모두 필수입니다. 추가 속성은 허용되지 않습니다.

properties:
  compatible:
    oneOf:
      - items:
          - enum:
              - cirrus,ep7312-timer
          - const: cirrus,ep7209-timer
      - const: cirrus,ep7209-timer

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg
  - clocks
  - interrupts

additionalProperties: false

EP7312 timer 예제

38-45

예제는 `timer@80000300`에 4-byte register 영역, interrupt 8, `clks` index 5를 지정하고 EP7312 compatible과 EP7209 fallback을 함께 사용합니다.

- |
  timer@80000300 {
      compatible = "cirrus,ep7312-timer", "cirrus,ep7209-timer";
      reg = <0x80000300 0x4>;
      interrupts = <8>;
      clocks = <&clks 5>;
  };