요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
# Copyright 2019,2020 Lubomir Rintel <[email protected]>
%YAML 1.2
---
$id: http://devicetree.org/schemas/usb/marvell,pxau2o-ehci.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Marvell PXA/MMP EHCI
maintainers:
- Lubomir Rintel <[email protected]>
allOf:
- $ref: usb-hcd.yaml#
properties:
compatible:
const: marvell,pxau2o-ehci
reg:
maxItems: 1
interrupts:
maxItems: 1
clocks:
maxItems: 1
clock-names:
const: USBCLK
phys:
maxItems: 1
phy-names:
const: usb
required:
- compatible
- reg
- interrupts
- clocks
- clock-names
- phys
- phy-names
unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/marvell,mmp2.h>
usb@d4208000 {
compatible = "marvell,pxau2o-ehci";
reg = <0xd4208000 0x200>;
interrupts = <44>;
clocks = <&soc_clocks MMP2_CLK_USB>;
clock-names = "USBCLK";
phys = <&usb_otg_phy>;
phy-names = "usb";
};
...
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Marvell PXA/MMP EHCI
1-15GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 schema는 Marvell PXA/MMP EHCI controller를 정의하고 공통 `usb-hcd.yaml`을 상속합니다. 관리자는 Lubomir Rintel입니다.
Controller resource, clock와 PHY
16-37`compatible`은 `marvell,pxau2o-ehci`입니다. register, interrupt, clock, PHY는 각각 하나만 허용합니다.
clock 이름은 대문자 `USBCLK`, PHY 이름은 `usb`로 고정됩니다.
properties:
compatible:
const: marvell,pxau2o-ehci
reg:
maxItems: 1
interrupts:
maxItems: 1
clocks:
maxItems: 1
clock-names:
const: USBCLK
phys:
maxItems: 1
phy-names:
const: usb
필수 속성과 상속 제약
38-48`compatible`, `reg`, `interrupts`, `clocks`, `clock-names`, `phys`, `phy-names`가 모두 필수입니다. 공통 host controller schema를 포함해 평가되지 않은 추가 속성은 허용하지 않습니다.
required:
- compatible
- reg
- interrupts
- clocks
- clock-names
- phys
- phy-names
unevaluatedProperties: false
MMP2 EHCI 예제
49-62예제 `usb@d4208000`은 0xd4208000의 0x200-byte register 영역, interrupt 44, `MMP2_CLK_USB` clock과 `usb_otg_phy`를 사용합니다.
examples:
- |
#include <dt-bindings/clock/marvell,mmp2.h>
usb@d4208000 {
compatible = "marvell,pxau2o-ehci";
reg = <0xd4208000 0x200>;
interrupts = <44>;
clocks = <&soc_clocks MMP2_CLK_USB>;
clock-names = "USBCLK";
phys = <&usb_otg_phy>;
phy-names = "usb";
};
...
요약과 해설
marvell,pxau2o-ehci.yaml:1-62Marvell PXA/MMP EHCI의 USBCLK, PHY 이름과 필수 host controller resource를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, clock, interrupt, PHY, connector, source path와 원문 줄 좌표를 원형대로 보존합니다.