brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 210486a Raw
40 lines · plain
1* Texas Instruments tsc2007 touchscreen controller2 3Required properties:4- compatible: must be "ti,tsc2007".5- reg: I2C address of the chip.6- ti,x-plate-ohms: X-plate resistance in ohms.7 8Optional properties:9- gpios: the interrupt gpio the chip is connected to (through the penirq pin).10  The penirq pin goes to low when the panel is touched.11  (see GPIO binding[1] for more details).12- interrupts: (gpio) interrupt to which the chip is connected13  (see interrupt binding[0]).14- ti,max-rt: maximum pressure.15- ti,fuzzx: specifies the absolute input fuzz x value.16  If set, it will permit noise in the data up to +- the value given to the fuzz17  parameter, that is used to filter noise from the event stream.18- ti,fuzzy: specifies the absolute input fuzz y value.19- ti,fuzzz: specifies the absolute input fuzz z value.20- ti,poll-period: how much time to wait (in milliseconds) before reading again the21  values from the tsc2007.22 23[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt24[1]: Documentation/devicetree/bindings/gpio/gpio.txt25 26Example:27	&i2c1 {28		/* ... */29		tsc2007@49 {30			compatible = "ti,tsc2007";31			reg = <0x49>;32			interrupt-parent = <&gpio4>;33			interrupts = <0x0 0x8>;34			gpios = <&gpio4 0 0>;35			ti,x-plate-ohms = <180>;36		};37 38		/* ... */39	};40