]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/input/touchscreen/focaltech-ft6236.txt
Merge remote-tracking branch 'sunxi/sunxi/for-next'
[karo-tx-linux.git] / Documentation / devicetree / bindings / input / touchscreen / focaltech-ft6236.txt
1 * FocalTech FT6236 I2C touchscreen controller
2
3 Required properties:
4  - compatible             : "focaltech,ft6236"
5  - reg                    : I2C slave address of the chip (0x38)
6  - interrupt-parent       : a phandle pointing to the interrupt controller
7                             serving the interrupt for this chip
8  - interrupts             : interrupt specification for the touch controller
9                             interrupt
10  - reset-gpios            : GPIO specification for the RSTN input
11  - touchscreen-size-x     : horizontal resolution of touchscreen (in pixels)
12  - touchscreen-size-y     : vertical resolution of touchscreen (in pixels)
13
14 Optional properties:
15  - touchscreen-fuzz-x     : horizontal noise value of the absolute input
16                             device (in pixels)
17  - touchscreen-fuzz-y     : vertical noise value of the absolute input
18                             device (in pixels)
19  - touchscreen-inverted-x : X axis is inverted (boolean)
20  - touchscreen-inverted-y : Y axis is inverted (boolean)
21  - touchscreen-swapped-x-y: X and Y axis are swapped (boolean)
22                             Swapping is done after inverting the axis
23
24 Example:
25
26         ft6x06@38 {
27                 compatible = "focaltech,ft6236";
28                 reg = <0x38>;
29                 interrupt-parent = <&gpio>;
30                 interrupts = <23 2>;
31                 touchscreen-size-x = <320>;
32                 touchscreen-size-y = <480>;
33                 touchscreen-inverted-x;
34                 touchscreen-swapped-x-y;
35         };