요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
* MELFAS MIP4 Touchscreen
3
Required properties:
4
- compatible: must be "melfas,mip4_ts"
5
- reg: I2C slave address of the chip (0x48 or 0x34)
6
- interrupts: interrupt to which the chip is connected
8
Optional properties:
9
- ce-gpios: GPIO connected to the CE (chip enable) pin of the chip
11
Example:
12
i2c@00000000 {
13
touchscreen: melfas_mip4@48 {
14
compatible = "melfas,mip4_ts";
15
reg = <0x48>;
16
interrupt-parent = <&gpio>;
17
interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
18
ce-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
19
};
20
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
MELFAS MIP4 속성
1-10MELFAS MIP4 터치스크린의 필수 `compatible`은 `melfas,mip4_ts`이고 `reg`는 `0x48` 또는 `0x34`인 칩의 I2C slave 주소입니다. `interrupts`는 칩이 연결된 인터럽트입니다. 선택 `ce-gpios`는 칩의 CE(chip enable) 핀에 연결된 GPIO입니다.
Active-high CE GPIO→MIP4 활성화
MIP4 at 0x48/0x34→멀티터치 감지
Falling-edge IRQ→호스트 통지
CE 신호로 칩을 활성화하고 falling-edge 인터럽트로 터치 데이터를 알립니다.
MIP4 주소 0x48 예제
11-20예제는 I2C 버스의 주소 `0x48`에 MIP4를 두고 GPIO 0의 falling-edge 인터럽트와 같은 GPIO의 active-high CE 신호를 연결합니다.
i2c@00000000 {
touchscreen: melfas_mip4@48 {
compatible = "melfas,mip4_ts";
reg = <0x48>;
interrupt-parent = <&gpio>;
interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
ce-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
};
};
요약과 해설
melfas_mip4.txt:1-20active-high 활성화와 falling-edge 알림을 설명합니다.