Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Watchdog

ZII RAVE Supervisory Processor Watchdog

RAVE SP MFD cell 배치와 NVMEM watchdog timeout cell을 설명합니다.

Source pathDocumentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

zii,rave-sp-wdt.yaml:1-47

RAVE SP MFD cell 배치와 NVMEM watchdog timeout cell을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, node 이름, compatible, register, clock, interrupt, reset, reserved memory, timeout과 예제는 원문 줄 좌표를 원형대로 보존합니다.

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/watchdog/zii,rave-sp-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Zodiac Inflight Innovations RAVE Supervisory Processor Watchdog
8
9 maintainers:
10 - Frank Li <[email protected]>
11
12 description:
13 RAVE SP watchdog device is a "MFD cell" device corresponding to
14 watchdog functionality of RAVE Supervisory Processor. It is expected
15 that its Device Tree node is specified as a child of the node
16 corresponding to the parent RAVE SP device (as documented in
17 Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml)
18
19 properties:
20 compatible:
21 enum:
22 - zii,rave-sp-watchdog
23 - zii,rave-sp-watchdog-legacy
24
25 nvmem-cell-names:
26 items:
27 - const: wdt_timeout
28
29 nvmem-cells:
30 maxItems: 1
31
32 required:
33 - compatible
34
35 allOf:
36 - $ref: watchdog.yaml#
37
38 unevaluatedProperties: false
39
40 examples:
41 - |
42 watchdog {
43 compatible = "zii,rave-sp-watchdog";
44 nvmem-cells = <&wdt_timeout>;
45 nvmem-cell-names = "wdt_timeout";
46 };
47
48

3. 한국어 전문 번역

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

RAVE Supervisory Processor 하위 MFD cell

1-18

GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 Zodiac Inflight Innovations RAVE Supervisory Processor Watchdog를 정의합니다. 관리자는 Frank Li입니다.

RAVE SP watchdog는 RAVE Supervisory Processor의 watchdog 기능에 대응하는 MFD cell 장치입니다. device tree node는 `Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml`에 설명된 상위 RAVE SP 장치 node의 자식으로 두어야 합니다.

호환성과 NVMEM timeout cell

19-39

`compatible`은 `zii,rave-sp-watchdog` 또는 `zii,rave-sp-watchdog-legacy`입니다. `nvmem-cell-names`에는 `wdt_timeout` 하나를 두고 `nvmem-cells`는 최대 한 항목입니다.

`compatible`은 필수입니다. 공통 `watchdog.yaml`을 상속하며 평가되지 않은 속성은 허용하지 않습니다.

properties:
  compatible:
    enum:
      - zii,rave-sp-watchdog
      - zii,rave-sp-watchdog-legacy

  nvmem-cell-names:
    items:
      - const: wdt_timeout

  nvmem-cells:
    maxItems: 1

required:
  - compatible

allOf:
  - $ref: watchdog.yaml#

unevaluatedProperties: false

RAVE SP watchdog 예제

40-47

예제는 `zii,rave-sp-watchdog` node에 `wdt_timeout` NVMEM cell을 연결하고 cell 이름도 `wdt_timeout`으로 지정합니다.

examples:
  - |
    watchdog {
        compatible = "zii,rave-sp-watchdog";
        nvmem-cells = <&wdt_timeout>;
        nvmem-cell-names = "wdt_timeout";
    };