← Documents Documentation/devicetree/bindings/input/touchscreen/hideep.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

HiDeep Finger and Stylus Touchscreen

HiDeep 손가락·스타일러스 컨트롤러의 전원과 keycode 바인딩입니다.

Source pathDocumentation/devicetree/bindings/input/touchscreen/hideep.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

hideep.txt:1-41

두 전원 도메인과 1080x1920 입력 예제를 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * HiDeep Finger and Stylus touchscreen controller
2
3 Required properties:
4 - compatible : must be "hideep,hideep-ts"
5 - reg : I2C slave address, (e.g. 0x6C).
6 - interrupts : Interrupt to which the chip is connected.
7
8 Optional properties:
9 - vdd-supply : It is the controller supply for controlling
10 main voltage(3.3V) through the regulator.
11 - vid-supply : It is the controller supply for controlling
12 IO voltage(1.8V) through the regulator.
13 - reset-gpios : Define for reset gpio pin.
14 It is to use for reset IC.
15 - touchscreen-size-x : X axis size of touchscreen
16 - touchscreen-size-y : Y axis size of touchscreen
17 - linux,keycodes : Specifies an array of numeric keycode values to
18 be used for reporting button presses. The array can
19 contain up to 3 entries.
20
21 Example:
22
23 #include "dt-bindings/input/input.h"
24
25 i2c@00000000 {
26
27 /* ... */
28
29 touchscreen@6c {
30 compatible = "hideep,hideep-ts";
31 reg = <0x6c>;
32 interrupt-parent = <&gpx1>;
33 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
34 vdd-supply = <&ldo15_reg>;
35 vid-supply = <&ldo18_reg>;
36 reset-gpios = <&gpx1 5 0>;
37 touchscreen-size-x = <1080>;
38 touchscreen-size-y = <1920>;
39 linux,keycodes = <KEY_HOME>, <KEY_MENU>, <KEY_BACK>;
40 };
41 };
42

3. 한국어 전문 번역

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

HiDeep 손가락·스타일러스 속성

1-20

HiDeep 손가락 및 스타일러스 터치스크린 컨트롤러의 필수 `compatible`은 `hideep,hideep-ts`이고 `reg`는 예를 들어 `0x6c`인 I2C slave 주소입니다. `interrupts`는 칩이 연결된 인터럽트입니다.

선택 `vdd-supply`는 레귤레이터를 통해 주 전압 3.3V를 제어하는 전원이고 `vid-supply`는 I/O 전압 1.8V를 제어하는 전원입니다. `reset-gpios`는 IC 리셋에 쓰는 GPIO 핀입니다. `touchscreen-size-x`와 `touchscreen-size-y`는 X·Y축 크기입니다. `linux,keycodes`는 버튼 누름 보고에 사용할 숫자 keycode 배열이며 최대 3개 항목을 담을 수 있습니다.

HiDeep 터치 컨트롤러 자원
vdd 3.3V주 전압
vid 1.8VI/O 전압
HiDeep at 0x6c1080x1920 터치
LEVEL_LOW IRQ좌표와 최대 3개 키 보고

두 전원 도메인과 리셋·인터럽트가 손가락 및 스타일러스 입력을 지원합니다.

1080x1920 HiDeep 예제

21-41

예제는 입력 keycode 정의를 포함하고 I2C 주소 `0x6c`의 컨트롤러에 GPX1 핀 2 level-low 인터럽트, 3.3V와 1.8V 레귤레이터, GPX1 핀 5 리셋을 연결합니다. 터치 영역은 1080x1920이며 `KEY_HOME`, `KEY_MENU`, `KEY_BACK` 세 버튼을 보고합니다.

#include "dt-bindings/input/input.h"

i2c@00000000 {

        /* ... */

        touchscreen@6c {
                compatible = "hideep,hideep-ts";
                reg = <0x6c>;
                interrupt-parent = <&gpx1>;
                interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
                vdd-supply = <&ldo15_reg>;
                vid-supply = <&ldo18_reg>;
                reset-gpios = <&gpx1 5 0>;
                touchscreen-size-x = <1080>;
                touchscreen-size-y = <1920>;
                linux,keycodes = <KEY_HOME>, <KEY_MENU>, <KEY_BACK>;
        };
};