1*c66ec88fSEmmanuel VadotCypress I2C Touchpad 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot- compatible: must be "cypress,cyapa". 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 16*c66ec88fSEmmanuel Vadot[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 17*c66ec88fSEmmanuel Vadot[1]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt 18*c66ec88fSEmmanuel Vadot 19*c66ec88fSEmmanuel VadotExample: 20*c66ec88fSEmmanuel Vadot &i2c0 { 21*c66ec88fSEmmanuel Vadot /* ... */ 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel Vadot /* Cypress Gen3 touchpad */ 24*c66ec88fSEmmanuel Vadot touchpad@67 { 25*c66ec88fSEmmanuel Vadot compatible = "cypress,cyapa"; 26*c66ec88fSEmmanuel Vadot reg = <0x67>; 27*c66ec88fSEmmanuel Vadot interrupt-parent = <&gpio>; 28*c66ec88fSEmmanuel Vadot interrupts = <2 IRQ_TYPE_EDGE_FALLING>; /* GPIO 2 */ 29*c66ec88fSEmmanuel Vadot wakeup-source; 30*c66ec88fSEmmanuel Vadot }; 31*c66ec88fSEmmanuel Vadot 32*c66ec88fSEmmanuel Vadot /* Cypress Gen5 and later touchpad */ 33*c66ec88fSEmmanuel Vadot touchpad@24 { 34*c66ec88fSEmmanuel Vadot compatible = "cypress,cyapa"; 35*c66ec88fSEmmanuel Vadot reg = <0x24>; 36*c66ec88fSEmmanuel Vadot interrupt-parent = <&gpio>; 37*c66ec88fSEmmanuel Vadot interrupts = <2 IRQ_TYPE_EDGE_FALLING>; /* GPIO 2 */ 38*c66ec88fSEmmanuel Vadot wakeup-source; 39*c66ec88fSEmmanuel Vadot }; 40*c66ec88fSEmmanuel Vadot 41*c66ec88fSEmmanuel Vadot /* ... */ 42*c66ec88fSEmmanuel Vadot }; 43