← Documents Documentation/devicetree/bindings/input/dlink,dir685-touchkeys.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

D-Link DIR-685 Touchkeys

CY8C214 기반 DIR-685 I2C touchkey controller 바인딩입니다.

Source pathDocumentation/devicetree/bindings/input/dlink,dir685-touchkeys.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

dlink,dir685-touchkeys.txt:1-21

E119921 board의 address와 interrupt를 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * D-Link DIR-685 Touchkeys
2
3 This is a I2C one-off touchkey controller based on the Cypress Semiconductor
4 CY8C214 MCU with some firmware in its internal 8KB flash. The circuit
5 board inside the router is named E119921.
6
7 The touchkey device node should be placed inside an I2C bus node.
8
9 Required properties:
10 - compatible: must be "dlink,dir685-touchkeys"
11 - reg: the I2C address of the touchkeys
12 - interrupts: reference to the interrupt number
13
14 Example:
15
16 touchkeys@26 {
17 compatible = "dlink,dir685-touchkeys";
18 reg = <0x26>;
19 interrupt-parent = <&gpio0>;
20 interrupts = <17 IRQ_TYPE_EDGE_FALLING>;
21 };
22

3. 한국어 전문 번역

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

DIR-685 touchkey controller

1-15

D-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 참조입니다.

DIR-685 touchkey path
Touch keysCY8C214 MCU
Internal 8 KB flashDIR-685 firmware
I2C address 0x26Linux driver
Falling-edge IRQ 17Input event

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>;
};