← Documents Documentation/devicetree/bindings/usb/nxp,ptn36502.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / USB

NXP PTN36502 Type-C Combo Redriver

PTN36502의 USB·DisplayPort switch, 세 graph port와 endpoint 연결을 설명합니다.

Source pathDocumentation/devicetree/bindings/usb/nxp,ptn36502.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약과 해설

nxp,ptn36502.yaml:1-93

PTN36502의 USB·DisplayPort switch, 세 graph port와 endpoint 연결을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, interrupt, clock, PHY, power, source path와 원문 줄 좌표를 원형대로 보존합니다.

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/usb/nxp,ptn36502.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: NXP PTN36502 Type-C USB 3.1 Gen 1 and DisplayPort v1.2 combo redriver
8
9 maintainers:
10 - Luca Weiss <luca.weiss@fairphone.com>
11
12 properties:
13 compatible:
14 enum:
15 - nxp,ptn36502
16
17 reg:
18 maxItems: 1
19
20 vdd18-supply:
21 description: Power supply for VDD18 pin
22
23 orientation-switch: true
24 retimer-switch: true
25
26 ports:
27 $ref: /schemas/graph.yaml#/properties/ports
28 properties:
29 port@0:
30 $ref: /schemas/graph.yaml#/properties/port
31 description: Super Speed (SS) Output endpoint to the Type-C connector
32
33 port@1:
34 $ref: /schemas/graph.yaml#/properties/port
35 description: Super Speed (SS) Input endpoint from the Super-Speed PHY
36
37 port@2:
38 $ref: /schemas/graph.yaml#/properties/port
39 description:
40 Sideband Use (SBU) AUX lines endpoint to the Type-C connector for the purpose of
41 handling altmode muxing and orientation switching.
42
43 required:
44 - compatible
45 - reg
46
47 allOf:
48 - $ref: usb-switch.yaml#
49 - $ref: usb-switch-ports.yaml#
50
51 additionalProperties: false
52
53 examples:
54 - |
55 i2c {
56 #address-cells = <1>;
57 #size-cells = <0>;
58
59 typec-mux@1a {
60 compatible = "nxp,ptn36502";
61 reg = <0x1a>;
62
63 vdd18-supply = <&usb_redrive_1v8>;
64
65 retimer-switch;
66 orientation-switch;
67
68 ports {
69 #address-cells = <1>;
70 #size-cells = <0>;
71
72 port@0 {
73 reg = <0>;
74 usb_con_ss: endpoint {
75 remote-endpoint = <&typec_con_ss>;
76 };
77 };
78 port@1 {
79 reg = <1>;
80 phy_con_ss: endpoint {
81 remote-endpoint = <&usb_phy_ss>;
82 };
83 };
84 port@2 {
85 reg = <2>;
86 usb_con_sbu: endpoint {
87 remote-endpoint = <&typec_dp_aux>;
88 };
89 };
90 };
91 };
92 };
93 ...
94

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

NXP PTN36502 combo redriver

1-11

GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 schema는 NXP PTN36502 Type-C USB 3.1 Gen 1 및 DisplayPort v1.2 combo redriver를 정의합니다. 관리자는 Luca Weiss입니다.

I2C register와 switch 속성

12-25

`compatible`은 `nxp,ptn36502`이고 `reg`는 I2C 주소 하나입니다. `vdd18-supply`는 VDD18 pin 전원이며 `orientation-switch`와 `retimer-switch`를 지원합니다.

properties:
  compatible:
    enum:
      - nxp,ptn36502

  reg:
    maxItems: 1

  vdd18-supply:
    description: Power supply for VDD18 pin

  orientation-switch: true
  retimer-switch: true

세 graph port와 필수 속성

26-51

`ports`는 graph schema를 따릅니다. `port@0`은 Type-C connector로 향하는 SuperSpeed output, `port@1`은 SuperSpeed PHY에서 들어오는 SuperSpeed input입니다. `port@2`는 altmode muxing과 orientation switching을 처리하기 위해 Type-C connector에 연결되는 SBU AUX line endpoint입니다.

필수 속성은 `compatible`과 `reg`입니다. `usb-switch.yaml` 및 `usb-switch-ports.yaml`을 상속하며 정의되지 않은 추가 속성은 허용하지 않습니다.

  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#/properties/port
        description: Super Speed (SS) Input endpoint from the Super-Speed PHY

      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

allOf:
  - $ref: usb-switch.yaml#
  - $ref: usb-switch-ports.yaml#

additionalProperties: false

PTN36502 세 endpoint 예제

52-93

예제 I2C node의 `typec-mux@1a`는 주소 0x1a와 `usb_redrive_1v8` supply를 사용하고 retimer 및 orientation switch를 활성화합니다.

세 endpoint는 각각 Type-C SuperSpeed `typec_con_ss`, SuperSpeed PHY `usb_phy_ss`, DisplayPort AUX `typec_dp_aux`에 원격 연결됩니다.


examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        typec-mux@1a {
            compatible = "nxp,ptn36502";
            reg = <0x1a>;

            vdd18-supply = <&usb_redrive_1v8>;

            retimer-switch;
            orientation-switch;

            ports {
                #address-cells = <1>;
                #size-cells = <0>;

                port@0 {
                    reg = <0>;
                    usb_con_ss: endpoint {
                        remote-endpoint = <&typec_con_ss>;
                    };
                };
                port@1 {
                    reg = <1>;
                    phy_con_ss: endpoint {
                        remote-endpoint = <&usb_phy_ss>;
                    };
                };
                port@2 {
                    reg = <2>;
                    usb_con_sbu: endpoint {
                        remote-endpoint = <&typec_dp_aux>;
                    };
                };
            };
        };
    };
...