요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
National Instruments Ettus Research USRP E3x0 button driver
3
This module is part of the NI Ettus Research USRP E3x0 SDR.
5
This module provides a simple power button event via two interrupts.
7
Required properties:
8
- compatible: should be one of the following
9
- "ettus,e3x0-button": For devices such as the NI Ettus Research USRP E3x0
10
- interrupts: should be one of the following
11
- <0 30 1>, <0 31 1>: For devices such as the NI Ettus Research USRP E3x0
12
- interrupt-names: should be one of the following
13
- "press", "release": For devices such as the NI Ettus Research USRP E3x0
15
Note: Interrupt numbers might vary depending on the FPGA configuration.
17
Example:
18
button {
19
compatible = "ettus,e3x0-button";
20
interrupt-parent = <&intc>;
21
interrupts = <0 30 1>, <0 31 1>;
22
interrupt-names = "press", "release";
23
}
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
USRP E3x0 press/release IRQ
1-17이 button driver module은 NI Ettus Research USRP E3x0 SDR의 일부이며 두 interrupt를 통해 단순 power-button event를 제공합니다. 필수 `compatible`은 `ettus,e3x0-button`, `interrupts`는 E3x0에서 `<0 30 1>`과 `<0 31 1>`, `interrupt-names`는 각각 `press`와 `release`입니다. 실제 interrupt number는 FPGA configuration에 따라 달라질 수 있습니다.
Button press→IRQ 30
Button release→IRQ 31
interrupt-names→press / release
Linux input→Power-button state
서로 다른 두 IRQ가 press와 release event를 구분합니다.
E3x0 button 예제
18-23예제 node는 INTC를 parent로 두고 IRQ 30과 31을 `press`, `release` 순서로 선언합니다.
button {
compatible = "ettus,e3x0-button";
interrupt-parent = <&intc>;
interrupts = <0 30 1>, <0 31 1>;
interrupt-names = "press", "release";
}
요약과 해설
e3x0-button.txt:1-23FPGA configuration별 두 button interrupt를 설명합니다.