요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
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. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, 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 연결을 설명합니다.