About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / input / touchscreen / sun4i.txt


Based on kernel version 4.10.8. Page generated on 2017-04-01 14:43 EST.

1	sun4i resistive touchscreen controller
2	--------------------------------------
3	
4	Required properties:
5	 - compatible: "allwinner,sun4i-a10-ts", "allwinner,sun5i-a13-ts" or
6	   "allwinner,sun6i-a31-ts"
7	 - reg: mmio address range of the chip
8	 - interrupts: interrupt to which the chip is connected
9	 - #thermal-sensor-cells: shall be 0
10	
11	Optional properties:
12	 - allwinner,ts-attached	 : boolean indicating that an actual touchscreen
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)
26	
27	Example:
28	
29		rtp: rtp@01c25000 {
30			compatible = "allwinner,sun4i-a10-ts";
31			reg = <0x01c25000 0x100>;
32			interrupts = <29>;
33			allwinner,ts-attached;
34			#thermal-sensor-cells = <0>;
35			/* sensitive/noisy touch panel */
36			allwinner,tp-sensitive-adjust = <0>;
37			allwinner,filter-type = <3>;
38		};
Hide Line Numbers


About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog