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 56 "#io-channel-cells": 57 const: 1 58 59required: 60 - compatible 61 - reg 62 - ti,x-plate-ohms 63 64additionalProperties: false 65 66examples: 67 - | 68 i2c { 69 #address-cells = <1>; 70 #size-cells = <0>; 71 72 touch@49 { 73 compatible = "ti,tsc2007"; 74 reg = <0x49>; 75 interrupt-parent = <&gpio4>; 76 interrupts = <0x0 0x8>; 77 gpios = <&gpio4 0 0>; 78 ti,x-plate-ohms = <180>; 79 }; 80 }; 81