diff options
Diffstat (limited to 'Documentation/devicetree/bindings/input/touchscreen/sun4i.txt')
| -rw-r--r-- | Documentation/devicetree/bindings/input/touchscreen/sun4i.txt | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/input/touchscreen/sun4i.txt b/Documentation/devicetree/bindings/input/touchscreen/sun4i.txt index 433332d3b2ba..89abecd938cb 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/sun4i.txt +++ b/Documentation/devicetree/bindings/input/touchscreen/sun4i.txt | |||
| @@ -2,14 +2,27 @@ sun4i resistive touchscreen controller | |||
| 2 | -------------------------------------- | 2 | -------------------------------------- |
| 3 | 3 | ||
| 4 | Required properties: | 4 | Required properties: |
| 5 | - compatible: "allwinner,sun4i-a10-ts" or "allwinner,sun6i-a31-ts" | 5 | - compatible: "allwinner,sun4i-a10-ts", "allwinner,sun5i-a13-ts" or |
| 6 | "allwinner,sun6i-a31-ts" | ||
| 6 | - reg: mmio address range of the chip | 7 | - reg: mmio address range of the chip |
| 7 | - interrupts: interrupt to which the chip is connected | 8 | - interrupts: interrupt to which the chip is connected |
| 8 | - #thermal-sensor-cells: shall be 0 | 9 | - #thermal-sensor-cells: shall be 0 |
| 9 | 10 | ||
| 10 | Optional properties: | 11 | Optional properties: |
| 11 | - allwinner,ts-attached: boolean indicating that an actual touchscreen is | 12 | - allwinner,ts-attached : boolean indicating that an actual touchscreen |
| 12 | attached to the controller | 13 | is attached to the controller |
| 14 | - allwinner,tp-sensitive-adjust : integer (4 bits) | ||
| 15 | adjust sensitivity of pen down detection | ||
| 16 | between 0 (least sensitive) and 15 | ||
| 17 | (defaults to 15) | ||
| 18 | - allwinner,filter-type : integer (2 bits) | ||
| 19 | select median and averaging filter | ||
| 20 | samples used for median / averaging filter | ||
| 21 | 0: 4/2 | ||
| 22 | 1: 5/3 | ||
| 23 | 2: 8/4 | ||
| 24 | 3: 16/8 | ||
| 25 | (defaults to 1) | ||
| 13 | 26 | ||
| 14 | Example: | 27 | Example: |
| 15 | 28 | ||
| @@ -19,4 +32,7 @@ Example: | |||
| 19 | interrupts = <29>; | 32 | interrupts = <29>; |
| 20 | allwinner,ts-attached; | 33 | allwinner,ts-attached; |
| 21 | #thermal-sensor-cells = <0>; | 34 | #thermal-sensor-cells = <0>; |
| 35 | /* sensitive/noisy touch panel */ | ||
| 36 | allwinner,tp-sensitive-adjust = <0>; | ||
| 37 | allwinner,filter-type = <3>; | ||
| 22 | }; | 38 | }; |
