← Documents Documentation/devicetree/bindings/usb/maxim,max3421.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / USB

MAX3421E SPI USB 2.0 Host Controller

MAX3421E host controller의 chip select, GPOUT VBUS enable과 active-low interrupt를 설명합니다.

Source pathDocumentation/devicetree/bindings/usb/maxim,max3421.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

maxim,max3421.txt:1-23

MAX3421E host controller의 chip select, GPOUT VBUS enable과 active-low interrupt를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, interrupt, clock, PHY, power, source path와 원문 줄 좌표를 원형대로 보존합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 Maxim Integrated SPI-based USB 2.0 host controller MAX3421E
2
3 Required properties:
4 - compatible: Should be "maxim,max3421"
5 - spi-max-frequency: maximum frequency for this device must not exceed 26 MHz.
6 - reg: chip select number to which this device is connected.
7 - maxim,vbus-en-pin: <GPOUTx ACTIVE_LEVEL>
8 GPOUTx is the number (1-8) of the GPOUT pin of MAX3421E to drive Vbus.
9 ACTIVE_LEVEL is 0 or 1.
10 - interrupts: the interrupt line description for the interrupt controller.
11 The driver configures MAX3421E for active low level triggered interrupts,
12 configure your interrupt line accordingly.
13
14 Example:
15
16 usb@0 {
17 compatible = "maxim,max3421";
18 reg = <0>;
19 maxim,vbus-en-pin = <3 1>;
20 spi-max-frequency = <26000000>;
21 interrupt-parent = <&PIC>;
22 interrupts = <42>;
23 };
24

3. 한국어 전문 번역

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

MAX3421E SPI USB 2.0 host controller

1-2

이 legacy binding은 Maxim Integrated MAX3421E SPI 기반 USB 2.0 host controller를 설명합니다.

Chip select, VBUS pin과 interrupt

3-13

필수 `compatible`은 `maxim,max3421`이고 SPI 주파수는 26 MHz를 넘을 수 없습니다. `reg`는 device가 연결된 chip select 번호입니다.

`maxim,vbus-en-pin`은 `<GPOUTx ACTIVE_LEVEL>` 두 cell로 구성됩니다. `GPOUTx`는 VBUS를 구동하는 MAX3421E GPOUT pin 번호 1~8이고 active level은 0 또는 1입니다.

driver는 MAX3421E interrupt를 active-low level-triggered 방식으로 설정하므로 interrupt line도 그에 맞게 구성해야 합니다.

GPOUT3 VBUS enable 예제

14-23

예제 `usb@0`은 chip select 0, GPOUT3 active-high VBUS enable, 26 MHz SPI clock, PIC interrupt 42를 사용합니다.

usb@0 {
        compatible = "maxim,max3421";
        reg = <0>;
        maxim,vbus-en-pin = <3 1>;
        spi-max-frequency = <26000000>;
        interrupt-parent = <&PIC>;
        interrupts = <42>;
};