1*c66ec88fSEmmanuel VadotElantech I2C Touchpad 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot- compatible: must be "elan,ekth3000". 5*c66ec88fSEmmanuel Vadot- reg: I2C address of the chip. 6*c66ec88fSEmmanuel Vadot- interrupts: interrupt to which the chip is connected (see interrupt 7*c66ec88fSEmmanuel Vadot binding[0]). 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel VadotOptional properties: 10*c66ec88fSEmmanuel Vadot- wakeup-source: touchpad can be used as a wakeup source. 11*c66ec88fSEmmanuel Vadot- pinctrl-names: should be "default" (see pinctrl binding [1]). 12*c66ec88fSEmmanuel Vadot- pinctrl-0: a phandle pointing to the pin settings for the device (see 13*c66ec88fSEmmanuel Vadot pinctrl binding [1]). 14*c66ec88fSEmmanuel Vadot- vcc-supply: a phandle for the regulator supplying 3.3V power. 15*c66ec88fSEmmanuel Vadot- elan,trackpoint: touchpad can support a trackpoint (boolean) 16*c66ec88fSEmmanuel Vadot- elan,clickpad: touchpad is a clickpad (the entire surface is a button) 17*c66ec88fSEmmanuel Vadot- elan,middle-button: touchpad has a physical middle button 18*c66ec88fSEmmanuel Vadot- elan,x_traces: number of antennas on the x axis 19*c66ec88fSEmmanuel Vadot- elan,y_traces: number of antennas on the y axis 20*c66ec88fSEmmanuel Vadot- some generic touchscreen properties [2]: 21*c66ec88fSEmmanuel Vadot * touchscreen-size-x 22*c66ec88fSEmmanuel Vadot * touchscreen-size-y 23*c66ec88fSEmmanuel Vadot * touchscreen-x-mm 24*c66ec88fSEmmanuel Vadot * touchscreen-y-mm 25*c66ec88fSEmmanuel Vadot 26*c66ec88fSEmmanuel Vadot 27*c66ec88fSEmmanuel Vadot[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 28*c66ec88fSEmmanuel Vadot[1]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt 29*c66ec88fSEmmanuel Vadot[2]: Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel VadotExample: 32*c66ec88fSEmmanuel Vadot &i2c1 { 33*c66ec88fSEmmanuel Vadot /* ... */ 34*c66ec88fSEmmanuel Vadot 35*c66ec88fSEmmanuel Vadot touchpad@15 { 36*c66ec88fSEmmanuel Vadot compatible = "elan,ekth3000"; 37*c66ec88fSEmmanuel Vadot reg = <0x15>; 38*c66ec88fSEmmanuel Vadot interrupt-parent = <&gpio4>; 39*c66ec88fSEmmanuel Vadot interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>; 40*c66ec88fSEmmanuel Vadot wakeup-source; 41*c66ec88fSEmmanuel Vadot }; 42*c66ec88fSEmmanuel Vadot 43*c66ec88fSEmmanuel Vadot /* ... */ 44*c66ec88fSEmmanuel Vadot }; 45