요약·해설과 원문, 전문 번역을 서로 분리했습니다. 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/usb/parade,ps8830.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Parade PS883x USB and DisplayPort Retimer
maintainers:
- Abel Vesa <abel.vesa@linaro.org>
properties:
compatible:
oneOf:
- items:
- const: parade,ps8833
- const: parade,ps8830
- const: parade,ps8830
reg:
maxItems: 1
clocks:
items:
- description: XO Clock
reset-gpios:
maxItems: 1
vdd-supply:
description: power supply (1.07V)
vdd33-supply:
description: power supply (3.3V)
vdd33-cap-supply:
description: power supply (3.3V)
vddar-supply:
description: power supply (1.07V)
vddat-supply:
description: power supply (1.07V)
vddio-supply:
description: power supply (1.2V or 1.8V)
orientation-switch: true
retimer-switch: true
ports:
$ref: /schemas/graph.yaml#/properties/ports
properties:
port@0:
$ref: /schemas/graph.yaml#/properties/port
description: Super Speed (SS) Output endpoint to the Type-C connector
port@1:
$ref: /schemas/graph.yaml#/$defs/port-base
description: Super Speed (SS) Input endpoint from the Super-Speed PHY
unevaluatedProperties: false
port@2:
$ref: /schemas/graph.yaml#/properties/port
description:
Sideband Use (SBU) AUX lines endpoint to the Type-C connector for the purpose of
handling altmode muxing and orientation switching.
required:
- compatible
- reg
- clocks
- reset-gpios
- vdd-supply
- vdd33-supply
- vdd33-cap-supply
- vddat-supply
- vddio-supply
- orientation-switch
- retimer-switch
allOf:
- $ref: usb-switch.yaml#
- $ref: usb-switch-ports.yaml#
additionalProperties: false
examples:
- |
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
typec-mux@8 {
compatible = "parade,ps8830";
reg = <0x8>;
clocks = <&clk_rtmr_xo>;
vdd-supply = <&vreg_rtmr_1p15>;
vdd33-supply = <&vreg_rtmr_3p3>;
vdd33-cap-supply = <&vreg_rtmr_3p3>;
vddar-supply = <&vreg_rtmr_1p15>;
vddat-supply = <&vreg_rtmr_1p15>;
vddio-supply = <&vreg_rtmr_1p8>;
reset-gpios = <&tlmm 10 GPIO_ACTIVE_LOW>;
retimer-switch;
orientation-switch;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
endpoint {
remote-endpoint = <&typec_con_ss>;
};
};
port@1 {
reg = <1>;
endpoint {
remote-endpoint = <&usb_phy_ss>;
};
};
port@2 {
reg = <2>;
endpoint {
remote-endpoint = <&typec_dp_aux>;
};
};
};
};
};
...
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Parade PS883x USB/DisplayPort retimer
1-11GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 schema는 Parade PS883x USB 및 DisplayPort Retimer를 정의합니다. 관리자는 Abel Vesa입니다.
Clock, reset과 여섯 supply
12-49PS8833은 `parade,ps8833`, `parade,ps8830` 두 compatible을 순서대로 사용하며 PS8830은 `parade,ps8830` 하나를 사용합니다. `reg`는 하나이고 `clocks` 항목은 XO clock, `reset-gpios`는 GPIO 하나입니다.
전원은 1.07 V `vdd`, 3.3 V `vdd33`, 3.3 V `vdd33-cap`, 1.07 V `vddar`, 1.07 V `vddat`, 1.2 V 또는 1.8 V `vddio`입니다. orientation switch와 retimer switch를 지원합니다.
properties:
compatible:
oneOf:
- items:
- const: parade,ps8833
- const: parade,ps8830
- const: parade,ps8830
reg:
maxItems: 1
clocks:
items:
- description: XO Clock
reset-gpios:
maxItems: 1
vdd-supply:
description: power supply (1.07V)
vdd33-supply:
description: power supply (3.3V)
vdd33-cap-supply:
description: power supply (3.3V)
vddar-supply:
description: power supply (1.07V)
vddat-supply:
description: power supply (1.07V)
vddio-supply:
description: power supply (1.2V or 1.8V)
orientation-switch: true
retimer-switch: true
세 Type-C graph port
50-68`port@0`은 Type-C connector로 향하는 SuperSpeed output, `port@1`은 SuperSpeed PHY에서 들어오는 input입니다. `port@2`는 altmode muxing과 orientation switching을 위한 Type-C SBU AUX line endpoint입니다.
ports:
$ref: /schemas/graph.yaml#/properties/ports
properties:
port@0:
$ref: /schemas/graph.yaml#/properties/port
description: Super Speed (SS) Output endpoint to the Type-C connector
port@1:
$ref: /schemas/graph.yaml#/$defs/port-base
description: Super Speed (SS) Input endpoint from the Super-Speed PHY
unevaluatedProperties: false
port@2:
$ref: /schemas/graph.yaml#/properties/port
description:
Sideband Use (SBU) AUX lines endpoint to the Type-C connector for the purpose of
handling altmode muxing and orientation switching.
11개 필수 속성과 공통 switch schema
69-87필수 속성은 `compatible`, `reg`, `clocks`, `reset-gpios`, `vdd-supply`, `vdd33-supply`, `vdd33-cap-supply`, `vddat-supply`, `vddio-supply`, `orientation-switch`, `retimer-switch`의 11개입니다. `vddar-supply`는 정의되어 있지만 필수 목록에는 없습니다.
`usb-switch.yaml`과 `usb-switch-ports.yaml`을 상속하며 정의되지 않은 추가 속성은 허용하지 않습니다.
required:
- compatible
- reg
- clocks
- reset-gpios
- vdd-supply
- vdd33-supply
- vdd33-cap-supply
- vddat-supply
- vddio-supply
- orientation-switch
- retimer-switch
allOf:
- $ref: usb-switch.yaml#
- $ref: usb-switch-ports.yaml#
additionalProperties: false
PS8830 세 endpoint 예제
88-144예제 `typec-mux@8`은 주소 0x8, `clk_rtmr_xo`, 여섯 supply와 TLMM GPIO 10 active-low reset을 사용하고 retimer·orientation switch를 활성화합니다.
세 endpoint는 Type-C SuperSpeed `typec_con_ss`, SuperSpeed PHY `usb_phy_ss`, DisplayPort AUX `typec_dp_aux`에 각각 연결됩니다.
examples:
- |
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
typec-mux@8 {
compatible = "parade,ps8830";
reg = <0x8>;
clocks = <&clk_rtmr_xo>;
vdd-supply = <&vreg_rtmr_1p15>;
vdd33-supply = <&vreg_rtmr_3p3>;
vdd33-cap-supply = <&vreg_rtmr_3p3>;
vddar-supply = <&vreg_rtmr_1p15>;
vddat-supply = <&vreg_rtmr_1p15>;
vddio-supply = <&vreg_rtmr_1p8>;
reset-gpios = <&tlmm 10 GPIO_ACTIVE_LOW>;
retimer-switch;
orientation-switch;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
endpoint {
remote-endpoint = <&typec_con_ss>;
};
};
port@1 {
reg = <1>;
endpoint {
remote-endpoint = <&usb_phy_ss>;
};
};
port@2 {
reg = <2>;
endpoint {
remote-endpoint = <&typec_dp_aux>;
};
};
};
};
};
...
요약과 해설
parade,ps8830.yaml:1-144PS8830/PS8833의 clock, reset, supply와 세 Type-C endpoint를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, interrupt, clock, GPIO, regulator, source path와 원문 줄 좌표를 원형대로 보존합니다.