← Documents Documentation/devicetree/bindings/usb/ite,it5205.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / USB

ITE IT5205 Type-C Passive Mux

IT5205 Type-C mux의 mode·orientation switching, OVP와 graph endpoint 연결을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

ite,it5205.yaml:1-72

IT5205 Type-C mux의 mode·orientation switching, OVP와 graph endpoint 연결을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, clock, interrupt, PHY, connector, 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/ite,it5205.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: ITE IT5202 Type-C USB Alternate Mode Passive MUX
8
9 maintainers:
10 - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
11 - Tianping Fang <tianping.fang@mediatek.com>
12
13 properties:
14 compatible:
15 const: ite,it5205
16
17 reg:
18 maxItems: 1
19
20 vcc-supply:
21 description: Power supply for VCC pin (3.3V)
22
23 mode-switch:
24 description: Flag the port as possible handle of altmode switching
25 type: boolean
26
27 orientation-switch:
28 description: Flag the port as possible handler of orientation switching
29 type: boolean
30
31 ite,ovp-enable:
32 description: Enable Over Voltage Protection functionality
33 type: boolean
34
35 port:
36 $ref: /schemas/graph.yaml#/properties/port
37 description:
38 A port node to link the IT5205 to a TypeC controller for the purpose of
39 handling altmode muxing and orientation switching.
40
41 required:
42 - compatible
43 - reg
44 - orientation-switch
45 - port
46
47 additionalProperties: false
48
49 examples:
50 - |
51 #include <dt-bindings/interrupt-controller/irq.h>
52 i2c2 {
53 #address-cells = <1>;
54 #size-cells = <0>;
55
56 typec-mux@48 {
57 compatible = "ite,it5205";
58 reg = <0x48>;
59
60 mode-switch;
61 orientation-switch;
62
63 vcc-supply = <&mt6359_vibr_ldo_reg>;
64
65 port {
66 it5205_usbss_sbu: endpoint {
67 remote-endpoint = <&typec_controller>;
68 };
69 };
70 };
71 };
72 ...
73

3. 한국어 전문 번역

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

ITE IT5205 Type-C passive mux

1-12

GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 schema는 ITE IT5202 Type-C USB Alternate Mode passive MUX를 정의하며 `ite,it5205` compatible을 사용합니다. 관리자는 AngeloGioacchino Del Regno와 Tianping Fang입니다.

전원, switching과 graph port

13-40

`reg`는 최대 하나이고 `vcc-supply`는 VCC pin용 3.3 V 전원입니다. `mode-switch`와 `orientation-switch` boolean은 각각 altmode switching과 orientation switching을 처리할 수 있음을 표시합니다.

`ite,ovp-enable`은 over-voltage protection 기능을 켭니다. `port`는 graph schema를 따르며 altmode muxing 및 orientation switching을 위해 IT5205를 Type-C controller와 연결합니다.

properties:
  compatible:
    const: ite,it5205

  reg:
    maxItems: 1

  vcc-supply:
    description: Power supply for VCC pin (3.3V)

  mode-switch:
    description: Flag the port as possible handle of altmode switching
    type: boolean

  orientation-switch:
    description: Flag the port as possible handler of orientation switching
    type: boolean

  ite,ovp-enable:
    description: Enable Over Voltage Protection functionality
    type: boolean

  port:
    $ref: /schemas/graph.yaml#/properties/port
    description:
      A port node to link the IT5205 to a TypeC controller for the purpose of
      handling altmode muxing and orientation switching.

필수 속성

41-48

필수 속성은 `compatible`, `reg`, `orientation-switch`, `port`입니다. 정의되지 않은 추가 속성은 허용하지 않습니다.

required:
  - compatible
  - reg
  - orientation-switch
  - port

additionalProperties: false

I2C mux와 Type-C endpoint

49-72

예제 I2C bus의 `typec-mux@48` node는 address 0x48, mode·orientation switching, `mt6359_vibr_ldo_reg` 전원을 사용합니다.

graph endpoint `it5205_usbss_sbu`는 Type-C controller endpoint를 `remote-endpoint`로 가리킵니다.

examples:
  - |
    #include <dt-bindings/interrupt-controller/irq.h>
    i2c2 {
        #address-cells = <1>;
        #size-cells = <0>;

        typec-mux@48 {
            compatible = "ite,it5205";
            reg = <0x48>;

            mode-switch;
            orientation-switch;

            vcc-supply = <&mt6359_vibr_ldo_reg>;

            port {
                it5205_usbss_sbu: endpoint {
                    remote-endpoint = <&typec_controller>;
                };
            };
        };
    };
...