Lines Matching +full:3 +full:- +full:channel
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features
14 additional Hall-effect and inductive sensing capabilities.
28 "#address-cells":
31 "#size-cells":
34 azoteq,hall-enable:
37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes
38 assigned to channel 6 are ignored and keycodes assigned to channel 7 are
39 interpreted as switch codes. Refer to the datasheet for requirements im-
40 posed on channels 6 and 7 by Hall-effect sensing.
42 azoteq,suspend-mode:
44 enum: [0, 1, 2, 3]
50 2: Ultra-low power (channel 0 proximity sensing)
51 3: Halt (no sensing)
53 azoteq,clk-div:
57 azoteq,ulp-update:
61 default: 3
62 description: Specifies the ultra-low-power mode update rate.
64 azoteq,reseed-offset:
67 Applies an 8-count offset to all long-term averages upon either ATI or
70 azoteq,filt-str-lp-lta:
72 enum: [0, 1, 2, 3]
75 Specifies the long-term average filter strength during low-power mode.
77 azoteq,filt-str-lp-cnt:
79 enum: [0, 1, 2, 3]
82 Specifies the raw count filter strength during low-power mode.
84 azoteq,filt-str-np-lta:
86 enum: [0, 1, 2, 3]
89 Specifies the long-term average filter strength during normal-power mode.
91 azoteq,filt-str-np-cnt:
93 enum: [0, 1, 2, 3]
96 Specifies the raw count filter strength during normal-power mode.
98 azoteq,rate-np-ms:
102 description: Specifies the report rate (in ms) during normal-power mode.
104 azoteq,rate-lp-ms:
108 description: Specifies the report rate (in ms) during low-power mode.
110 azoteq,rate-ulp-ms:
115 description: Specifies the report rate (in ms) during ultra-low-power mode.
117 azoteq,timeout-pwr-ms:
123 Specifies the length of time (in ms) to wait for an event during normal-
124 power mode before transitioning to low-power mode.
126 azoteq,timeout-lta-ms:
132 Specifies the length of time (in ms) to wait before resetting the long-
136 azoteq,ati-band-disable:
140 azoteq,ati-lp-only:
142 description: Limits automatic ATI to low-power mode.
144 azoteq,ati-band-tighten:
148 azoteq,filt-disable:
152 azoteq,gpio3-select:
158 Selects the channel for which the GPIO3 pin represents touch state.
160 azoteq,dual-direction:
163 Specifies that long-term averages are to freeze in the presence of either
167 azoteq,tx-freq:
169 enum: [0, 1, 2, 3]
172 Specifies the inductive sensing excitation frequency as follows (paren-
173 thesized numbers represent the frequency if 'azoteq,clk-div' is present):
177 3: 2 MHz (500 kHz)
179 azoteq,global-cap-increase:
183 azoteq,reseed-select:
185 enum: [0, 1, 2, 3]
189 long-term average) of an associated channel as follows:
193 3: Proximity, touch or deep touch
195 azoteq,tracking-enable:
201 azoteq,filt-str-slider:
203 enum: [0, 1, 2, 3]
208 "^channel@[0-7]$":
211 Represents a single sensing channel. A channel is active if defined and
218 description: Index of the channel.
220 azoteq,reseed-disable:
223 Prevents the channel from being reseeded if the long-term average
224 timeout (defined in 'azoteq,timeout-lta') expires.
226 azoteq,blocking-enable:
228 description: Specifies that the channel is a blocking channel.
230 azoteq,slider0-select:
232 description: Specifies that the channel participates in slider 0.
234 azoteq,slider1-select:
236 description: Specifies that the channel participates in slider 1.
238 azoteq,rx-enable:
239 $ref: /schemas/types.yaml#/definitions/uint32-array
246 Specifies the CRX pin(s) associated with the channel. By default, only
247 the CRX pin corresponding to the channel's index is enabled (e.g. CRX0
248 for channel 0).
250 azoteq,tx-enable:
251 $ref: /schemas/types.yaml#/definitions/uint32-array
257 default: [0, 1, 2, 3, 4, 5, 6, 7]
258 description: Specifies the TX pin(s) associated with the channel.
260 azoteq,meas-cap-decrease:
265 azoteq,rx-float-inactive:
269 azoteq,local-cap-size:
274 Specifies the capacitance to be added to the channel as follows:
276 1: Global adder (based on 'azoteq,global-cap-increase')
279 azoteq,invert-enable:
283 deep-touch events relative to their respective thresholds.
285 azoteq,proj-bias:
287 enum: [0, 1, 2, 3]
290 Specifies the bias current applied during projected-capacitance
295 3: 20 uA
297 azoteq,sense-mode:
302 Specifies the channel's sensing mode as follows:
309 azoteq,sense-freq:
311 enum: [0, 1, 2, 3]
314 Specifies the channel's sensing frequency as follows (parenthesized
315 numbers represent the frequency if 'azoteq,clk-div' is present):
319 3: 500 kHz (125 kHz)
321 azoteq,static-enable:
323 description: Enables the static front-end for the channel.
325 azoteq,ati-mode:
327 enum: [0, 1, 2, 3]
328 default: 3
330 Specifies the channel's ATI mode as follows:
332 1: Semi-partial
334 3: Full
336 azoteq,ati-base:
340 description: Specifies the channel's ATI base.
342 azoteq,ati-target:
348 description: Specifies the channel's ATI target.
350 azoteq,assoc-select:
351 $ref: /schemas/types.yaml#/definitions/uint32-array
358 Specifies the associated channels for which the channel serves as a
359 reference channel. By default, no channels are selected.
361 azoteq,assoc-weight:
367 Specifies the channel's impact weight if it acts as an associated
368 channel (0 = 0% impact, 255 = 200% impact).
371 "^event-prox(-alt)?$":
374 Represents a proximity event reported by the channel in response to
375 a decrease in counts. Node names suffixed with '-alt' instead corre-
378 By default, the long-term average tracks an increase in counts such
382 Specify 'azoteq,dual-direction' to freeze the long-term average when
384 can be reported. Alternatively, specify 'azoteq,invert-enable' to in-
385 vert the polarity of the states reported by the channel.
387 Complementary events (e.g. event-touch and event-touch-alt) can both
388 be present and specify different key or switch codes, but not differ-
405 "^event-touch(-alt)?$":
407 description: Represents a touch event reported by the channel.
430 "^event-deep(-alt)?$":
432 description: Represents a deep-touch event reported by the channel.
456 - reg
461 - compatible
462 - reg
463 - interrupts
464 - "#address-cells"
465 - "#size-cells"
470 - |
471 #include <dt-bindings/input/input.h>
472 #include <dt-bindings/interrupt-controller/irq.h>
475 #address-cells = <1>;
476 #size-cells = <0>;
479 #address-cells = <1>;
480 #size-cells = <0>;
484 interrupt-parent = <&gpio>;
487 azoteq,hall-enable;
488 azoteq,suspend-mode = <2>;
490 channel@0 {
493 event-prox {
498 channel@1 {
500 azoteq,slider0-select;
503 channel@2 {
505 azoteq,slider0-select;
508 channel@3 {
510 azoteq,slider0-select;
513 channel@4 {
515 azoteq,slider0-select;
518 channel@5 {
520 azoteq,slider0-select;
523 channel@6 {
525 azoteq,invert-enable;
526 azoteq,static-enable;
527 azoteq,reseed-disable;
528 azoteq,rx-enable = <0>;
529 azoteq,sense-freq = <0x0>;
530 azoteq,sense-mode = <0xE>;
531 azoteq,ati-mode = <0x0>;
532 azoteq,ati-base = <200>;
533 azoteq,ati-target = <320>;
536 channel@7 {
538 azoteq,invert-enable;
539 azoteq,static-enable;
540 azoteq,reseed-disable;
541 azoteq,rx-enable = <0>, <6>;
542 azoteq,sense-freq = <0x0>;
543 azoteq,sense-mode = <0xE>;
544 azoteq,ati-mode = <0x3>;
545 azoteq,ati-base = <200>;
546 azoteq,ati-target = <320>;
548 event-touch {