107f9e5cfSDenis Carikli* Texas Instruments tsc2007 touchscreen controller 207f9e5cfSDenis Carikli 307f9e5cfSDenis CarikliRequired properties: 407f9e5cfSDenis Carikli- compatible: must be "ti,tsc2007". 507f9e5cfSDenis Carikli- reg: I2C address of the chip. 607f9e5cfSDenis Carikli- ti,x-plate-ohms: X-plate resistance in ohms. 707f9e5cfSDenis Carikli 807f9e5cfSDenis CarikliOptional properties: 9*47aab533SBjorn Helgaas- gpios: the interrupt gpio the chip is connected to (through the penirq pin). 1007f9e5cfSDenis Carikli The penirq pin goes to low when the panel is touched. 1107f9e5cfSDenis Carikli (see GPIO binding[1] for more details). 1207f9e5cfSDenis Carikli- interrupts: (gpio) interrupt to which the chip is connected 1307f9e5cfSDenis Carikli (see interrupt binding[0]). 1407f9e5cfSDenis Carikli- ti,max-rt: maximum pressure. 1507f9e5cfSDenis Carikli- ti,fuzzx: specifies the absolute input fuzz x value. 1607f9e5cfSDenis Carikli If set, it will permit noise in the data up to +- the value given to the fuzz 1707f9e5cfSDenis Carikli parameter, that is used to filter noise from the event stream. 1807f9e5cfSDenis Carikli- ti,fuzzy: specifies the absolute input fuzz y value. 1907f9e5cfSDenis Carikli- ti,fuzzz: specifies the absolute input fuzz z value. 2007f9e5cfSDenis Carikli- ti,poll-period: how much time to wait (in milliseconds) before reading again the 2107f9e5cfSDenis Carikli values from the tsc2007. 2207f9e5cfSDenis Carikli 2307f9e5cfSDenis Carikli[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 2407f9e5cfSDenis Carikli[1]: Documentation/devicetree/bindings/gpio/gpio.txt 2507f9e5cfSDenis Carikli 2607f9e5cfSDenis CarikliExample: 2707f9e5cfSDenis Carikli &i2c1 { 2807f9e5cfSDenis Carikli /* ... */ 2907f9e5cfSDenis Carikli tsc2007@49 { 3007f9e5cfSDenis Carikli compatible = "ti,tsc2007"; 3107f9e5cfSDenis Carikli reg = <0x49>; 3207f9e5cfSDenis Carikli interrupt-parent = <&gpio4>; 3307f9e5cfSDenis Carikli interrupts = <0x0 0x8>; 3407f9e5cfSDenis Carikli gpios = <&gpio4 0 0>; 3507f9e5cfSDenis Carikli ti,x-plate-ohms = <180>; 3607f9e5cfSDenis Carikli }; 3707f9e5cfSDenis Carikli 3807f9e5cfSDenis Carikli /* ... */ 3907f9e5cfSDenis Carikli }; 40