← Documents Documentation/devicetree/bindings/usb/usb-switch.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / USB

USB Orientation and Mode Switch Properties

USB switch의 altmode, orientation과 SuperSpeed retimer 기능을 설명합니다.

Source pathDocumentation/devicetree/bindings/usb/usb-switch.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

usb-switch.yaml:1-28

USB switch의 altmode, orientation과 SuperSpeed retimer 기능을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, property, enum, phandle, graph endpoint, example, 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/usb-switch.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: USB Orientation and Mode Switches Common Properties
8
9 maintainers:
10 - Greg Kroah-Hartman <[email protected]>
11
12 description:
13 Common properties for devices handling USB mode and orientation switching.
14
15 properties:
16 mode-switch:
17 description: Possible handler of altmode switching
18 type: boolean
19
20 orientation-switch:
21 description: Possible handler of orientation switching
22 type: boolean
23
24 retimer-switch:
25 description: Possible handler of SuperSpeed signals retiming
26 type: boolean
27
28 additionalProperties: true
29

3. 한국어 전문 번역

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

USB orientation·mode switch 공통 속성

1-14

GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 USB mode와 orientation switching을 처리하는 장치의 공통 속성을 정의합니다. 관리자는 Greg Kroah-Hartman입니다.

altmode, orientation과 retimer

15-28

`mode-switch`는 altmode switching handler가 될 수 있음을, `orientation-switch`는 connector orientation switching handler가 될 수 있음을 나타냅니다. `retimer-switch`는 SuperSpeed signal retiming handler가 될 수 있음을 표시합니다. 장치별 추가 속성은 허용합니다.

properties:
  mode-switch:
    description: Possible handler of altmode switching
    type: boolean

  orientation-switch:
    description: Possible handler of orientation switching
    type: boolean

  retimer-switch:
    description: Possible handler of SuperSpeed signals retiming
    type: boolean

additionalProperties: true