Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/input/touchscreen/ti,tsc2007.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Texas Instruments tsc2007 touchscreen controller
8
9maintainers:
10 - Frank Li <Frank.Li@nxp.com>
11
12properties:
13 compatible:
14 const: ti,tsc2007
15
16 reg:
17 maxItems: 1
18
19 interrupts:
20 maxItems: 1
21
22 ti,x-plate-ohms:
23 description: X-plate resistance in ohms.
24
25 gpios: true
26
27 pendown-gpio: true
28
29 wakeup-source: true
30
31 ti,max-rt:
32 $ref: /schemas/types.yaml#/definitions/uint32
33 description: maximum pressure.
34
35 ti,fuzzx:
36 $ref: /schemas/types.yaml#/definitions/uint32
37 description:
38 specifies the absolute input fuzz x value.
39 If set, it will permit noise in the data up to +- the value given to the fuzz
40 parameter, that is used to filter noise from the event stream.
41
42 ti,fuzzy:
43 $ref: /schemas/types.yaml#/definitions/uint32
44 description: specifies the absolute input fuzz y value.
45
46 ti,fuzzz:
47 $ref: /schemas/types.yaml#/definitions/uint32
48 description: specifies the absolute input fuzz z value.
49
50 ti,poll-period:
51 $ref: /schemas/types.yaml#/definitions/uint32
52 description:
53 how much time to wait (in milliseconds) before reading again the
54 values from the tsc2007.
55
56required:
57 - compatible
58 - reg
59 - ti,x-plate-ohms
60
61additionalProperties: false
62
63examples:
64 - |
65 i2c {
66 #address-cells = <1>;
67 #size-cells = <0>;
68
69 touch@49 {
70 compatible = "ti,tsc2007";
71 reg = <0x49>;
72 interrupt-parent = <&gpio4>;
73 interrupts = <0x0 0x8>;
74 gpios = <&gpio4 0 0>;
75 ti,x-plate-ohms = <180>;
76 };
77 };