요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
Raydium I2C touchscreen
Required properties:
- compatible: must be "raydium,rm32380"
- reg: The I2C address of the device
- interrupts: interrupt to which the chip is connected
See ../interrupt-controller/interrupts.txt
Optional properties:
- avdd-supply: analog power supply needed to power device
- vccio-supply: IO Power source
- reset-gpios: reset gpio the chip is connected to.
Example:
touchscreen@39 {
compatible = "raydium,rm32380";
reg = <0x39>;
interrupt-parent = <&gpio>;
interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
Raydium RM32380 속성
1-12Raydium I2C touchscreen의 필수 `compatible`은 `raydium,rm32380`, `reg`는 device I2C address, `interrupts`는 chip이 연결된 interrupt이며 `../interrupt-controller/interrupts.txt`를 참조합니다. 선택 `avdd-supply`는 analog power, `vccio-supply`는 I/O power source, `reset-gpios`는 chip reset GPIO입니다.
두 power rail과 reset/interrupt가 I2C touch controller를 지원합니다.
RM32380 address 0x39 예제
13-19예제 touchscreen은 I2C address `0x39`에서 GPIO parent의 pin 0 falling-edge interrupt를 사용합니다.
touchscreen@39 {
compatible = "raydium,rm32380";
reg = <0x39>;
interrupt-parent = <&gpio>;
interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>;
};
요약과 해설
raydium_i2c_ts.txt:1-19두 power rail과 falling-edge IRQ를 설명합니다.