요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Maxim Integrated MAX3355 USB OTG chip
-------------------------------------
MAX3355 integrates a charge pump and comparators to enable a system with an
integrated USB OTG dual-role transceiver to function as a USB OTG dual-role
device.
Required properties:
- compatible: should be "maxim,max3355";
- maxim,shdn-gpios: should contain a phandle and GPIO specifier for the GPIO pin
connected to the MAX3355's SHDN# pin;
- id-gpios: should contain a phandle and GPIO specifier for the GPIO pin
connected to the MAX3355's ID_OUT pin.
Example:
usb-otg {
compatible = "maxim,max3355";
maxim,shdn-gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
id-gpios = <&gpio5 31 GPIO_ACTIVE_HIGH>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
MAX3355 USB OTG extcon 속성
1-14Maxim Integrated MAX3355 USB OTG chip은 charge pump와 comparator를 통합합니다. 이를 통해 USB OTG dual-role transceiver가 내장된 system이 USB OTG dual-role device로 동작할 수 있습니다.
필수 `compatible`은 `maxim,max3355`입니다. `maxim,shdn-gpios`에는 MAX3355의 `SHDN#` pin에 연결된 GPIO의 phandle과 specifier를 넣고, `id-gpios`에는 `ID_OUT` pin에 연결된 GPIO의 phandle과 specifier를 넣습니다.
Shutdown 제어와 ID 출력이 dual-role 동작에 연결되는 흐름입니다.
MAX3355 예제
15-21예제 `usb-otg` node는 GPIO2의 pin 4를 active-low shutdown으로, GPIO5의 pin 31을 active-high ID output으로 사용합니다.
usb-otg {
compatible = "maxim,max3355";
maxim,shdn-gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
id-gpios = <&gpio5 31 GPIO_ACTIVE_HIGH>;
};
요약과 해설
extcon-max3355.txt:1-21Dual-role transceiver를 위한 SHDN# 및 ID_OUT 연결을 설명합니다.