162306a36Sopenharmony_ci* Texas Instruments tsc2007 touchscreen controller 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciRequired properties: 462306a36Sopenharmony_ci- compatible: must be "ti,tsc2007". 562306a36Sopenharmony_ci- reg: I2C address of the chip. 662306a36Sopenharmony_ci- ti,x-plate-ohms: X-plate resistance in ohms. 762306a36Sopenharmony_ci 862306a36Sopenharmony_ciOptional properties: 962306a36Sopenharmony_ci- gpios: the interrupt gpio the chip is connected to (through the penirq pin). 1062306a36Sopenharmony_ci The penirq pin goes to low when the panel is touched. 1162306a36Sopenharmony_ci (see GPIO binding[1] for more details). 1262306a36Sopenharmony_ci- interrupts: (gpio) interrupt to which the chip is connected 1362306a36Sopenharmony_ci (see interrupt binding[0]). 1462306a36Sopenharmony_ci- ti,max-rt: maximum pressure. 1562306a36Sopenharmony_ci- ti,fuzzx: specifies the absolute input fuzz x value. 1662306a36Sopenharmony_ci If set, it will permit noise in the data up to +- the value given to the fuzz 1762306a36Sopenharmony_ci parameter, that is used to filter noise from the event stream. 1862306a36Sopenharmony_ci- ti,fuzzy: specifies the absolute input fuzz y value. 1962306a36Sopenharmony_ci- ti,fuzzz: specifies the absolute input fuzz z value. 2062306a36Sopenharmony_ci- ti,poll-period: how much time to wait (in milliseconds) before reading again the 2162306a36Sopenharmony_ci values from the tsc2007. 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ci[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 2462306a36Sopenharmony_ci[1]: Documentation/devicetree/bindings/gpio/gpio.txt 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ciExample: 2762306a36Sopenharmony_ci &i2c1 { 2862306a36Sopenharmony_ci /* ... */ 2962306a36Sopenharmony_ci tsc2007@49 { 3062306a36Sopenharmony_ci compatible = "ti,tsc2007"; 3162306a36Sopenharmony_ci reg = <0x49>; 3262306a36Sopenharmony_ci interrupt-parent = <&gpio4>; 3362306a36Sopenharmony_ci interrupts = <0x0 0x8>; 3462306a36Sopenharmony_ci gpios = <&gpio4 0 0>; 3562306a36Sopenharmony_ci ti,x-plate-ohms = <180>; 3662306a36Sopenharmony_ci }; 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ci /* ... */ 3962306a36Sopenharmony_ci }; 40