-
Notifications
You must be signed in to change notification settings - Fork 6
/
hmxchipset.txt
47 lines (42 loc) · 1.51 KB
/
hmxchipset.txt
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
Himax Touch Controller
Required properties:
- compatible : Should be "himax,hxcommon"
- reg : I2C slave address of the device.
- interrupt-parent : Parent of interrupt.
- interrupts : Configuration of touch panel controller interrupt
GPIO.
- interrupt-gpios : Interrupt gpio which is to provide interrupts to
host, same as "interrupts" node.
- reset-gpios : Reset gpio to control the reset of chip.
- himax,display-coords : Display coordinates in pixels. It is a four
tuple consisting of min x, min y, max x and
max y values.
Optional properties:
- avdd-supply : Power supply needed to power up the device, this is
for fixed voltage external regulator.
- vdd-supply : Power supply needed to power up the device, when use
external regulator, do not add this property.
- himax,panel-coords : Panel coordinates for the chip in pixels.
It is a four tuple consisting of min x,
min y, max x and max y values.
Example:
&i2c_3 {
status = "okay";
himax_ts@48 {
compatible = "himax,hxcommon";
reg = <0x48>;
interrupt-parent = <&tlmm>;
interrupts = <65 0x2>;
vdd-supply = <&pm8953_l10>;
avdd-supply = <&pm8953_l5>;
pinctrl-names = "pmx_ts_active","pmx_ts_suspend","pmx_ts_release";
pinctrl-0 = <&ts_int_active &ts_reset_active>;
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
pinctrl-2 = <&ts_release>;
himax,panel-coords = <0 800 0 1280>;
himax,display-coords = <0 800 0 1280>;
himax,irq-gpio = <&tlmm 65 0x2008>;
//himax,rst-gpio = <&tlmm 64 0x0>;
report_type = <1>;
};
};