Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: add more optional properties for elan_i2c touchpads

Some new touchpads IC are connected through PS/2 and I2C. On some of these
new IC, the I2C part doesn't have all of the information available.
We need to be able to forward the touchpad parameters from PS/2 and
thus, we need those new optional properties.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Benjamin Tissoires and committed by
Dmitry Torokhov
303b3cf9 fd1cf11f

+11
+11
Documentation/devicetree/bindings/input/elan_i2c.txt
··· 13 13 pinctrl binding [1]). 14 14 - vcc-supply: a phandle for the regulator supplying 3.3V power. 15 15 - elan,trackpoint: touchpad can support a trackpoint (boolean) 16 + - elan,clickpad: touchpad is a clickpad (the entire surface is a button) 17 + - elan,middle-button: touchpad has a physical middle button 18 + - elan,x_traces: number of antennas on the x axis 19 + - elan,y_traces: number of antennas on the y axis 20 + - some generic touchscreen properties [2]: 21 + * touchscreen-size-x 22 + * touchscreen-size-y 23 + * touchscreen-x-mm 24 + * touchscreen-y-mm 25 + 16 26 17 27 [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 18 28 [1]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt 29 + [2]: Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt 19 30 20 31 Example: 21 32 &i2c1 {