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