Lines Matching +full:event +full:- +full:flick +full:- +full:pos
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
21 - azoteq,iqs7222a
22 - azoteq,iqs7222b
23 - azoteq,iqs7222c
24 - azoteq,iqs7222d
29 irq-gpios:
32 Specifies the GPIO connected to the device's active-low RDY output.
34 reset-gpios:
37 Specifies the GPIO connected to the device's active-low MCLR input. The
41 azoteq,max-counts:
52 azoteq,auto-mode:
63 azoteq,ati-frac-div-fine:
69 azoteq,ati-frac-div-coarse:
75 azoteq,ati-comp-select:
81 azoteq,lta-beta-lp:
86 Specifies the long-term average filter damping factor to be applied during
87 low-power mode.
89 azoteq,lta-beta-np:
94 Specifies the long-term average filter damping factor to be applied during
95 normal-power mode.
97 azoteq,counts-beta-lp:
102 Specifies the counts filter damping factor to be applied during low-power
105 azoteq,counts-beta-np:
110 Specifies the counts filter damping factor to be applied during normal-
113 azoteq,lta-fast-beta-lp:
118 Specifies the long-term average filter fast damping factor to be applied
119 during low-power mode.
121 azoteq,lta-fast-beta-np:
126 Specifies the long-term average filter fast damping factor to be applied
127 during normal-power mode.
129 azoteq,timeout-ati-ms:
136 azoteq,rate-ati-ms:
141 azoteq,timeout-np-ms:
145 Specifies the length of time (in ms) to wait for an event before moving
146 from normal-power mode to low-power mode.
148 azoteq,rate-np-ms:
151 description: Specifies the report rate (in ms) during normal-power mode.
153 azoteq,timeout-lp-ms:
157 Specifies the length of time (in ms) to wait for an event before moving
158 from low-power mode to ultra-low-power mode.
160 azoteq,rate-lp-ms:
163 description: Specifies the report rate (in ms) during low-power mode.
165 azoteq,timeout-ulp-ms:
170 ultra-low-power mode are updated.
172 azoteq,rate-ulp-ms:
175 description: Specifies the report rate (in ms) during ultra-low-power mode.
177 touchscreen-size-x: true
178 touchscreen-size-y: true
179 touchscreen-inverted-x: true
180 touchscreen-inverted-y: true
181 touchscreen-swapped-x-y: true
188 azoteq,channel-select:
189 $ref: /schemas/types.yaml#/definitions/uint32-array
197 Specify 255 to omit a given channel for the purpose of mapping a non-
200 azoteq,num-rows:
206 azoteq,num-cols:
212 azoteq,top-speed:
221 azoteq,bottom-speed:
229 azoteq,use-prox:
238 "^azoteq,lower-cal-(x|y)$":
244 "^azoteq,upper-cal-(x|y)$":
250 "^event-(press|tap|(swipe|flick)-(x|y)-(pos|neg))$":
254 Represents a press or gesture event reported by the trackpad. Specify
255 'linux,code' under the press event to report absolute coordinates.
260 azoteq,gesture-angle-tighten:
267 azoteq,gesture-max-ms:
273 or flick gesture must be completed in order to be acknowledged
274 by the device. The number specified for any one swipe or flick
275 gesture applies to all other swipe or flick gestures.
277 azoteq,gesture-min-ms:
285 azoteq,gesture-dist:
291 flick gesture must travel in order to be acknowledged by the
292 device. The number specified for any one swipe or flick gesture
293 applies to all remaining swipe or flick gestures.
299 azoteq,gpio-select:
300 $ref: /schemas/types.yaml#/definitions/uint32-array
307 Specifies one or more GPIO mapped to the event as follows:
319 - azoteq,channel-select
324 "^cycle-[0-9]$":
329 azoteq,conv-period:
335 azoteq,conv-frac:
341 azoteq,tx-enable:
342 $ref: /schemas/types.yaml#/definitions/uint32-array
350 azoteq,rx-float-inactive:
354 azoteq,dead-time-enable:
359 azoteq,tx-freq-fosc:
364 azoteq,vbias-enable:
368 azoteq,sense-mode:
379 Hall-effect sensing.
381 azoteq,iref-enable:
386 azoteq,iref-level:
392 azoteq,iref-trim:
399 azoteq,iref-level: ["azoteq,iref-enable"]
400 azoteq,iref-trim: ["azoteq,iref-enable"]
404 "^channel-([0-9]|1[0-9])$":
411 Hall-effect sensing with events reported on channel 10 only.
414 azoteq,ulp-allow:
417 Permits the device to enter ultra-low-power mode while the channel
420 azoteq,ref-select:
426 azoteq,ref-weight:
432 azoteq,use-prox:
438 azoteq,counts-filt-enable:
442 azoteq,ati-band:
453 azoteq,global-halt:
456 Specifies that the channel's long-term average is to freeze if any
459 azoteq,invert-enable:
465 azoteq,dual-direction:
468 Specifies that the channel's long-term average is to freeze in the
469 presence of either increasing or decreasing counts, thereby permit-
472 azoteq,rx-enable:
473 $ref: /schemas/types.yaml#/definitions/uint32-array
481 azoteq,samp-cap-double:
485 azoteq,vref-half:
489 azoteq,proj-bias:
500 azoteq,ati-target:
507 azoteq,ati-base:
514 azoteq,ati-mode:
526 azoteq,ati-frac-div-fine:
532 azoteq,ati-frac-mult-coarse:
538 azoteq,ati-frac-div-coarse:
544 azoteq,ati-comp-div:
550 azoteq,ati-comp-select:
556 azoteq,debounce-enter:
562 azoteq,debounce-exit:
569 "^event-(prox|touch)$":
573 Represents a proximity or touch event reported by the channel.
576 azoteq,gpio-select:
577 $ref: /schemas/types.yaml#/definitions/uint32-array
584 Specifies one or more GPIO mapped to the event as follows:
596 Specifies the threshold for the event. Valid entries range from
597 0-127 and 0-255 for proximity and touch events, respectively.
604 Specifies the hysteresis for the event (touch events only).
606 azoteq,timeout-press-ms:
612 releasing a press event. Specify zero to allow the press state to
615 The IQS7222B does not feature channel-specific timeouts; the time-
620 linux,input-type:
624 Specifies whether the event is to be interpreted as a key (1)
630 azoteq,ref-weight: ["azoteq,ref-select"]
631 azoteq,use-prox: ["azoteq,ref-select"]
635 "^slider-[0-1]$":
640 azoteq,channel-select:
641 $ref: /schemas/types.yaml#/definitions/uint32-array
650 azoteq,slider-size:
655 Specifies the slider's one-dimensional resolution, equal to the
658 azoteq,lower-cal:
664 azoteq,upper-cal:
670 azoteq,top-speed:
678 azoteq,bottom-speed:
686 azoteq,bottom-beta:
693 by azoteq,bottom-speed.
695 azoteq,static-beta:
699 azoteq,bottom-beta regardless of the speed of movement.
701 azoteq,use-prox:
715 "^event-(press|tap|(swipe|flick)-(pos|neg))$":
719 Represents a press or gesture (IQS7222A only) event reported by
725 azoteq,gesture-max-ms:
731 or flick gesture must be completed in order to be acknowledged
732 by the device. The number specified for any one swipe or flick
733 gesture applies to all remaining swipe or flick gestures.
735 azoteq,gesture-min-ms:
743 azoteq,gesture-dist:
750 flick gesture must travel in order to be acknowledged by the
751 device. The number specified for any one swipe or flick gesture
752 applies to all remaining swipe or flick gestures.
754 azoteq,gpio-select:
755 $ref: /schemas/types.yaml#/definitions/uint32-array
762 Specifies one or more GPIO mapped to the event as follows:
774 - azoteq,channel-select
778 "^gpio-[0-2]$":
782 gpio-0: GPIO0
783 gpio-1: GPIO3
784 gpio-2: GPIO4
787 - $ref: ../pinctrl/pincfg-node.yaml#
790 drive-open-drain: true
795 - $ref: touchscreen/touchscreen.yaml#
797 - if:
802 - azoteq,iqs7222a
803 - azoteq,iqs7222b
804 - azoteq,iqs7222c
808 touchscreen-size-x: false
809 touchscreen-size-y: false
810 touchscreen-inverted-x: false
811 touchscreen-inverted-y: false
812 touchscreen-swapped-x-y: false
817 "^channel-([0-9]|1[0-9])$":
819 azoteq,counts-filt-enable: false
821 - if:
826 - azoteq,iqs7222b
827 - azoteq,iqs7222c
831 "^channel-([0-9]|1[0-9])$":
833 azoteq,ulp-allow: false
835 - if:
840 - azoteq,iqs7222b
841 - azoteq,iqs7222d
845 "^cycle-[0-9]$":
847 azoteq,iref-enable: false
849 "^channel-([0-9]|1[0-9])$":
851 azoteq,ref-select: false
853 "^slider-[0-1]$": false
855 - if:
863 "^channel-([0-9]|1[0-9])$":
865 "^event-(prox|touch)$":
867 azoteq,gpio-select: false
869 "^gpio-[0-2]$": false
871 - if:
879 "^channel-([0-9]|1[0-9])$":
881 "^event-(prox|touch)$":
883 azoteq,gpio-select:
888 "^slider-[0-1]$":
890 azoteq,slider-size:
895 azoteq,top-speed:
900 "^event-(press|tap|(swipe|flick)-(pos|neg))$":
902 azoteq,gpio-select:
909 "^slider-[0-1]$":
911 "^event-(press|tap|(swipe|flick)-(pos|neg))$":
913 azoteq,gesture-max-ms: false
915 azoteq,gesture-min-ms: false
917 azoteq,gesture-dist: false
920 - compatible
921 - reg
922 - irq-gpios
927 - |
928 #include <dt-bindings/gpio/gpio.h>
929 #include <dt-bindings/input/input.h>
932 #address-cells = <1>;
933 #size-cells = <0>;
938 irq-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
939 azoteq,lta-beta-lp = <7>;
940 azoteq,lta-beta-np = <8>;
941 azoteq,counts-beta-lp = <2>;
942 azoteq,counts-beta-np = <3>;
943 azoteq,lta-fast-beta-lp = <3>;
944 azoteq,lta-fast-beta-np = <4>;
946 cycle-0 {
947 azoteq,conv-period = <5>;
948 azoteq,conv-frac = <127>;
949 azoteq,tx-enable = <1>, <2>, <4>, <5>;
950 azoteq,dead-time-enable;
951 azoteq,sense-mode = <2>;
954 cycle-1 {
955 azoteq,conv-period = <5>;
956 azoteq,conv-frac = <127>;
957 azoteq,tx-enable = <5>;
958 azoteq,dead-time-enable;
959 azoteq,sense-mode = <2>;
962 cycle-2 {
963 azoteq,conv-period = <5>;
964 azoteq,conv-frac = <127>;
965 azoteq,tx-enable = <4>;
966 azoteq,dead-time-enable;
967 azoteq,sense-mode = <2>;
970 cycle-3 {
971 azoteq,conv-period = <5>;
972 azoteq,conv-frac = <127>;
973 azoteq,tx-enable = <2>;
974 azoteq,dead-time-enable;
975 azoteq,sense-mode = <2>;
978 cycle-4 {
979 azoteq,conv-period = <5>;
980 azoteq,conv-frac = <127>;
981 azoteq,tx-enable = <1>;
982 azoteq,dead-time-enable;
983 azoteq,sense-mode = <2>;
986 cycle-5 {
987 azoteq,conv-period = <2>;
988 azoteq,conv-frac = <0>;
991 cycle-6 {
992 azoteq,conv-period = <2>;
993 azoteq,conv-frac = <0>;
996 channel-0 {
997 azoteq,ulp-allow;
998 azoteq,global-halt;
999 azoteq,invert-enable;
1000 azoteq,rx-enable = <3>;
1001 azoteq,ati-target = <800>;
1002 azoteq,ati-base = <208>;
1003 azoteq,ati-mode = <5>;
1006 channel-1 {
1007 azoteq,global-halt;
1008 azoteq,invert-enable;
1009 azoteq,rx-enable = <3>;
1010 azoteq,ati-target = <496>;
1011 azoteq,ati-base = <208>;
1012 azoteq,ati-mode = <5>;
1015 channel-2 {
1016 azoteq,global-halt;
1017 azoteq,invert-enable;
1018 azoteq,rx-enable = <3>;
1019 azoteq,ati-target = <496>;
1020 azoteq,ati-base = <208>;
1021 azoteq,ati-mode = <5>;
1024 channel-3 {
1025 azoteq,global-halt;
1026 azoteq,invert-enable;
1027 azoteq,rx-enable = <3>;
1028 azoteq,ati-target = <496>;
1029 azoteq,ati-base = <208>;
1030 azoteq,ati-mode = <5>;
1033 channel-4 {
1034 azoteq,global-halt;
1035 azoteq,invert-enable;
1036 azoteq,rx-enable = <3>;
1037 azoteq,ati-target = <496>;
1038 azoteq,ati-base = <208>;
1039 azoteq,ati-mode = <5>;
1042 channel-5 {
1043 azoteq,ulp-allow;
1044 azoteq,global-halt;
1045 azoteq,invert-enable;
1046 azoteq,rx-enable = <6>;
1047 azoteq,ati-target = <800>;
1048 azoteq,ati-base = <144>;
1049 azoteq,ati-mode = <5>;
1052 channel-6 {
1053 azoteq,global-halt;
1054 azoteq,invert-enable;
1055 azoteq,rx-enable = <6>;
1056 azoteq,ati-target = <496>;
1057 azoteq,ati-base = <160>;
1058 azoteq,ati-mode = <5>;
1060 event-touch {
1065 channel-7 {
1066 azoteq,global-halt;
1067 azoteq,invert-enable;
1068 azoteq,rx-enable = <6>;
1069 azoteq,ati-target = <496>;
1070 azoteq,ati-base = <160>;
1071 azoteq,ati-mode = <5>;
1073 event-touch {
1078 channel-8 {
1079 azoteq,global-halt;
1080 azoteq,invert-enable;
1081 azoteq,rx-enable = <6>;
1082 azoteq,ati-target = <496>;
1083 azoteq,ati-base = <160>;
1084 azoteq,ati-mode = <5>;
1086 event-touch {
1091 channel-9 {
1092 azoteq,global-halt;
1093 azoteq,invert-enable;
1094 azoteq,rx-enable = <6>;
1095 azoteq,ati-target = <496>;
1096 azoteq,ati-base = <160>;
1097 azoteq,ati-mode = <5>;
1099 event-touch {
1104 channel-10 {
1105 azoteq,ulp-allow;
1106 azoteq,ati-target = <496>;
1107 azoteq,ati-base = <112>;
1109 event-touch {
1111 linux,input-type = <EV_SW>;
1115 channel-11 {
1116 azoteq,ati-target = <496>;
1117 azoteq,ati-base = <112>;
1120 slider-0 {
1121 azoteq,channel-select = <1>, <2>, <3>, <4>;
1122 azoteq,slider-size = <4080>;
1123 azoteq,upper-cal = <50>;
1124 azoteq,lower-cal = <30>;
1125 azoteq,top-speed = <200>;
1126 azoteq,bottom-speed = <1>;
1127 azoteq,bottom-beta = <3>;
1129 event-tap {
1131 azoteq,gesture-max-ms = <400>;
1132 azoteq,gesture-min-ms = <32>;
1135 event-flick-pos {
1137 azoteq,gesture-max-ms = <800>;
1138 azoteq,gesture-dist = <800>;
1141 event-flick-neg {