1*c66ec88fSEmmanuel VadotAzoteq IQS550/572/525 Trackpad/Touchscreen Controller 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot 5*c66ec88fSEmmanuel Vadot- compatible : Must be equal to one of the following: 6*c66ec88fSEmmanuel Vadot "azoteq,iqs550" 7*c66ec88fSEmmanuel Vadot "azoteq,iqs572" 8*c66ec88fSEmmanuel Vadot "azoteq,iqs525" 9*c66ec88fSEmmanuel Vadot 10*c66ec88fSEmmanuel Vadot- reg : I2C slave address for the device. 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel Vadot- interrupts : GPIO to which the device's active-high RDY 13*c66ec88fSEmmanuel Vadot output is connected (see [0]). 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel Vadot- reset-gpios : GPIO to which the device's active-low NRST 16*c66ec88fSEmmanuel Vadot input is connected (see [1]). 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel VadotOptional properties: 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel Vadot- touchscreen-min-x : See [2]. 21*c66ec88fSEmmanuel Vadot 22*c66ec88fSEmmanuel Vadot- touchscreen-min-y : See [2]. 23*c66ec88fSEmmanuel Vadot 24*c66ec88fSEmmanuel Vadot- touchscreen-size-x : See [2]. If this property is omitted, the 25*c66ec88fSEmmanuel Vadot maximum x-coordinate is specified by the 26*c66ec88fSEmmanuel Vadot device's "X Resolution" register. 27*c66ec88fSEmmanuel Vadot 28*c66ec88fSEmmanuel Vadot- touchscreen-size-y : See [2]. If this property is omitted, the 29*c66ec88fSEmmanuel Vadot maximum y-coordinate is specified by the 30*c66ec88fSEmmanuel Vadot device's "Y Resolution" register. 31*c66ec88fSEmmanuel Vadot 32*c66ec88fSEmmanuel Vadot- touchscreen-max-pressure : See [2]. Pressure is expressed as the sum of 33*c66ec88fSEmmanuel Vadot the deltas across all channels impacted by a 34*c66ec88fSEmmanuel Vadot touch event. A channel's delta is calculated 35*c66ec88fSEmmanuel Vadot as its count value minus a reference, where 36*c66ec88fSEmmanuel Vadot the count value is inversely proportional to 37*c66ec88fSEmmanuel Vadot the channel's capacitance. 38*c66ec88fSEmmanuel Vadot 39*c66ec88fSEmmanuel Vadot- touchscreen-fuzz-x : See [2]. 40*c66ec88fSEmmanuel Vadot 41*c66ec88fSEmmanuel Vadot- touchscreen-fuzz-y : See [2]. 42*c66ec88fSEmmanuel Vadot 43*c66ec88fSEmmanuel Vadot- touchscreen-fuzz-pressure : See [2]. 44*c66ec88fSEmmanuel Vadot 45*c66ec88fSEmmanuel Vadot- touchscreen-inverted-x : See [2]. Inversion is applied relative to that 46*c66ec88fSEmmanuel Vadot which may already be specified by the device's 47*c66ec88fSEmmanuel Vadot FLIP_X and FLIP_Y register fields. 48*c66ec88fSEmmanuel Vadot 49*c66ec88fSEmmanuel Vadot- touchscreen-inverted-y : See [2]. Inversion is applied relative to that 50*c66ec88fSEmmanuel Vadot which may already be specified by the device's 51*c66ec88fSEmmanuel Vadot FLIP_X and FLIP_Y register fields. 52*c66ec88fSEmmanuel Vadot 53*c66ec88fSEmmanuel Vadot- touchscreen-swapped-x-y : See [2]. Swapping is applied relative to that 54*c66ec88fSEmmanuel Vadot which may already be specified by the device's 55*c66ec88fSEmmanuel Vadot SWITCH_XY_AXIS register field. 56*c66ec88fSEmmanuel Vadot 57*c66ec88fSEmmanuel Vadot[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 58*c66ec88fSEmmanuel Vadot[1]: Documentation/devicetree/bindings/gpio/gpio.txt 59*c66ec88fSEmmanuel Vadot[2]: Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt 60*c66ec88fSEmmanuel Vadot 61*c66ec88fSEmmanuel VadotExample: 62*c66ec88fSEmmanuel Vadot 63*c66ec88fSEmmanuel Vadot &i2c1 { 64*c66ec88fSEmmanuel Vadot /* ... */ 65*c66ec88fSEmmanuel Vadot 66*c66ec88fSEmmanuel Vadot touchscreen@74 { 67*c66ec88fSEmmanuel Vadot compatible = "azoteq,iqs550"; 68*c66ec88fSEmmanuel Vadot reg = <0x74>; 69*c66ec88fSEmmanuel Vadot interrupt-parent = <&gpio>; 70*c66ec88fSEmmanuel Vadot interrupts = <17 4>; 71*c66ec88fSEmmanuel Vadot reset-gpios = <&gpio 27 1>; 72*c66ec88fSEmmanuel Vadot 73*c66ec88fSEmmanuel Vadot touchscreen-size-x = <640>; 74*c66ec88fSEmmanuel Vadot touchscreen-size-y = <480>; 75*c66ec88fSEmmanuel Vadot 76*c66ec88fSEmmanuel Vadot touchscreen-max-pressure = <16000>; 77*c66ec88fSEmmanuel Vadot }; 78*c66ec88fSEmmanuel Vadot 79*c66ec88fSEmmanuel Vadot /* ... */ 80*c66ec88fSEmmanuel Vadot }; 81