forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 406
Expand file tree
/
Copy pathaml.dtd
More file actions
executable file
·129 lines (124 loc) · 3.22 KB
/
aml.dtd
File metadata and controls
executable file
·129 lines (124 loc) · 3.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
#ifdef MESON_INPUT_TOUCHSCREEN
//$$ DEVICE = "touch"
//$$ L2 PROP_STR = "status"
touch{
compatible = "amlogic,aml_touch";
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
#ifdef CONFIG_FOCALTECH_CAPACITIVE_TOUCHSCREEN
//$$ DEVICE = "touch_ft5x06"
//$$ L2 PROP_STR = "status"
//$$ L3 PROP_STR = "i2c_bus"
//$$ L3 PROP_U32 ="reg"
//$$ L3 PROP_U32 ="ic_type"
//$$ L3 PROP_U32 ="irq"
//$$ L3 PROP_STR = "gpio_interrupt"
//$$ L3 PROP_STR = "gpio_reset"
//$$ L3 PROP_U32 ="xres"
//$$ L3 PROP_U32 ="yres"
//$$ L3 PROP_U32 ="pol"
//$$ L3 PROP_STR = "fw_file"
touch_ft5x06:ft5x06{
touch_name = "ft5x06";
status = "okay";
i2c_bus = "i2c_bus_a";
reg = <0x38>;
ic_type = <0>;
irq = <0>;
gpio_interrupt = "GPIOZ_7";
gpio_reset = "GPIOZ_6";
xres = <1024>;
yres = <600>;
pol = <0x1>;
fw_file = "/etc/touch/ft5x06.fw";
};
#endif
#ifdef CONFIG_GOODIX_GT9XX_CAPACITIVE_TOUCHSCREEN
//$$ DEVICE = "touch_gt9xx"
//$$ L2 PROP_STR = "status"
//$$ L2 PROP_STR = "touch_name"
//$$ L3 PROP_STR = "i2c_bus"
//$$ L3 PROP_U32 ="reg"
//$$ L3 PROP_U32 ="irq"
//$$ L3 PROP_STR = "gpio_interrupt"
//$$ L3 PROP_STR = "gpio_reset"
//$$ L3 PROP_U32 ="xres"
//$$ L3 PROP_U32 ="yres"
//$$ L3 PROP_U32 ="pol"
//$$ L3 PROP_STR = "config_file"
touch_gt9xx:gt9xx{
compatible = "goodix,gt9xx";
status = "okay";
touch_name = "gt9xx";
i2c_bus = "i2c_bus_a";
reg = <0x14>;
irq = <0>;
gpio_interrupt = "GPIOZ_7";
gpio_reset = "GPIOZ_6";
xres = <2048>;
yres = <1536>;
pol = <0x4>;
config_file = "/etc/touch/goodix.cfg";
};
#endif
#ifdef CONFIG_TOUCHSCREEN_CT36X_PLATFORM_AMLCHIP
//$$ DEVICE = "touch_ct36x"
//$$ L2 PROP_STR = "status"
//$$ L2 PROP_STR = "touch_name"
//$$ L3 PROP_STR = "i2c_bus"
//$$ L3 PROP_U32 ="reg"
//$$ L3 PROP_U32 ="irq"
//$$ L3 PROP_STR = "gpio_interrupt"
//$$ L3 PROP_STR = "gpio_reset"
//$$ L3 PROP_U32 ="xres"
//$$ L3 PROP_U32 ="yres"
//$$ L3 PROP_U32 ="pol"
//$$ L3 PROP_STR = "fw_file"
touch_ct36x:ct36x{
compatible = "vtl,ct36x";
status = "okay";
touch_name = "ct36x";
i2c_bus = "i2c_bus_a";
reg = <0x01>;
irq = <0>;
gpio_interrupt = "GPIOZ_7";
gpio_reset = "GPIOZ_6";
xres = <1024>;
yres = <768>;
pol = <0x0>;
fw_file = "/etc/touch/ct36x.dat";
};
#endif
#ifdef CONFIG_GOODIX_GT801_CAPACITIVE_TOUCHSCREEN
//$$ DEVICE = "touch_gt801"
//$$ L2 PROP_STR = "status"
//$$ L2 PROP_STR = "touch_name"
//$$ L3 PROP_STR = "i2c_bus"
//$$ L3 PROP_U32 ="reg"
//$$ L3 PROP_U32 ="irq"
//$$ L3 PROP_STR = "gpio_interrupt"
//$$ L3 PROP_STR = "gpio_reset"
//$$ L3 PROP_U32 ="xres"
//$$ L3 PROP_U32 ="yres"
//$$ L3 PROP_U32 ="pol"
//$$ L3 PROP_STR = "irq_edge"
//$$ L3 PROP_STR = "config_file"
touch_gt801:gt801{
compatible = "goodix,gt801";
status = "okay";
touch_name = "gt801";
i2c_bus = "i2c_bus_a";
reg = <0x55>;
irq = <0>;
gpio_interrupt = "GPIOX_19";
gpio_reset = "GPIOY_8";
xres = <800>;
yres = <480>;
pol = <0x4>; // bit0 - swap x, bit1 - swap y , bit2 - swap xy
irq_edge= "GPIO_IRQ_LOW"
/*config_file = "/etc/touch/goodix.cfg";*/
};
#endif
};
#endif