요약·해설과 원문, 전문 번역을 서로 분리했습니다. 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/timestamp/hardware-timestamps-common.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Hardware timestamp providers
maintainers:
- Dipen Patel <dipenp@nvidia.com>
description:
Some devices/SoCs have hardware timestamp engines (HTE) which can use
hardware means to timestamp entity in realtime. The entity could be anything
from GPIOs, IRQs, Bus and so on. The hardware timestamp engine present
itself as a provider with the bindings described in this document.
properties:
$nodename:
pattern: "^timestamp(@.*|-([0-9]|[1-9][0-9]+))?$"
"#timestamp-cells":
description:
Number of cells in a HTE specifier.
required:
- "#timestamp-cells"
additionalProperties: true
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Hardware timestamp provider
1-17GPL-2.0-only 또는 BSD-2-Clause 라이선스의 이 공통 스키마는 Hardware Timestamp Engine(HTE) provider를 정의합니다. 일부 device와 SoC의 HTE는 hardware 방식으로 entity를 realtime timestamp할 수 있으며 대상은 GPIO, IRQ, bus 등 어떤 신호도 될 수 있습니다. Hardware timestamp engine은 이 문서에 정의된 binding을 갖는 provider로 나타납니다. Maintainer는 Dipen Patel입니다.
Timestamp node와 specifier cell
18-29Node 이름은 `timestamp`, address가 붙은 `timestamp@...`, 또는 숫자 suffix가 붙은 `timestamp-N` 형식을 따릅니다. 필수 `#timestamp-cells`는 HTE specifier의 cell 수를 나타냅니다. Provider별 속성을 허용하기 위해 추가 속성은 허용됩니다.
properties:
$nodename:
pattern: "^timestamp(@.*|-([0-9]|[1-9][0-9]+))?$"
"#timestamp-cells":
description:
Number of cells in a HTE specifier.
required:
- "#timestamp-cells"
additionalProperties: true
요약과 해설
hardware-timestamps-common.yaml:1-29Hardware timestamp provider의 node와 specifier cell을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며 compatible, interrupt, clock, register, phandle, 수치와 줄 좌표를 원형대로 보존합니다.