@@ -9,6 +9,9 @@ title: Azoteq IQS269A Capacitive Touch Controller
9
9
maintainers :
10
10
- Jeff LaBundy <jeff@labundy.com>
11
11
12
+ allOf :
13
+ - $ref : input.yaml#
14
+
12
15
description : |
13
16
The Azoteq IQS269A is an 8-channel capacitive touch controller that features
14
17
additional Hall-effect and inductive sensing capabilities.
@@ -204,6 +207,63 @@ properties:
204
207
default : 1
205
208
description : Specifies the slider coordinate filter strength.
206
209
210
+ linux,keycodes :
211
+ minItems : 1
212
+ maxItems : 8
213
+ description : |
214
+ Specifies the numeric keycodes associated with each available gesture in
215
+ the following order (enter 0 for unused gestures):
216
+ 0: Slider 0 tap
217
+ 1: Slider 0 hold
218
+ 2: Slider 0 positive flick or swipe
219
+ 3: Slider 0 negative flick or swipe
220
+ 4: Slider 1 tap
221
+ 5: Slider 1 hold
222
+ 6: Slider 1 positive flick or swipe
223
+ 7: Slider 1 negative flick or swipe
224
+
225
+ azoteq,gesture-swipe :
226
+ type : boolean
227
+ description :
228
+ Directs the device to interpret axial gestures as a swipe (finger remains
229
+ on slider) instead of a flick (finger leaves slider).
230
+
231
+ azoteq,timeout-tap-ms :
232
+ multipleOf : 16
233
+ minimum : 0
234
+ maximum : 4080
235
+ default : 400
236
+ description :
237
+ Specifies the length of time (in ms) within which a slider touch must be
238
+ released in order to be interpreted as a tap. Default and maximum values
239
+ as well as step size are reduced by a factor of 4 with device version 2.
240
+
241
+ azoteq,timeout-swipe-ms :
242
+ multipleOf : 16
243
+ minimum : 0
244
+ maximum : 4080
245
+ default : 2000
246
+ description :
247
+ Specifies the length of time (in ms) within which an axial gesture must be
248
+ completed in order to be interpreted as a flick or swipe. Default and max-
249
+ imum values as well as step size are reduced by a factor of 4 with device
250
+ version 2.
251
+
252
+ azoteq,thresh-swipe :
253
+ $ref : /schemas/types.yaml#/definitions/uint32
254
+ minimum : 0
255
+ maximum : 255
256
+ default : 128
257
+ description :
258
+ Specifies the number of points across which an axial gesture must travel
259
+ in order to be interpreted as a flick or swipe.
260
+
261
+ dependencies :
262
+ azoteq,gesture-swipe : ["linux,keycodes"]
263
+ azoteq,timeout-tap-ms : ["linux,keycodes"]
264
+ azoteq,timeout-swipe-ms : ["linux,keycodes"]
265
+ azoteq,thresh-swipe : ["linux,keycodes"]
266
+
207
267
patternProperties :
208
268
" ^channel@[0-7]$ " :
209
269
type : object
@@ -484,6 +544,14 @@ examples:
484
544
azoteq,hall-enable;
485
545
azoteq,suspend-mode = <2>;
486
546
547
+ linux,keycodes = <KEY_PLAYPAUSE>,
548
+ <KEY_STOPCD>,
549
+ <KEY_NEXTSONG>,
550
+ <KEY_PREVIOUSSONG>;
551
+
552
+ azoteq,timeout-tap-ms = <400>;
553
+ azoteq,timeout-swipe-ms = <800>;
554
+
487
555
channel@0 {
488
556
reg = <0x0>;
489
557
0 commit comments