← Documents Documentation/devicetree/bindings/usb/ti,tusb1046.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / USB

TI TUSB1046-DCI Type-C Crosspoint Switch

TUSB1046의 mode·orientation switch와 Type-C graph 연결을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

ti,tusb1046.yaml:1-50

TUSB1046의 mode·orientation switch와 Type-C graph 연결을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, interrupt, PHY, firmware, graph endpoint, 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/ti,tusb1046.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Texas Instruments TUSB1046-DCI Type-C crosspoint switch
8
9 maintainers:
10 - Romain Gantois <[email protected]>
11
12 allOf:
13 - $ref: usb-switch.yaml#
14 - $ref: usb-switch-ports.yaml#
15
16 properties:
17 compatible:
18 const: ti,tusb1046
19
20 reg:
21 maxItems: 1
22
23 required:
24 - compatible
25 - reg
26 - port
27
28 unevaluatedProperties: false
29
30 examples:
31 - |
32 i2c {
33 #address-cells = <1>;
34 #size-cells = <0>;
35
36 typec-mux@44 {
37 compatible = "ti,tusb1046";
38 reg = <0x44>;
39
40 mode-switch;
41 orientation-switch;
42
43 port {
44 endpoint {
45 remote-endpoint = <&typec_controller>;
46 };
47 };
48 };
49 };
50 ...
51

3. 한국어 전문 번역

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

TI TUSB1046-DCI Type-C crosspoint switch

1-11

GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 Texas Instruments TUSB1046-DCI Type-C crosspoint switch를 정의합니다. 관리자는 Romain Gantois입니다.

USB switch schema와 필수 속성

12-29

`usb-switch.yaml`과 `usb-switch-ports.yaml`을 함께 상속합니다. compatible은 `ti,tusb1046`, register는 하나입니다. compatible, register와 `port`가 필수이며 공통 schema에서 평가하지 않은 추가 속성은 허용하지 않습니다.

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

properties:
  compatible:
    const: ti,tusb1046

  reg:
    maxItems: 1

required:
  - compatible
  - reg
  - port

unevaluatedProperties: false

mode·orientation switch endpoint 예제

30-50

예제 `typec-mux@44`는 I2C 주소 0x44에서 `mode-switch`와 `orientation-switch`를 모두 제공합니다. port endpoint는 Type-C controller endpoint `typec_controller`와 연결됩니다.

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

        typec-mux@44 {
            compatible = "ti,tusb1046";
            reg = <0x44>;

            mode-switch;
            orientation-switch;

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