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