요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
* D-Link DIR-685 Touchkeys
This is a I2C one-off touchkey controller based on the Cypress Semiconductor
CY8C214 MCU with some firmware in its internal 8KB flash. The circuit
board inside the router is named E119921.
The touchkey device node should be placed inside an I2C bus node.
Required properties:
- compatible: must be "dlink,dir685-touchkeys"
- reg: the I2C address of the touchkeys
- interrupts: reference to the interrupt number
Example:
touchkeys@26 {
compatible = "dlink,dir685-touchkeys";
reg = <0x26>;
interrupt-parent = <&gpio0>;
interrupts = <17 IRQ_TYPE_EDGE_FALLING>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
DIR-685 touchkey controller
1-15D-Link DIR-685의 일회성 I2C touchkey controller는 내부 8 KB flash에 firmware를 넣은 Cypress Semiconductor CY8C214 MCU를 기반으로 합니다. Router 내부 circuit board 이름은 E119921입니다. Device node는 I2C bus node 안에 둡니다.
필수 `compatible`은 `dlink,dir685-touchkeys`, `reg`는 touchkey I2C address, `interrupts`는 interrupt number 참조입니다.
Touch surface에서 CY8C214 firmware와 GPIO interrupt를 거쳐 event를 전달합니다.
I2C address 0x26 예제
16-21예제 touchkey node는 address `0x26`에서 GPIO0의 falling-edge interrupt 17을 사용합니다.
touchkeys@26 {
compatible = "dlink,dir685-touchkeys";
reg = <0x26>;
interrupt-parent = <&gpio0>;
interrupts = <17 IRQ_TYPE_EDGE_FALLING>;
};
요약과 해설
dlink,dir685-touchkeys.txt:1-21E119921 board의 address와 interrupt를 설명합니다.