요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/watchdog/dlg,da9062-watchdog.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Dialog Semiconductor DA906{1,2,3} Watchdog Timer
maintainers:
- Steve Twiss <stwiss.opensource@diasemi.com>
allOf:
- $ref: watchdog.yaml#
properties:
compatible:
oneOf:
- enum:
- dlg,da9062-watchdog
- dlg,da9063-watchdog
- items:
- const: dlg,da9061-watchdog
- const: dlg,da9062-watchdog
dlg,use-sw-pm:
type: boolean
description:
Add this property to disable the watchdog during suspend.
Only use this option if you can't use the watchdog automatic suspend
function during a suspend (see register CONTROL_B).
dlg,wdt-sd:
$ref: /schemas/types.yaml#/definitions/uint32
enum: [0, 1]
description:
Set what happens on watchdog timeout. If this bit is set the
watchdog timeout triggers SHUTDOWN, if cleared the watchdog triggers
POWERDOWN. Can be 0 or 1. Only use this option if you want to change the
default chip's OTP setting for WATCHDOG_SD bit. If this property is NOT
set the WATCHDOG_SD bit and on timeout watchdog behavior will match the
chip's OTP settings.
required:
- compatible
unevaluatedProperties: false
examples:
- |
watchdog {
compatible = "dlg,da9062-watchdog";
dlg,use-sw-pm;
dlg,wdt-sd = <1>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Dialog DA9061·DA9062·DA9063 워치독
1-11GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 Dialog Semiconductor DA9061, DA9062, DA9063 워치독 타이머를 정의합니다. 관리자는 Steve Twiss입니다.
DA906x 호환 문자열
12-24공통 `watchdog.yaml`을 상속합니다. DA9062와 DA9063은 각각 `dlg,da9062-watchdog`, `dlg,da9063-watchdog`를 직접 사용합니다. DA9061은 `dlg,da9061-watchdog` 뒤에 `dlg,da9062-watchdog` fallback을 둡니다.
allOf:
- $ref: watchdog.yaml#
properties:
compatible:
oneOf:
- enum:
- dlg,da9062-watchdog
- dlg,da9063-watchdog
- items:
- const: dlg,da9061-watchdog
- const: dlg,da9062-watchdog
suspend 중 software 전원 관리
25-31boolean `dlg,use-sw-pm`을 추가하면 suspend 중 워치독을 비활성화합니다. CONTROL_B register의 자동 watchdog suspend 기능을 사용할 수 없는 경우에만 이 옵션을 사용해야 합니다.
dlg,use-sw-pm:
type: boolean
description:
Add this property to disable the watchdog during suspend.
Only use this option if you can't use the watchdog automatic suspend
function during a suspend (see register CONTROL_B).
SHUTDOWN·POWERDOWN과 OTP 기본값
32-47`dlg,wdt-sd`는 timeout 때의 동작을 0 또는 1로 지정합니다. bit가 1이면 timeout이 `SHUTDOWN`을, 0이면 `POWERDOWN`을 유발합니다. chip의 `WATCHDOG_SD` OTP 기본 설정을 바꾸려는 경우에만 사용합니다.
이 속성을 생략하면 `WATCHDOG_SD` bit와 timeout 동작은 chip OTP 설정을 그대로 따릅니다. `compatible`만 필수이며 평가되지 않은 추가 속성은 허용하지 않습니다.
dlg,wdt-sd:
$ref: /schemas/types.yaml#/definitions/uint32
enum: [0, 1]
description:
Set what happens on watchdog timeout. If this bit is set the
watchdog timeout triggers SHUTDOWN, if cleared the watchdog triggers
POWERDOWN. Can be 0 or 1. Only use this option if you want to change the
default chip's OTP setting for WATCHDOG_SD bit. If this property is NOT
set the WATCHDOG_SD bit and on timeout watchdog behavior will match the
chip's OTP settings.
required:
- compatible
unevaluatedProperties: false
DA9062 software PM 예제
48-54예제는 DA9062 워치독에서 suspend 중 software PM을 사용하고 `dlg,wdt-sd = <1>`로 timeout 시 SHUTDOWN을 선택합니다.
examples:
- |
watchdog {
compatible = "dlg,da9062-watchdog";
dlg,use-sw-pm;
dlg,wdt-sd = <1>;
};
요약과 해설
dlg,da9062-watchdog.yaml:1-54DA9061·2·3 워치독의 suspend 관리와 OTP 기반 SHUTDOWN·POWERDOWN을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, clock, interrupt, reset, 예제와 원문 줄 좌표를 원형대로 보존합니다.