dragonheart_kernel_oneplus_.../Documentation/devicetree/bindings/input/touchscreen/himax.txt

47 lines
1.7 KiB
Plaintext

Himax touch controller
The Himax touch controller is connected to host processor
via i2c. The controller generates interrupts when the
user touches the panel. The host controller is expected
to read the touch coordinates over i2c and pass the coordinates
to the rest of the system.
Required properties:
- compatible : Should be "himax,hxcommon"
- reg : i2c slave address of the device.
- interrupt-parent : parent of interrupt.
- himax,irq-gpio : irq gpio.
- himax,reset-gpio : reset gpio.
- vdd-supply : Power supply needed to power up the device.
- avdd-supply : Power source required to power up i2c bus.
- 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.
- 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:
- himax,3v3-gpio : gpio acting as 3.3 v supply.
- himax,report_type : Multi-touch protocol type. Default 0.
0 for protocol A, 1 for protocol B.
Example:
i2c@884000 {
status = "okay";
himax_ts@48 {
compatible = "himax,hxcommon";
reg = <0x48>;
interrupt-parent = <&tlmm>;
interrupts = <89 0x2008>;
vdd-supply = <&pm6150_l10>;
avdd-supply = <&pm6150l_l7>;
himax,panel-coords = <0 1080 0 2160>;
himax,display-coords = <0 1080 0 2160>;
himax,irq-gpio = <&tlmm 89 0x00>;
himax,rst-gpio = <&tlmm 88 0x00>;
report_type = <1>;
};
};