Lines Matching +full:rx +full:- +full:float +full:- +full:inactive
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
28 irq-gpios:
31 Specifies the GPIO connected to the device's active-low RDY output.
33 reset-gpios:
36 Specifies the GPIO connected to the device's active-low MCLR input. The
40 azoteq,max-counts:
51 azoteq,auto-mode:
62 azoteq,ati-frac-div-fine:
68 azoteq,ati-frac-div-coarse:
74 azoteq,ati-comp-select:
80 azoteq,lta-beta-lp:
85 Specifies the long-term average filter damping factor to be applied during
86 low-power mode.
88 azoteq,lta-beta-np:
93 Specifies the long-term average filter damping factor to be applied during
94 normal-power mode.
96 azoteq,counts-beta-lp:
101 Specifies the counts filter damping factor to be applied during low-power
104 azoteq,counts-beta-np:
109 Specifies the counts filter damping factor to be applied during normal-
112 azoteq,lta-fast-beta-lp:
117 Specifies the long-term average filter fast damping factor to be applied
118 during low-power mode.
120 azoteq,lta-fast-beta-np:
125 Specifies the long-term average filter fast damping factor to be applied
126 during normal-power mode.
128 azoteq,timeout-ati-ms:
135 azoteq,rate-ati-ms:
140 azoteq,timeout-np-ms:
145 from normal-power mode to low-power mode.
147 azoteq,rate-np-ms:
150 description: Specifies the report rate (in ms) during normal-power mode.
152 azoteq,timeout-lp-ms:
157 from low-power mode to ultra-low-power mode.
159 azoteq,rate-lp-ms:
162 description: Specifies the report rate (in ms) during low-power mode.
164 azoteq,timeout-ulp-ms:
169 ultra-low-power mode are updated.
171 azoteq,rate-ulp-ms:
174 description: Specifies the report rate (in ms) during ultra-low-power mode.
177 "^cycle-[0-9]$":
182 azoteq,conv-period:
188 azoteq,conv-frac:
194 azoteq,tx-enable:
195 $ref: /schemas/types.yaml#/definitions/uint32-array
203 azoteq,rx-float-inactive:
205 description: Floats any inactive CRx pins instead of grounding them.
207 azoteq,dead-time-enable:
212 azoteq,tx-freq-fosc:
217 azoteq,vbias-enable:
221 azoteq,sense-mode:
232 Hall-effect sensing.
234 azoteq,iref-enable:
239 azoteq,iref-level:
245 azoteq,iref-trim:
252 azoteq,iref-level: ["azoteq,iref-enable"]
253 azoteq,iref-trim: ["azoteq,iref-enable"]
257 "^channel-([0-9]|1[0-9])$":
261 inactive otherwise.
264 Hall-effect sensing with events reported on channel 10 only.
267 azoteq,ulp-allow:
270 Permits the device to enter ultra-low-power mode while the channel
273 azoteq,ref-select:
279 azoteq,ref-weight:
285 azoteq,use-prox:
291 azoteq,ati-band:
302 azoteq,global-halt:
305 Specifies that the channel's long-term average is to freeze if any
308 azoteq,invert-enable:
314 azoteq,dual-direction:
317 Specifies that the channel's long-term average is to freeze in the
318 presence of either increasing or decreasing counts, thereby permit-
321 azoteq,rx-enable:
322 $ref: /schemas/types.yaml#/definitions/uint32-array
330 azoteq,samp-cap-double:
334 azoteq,vref-half:
338 azoteq,proj-bias:
349 azoteq,ati-target:
356 azoteq,ati-base:
363 azoteq,ati-mode:
375 azoteq,ati-frac-div-fine:
381 azoteq,ati-frac-mult-coarse:
387 azoteq,ati-frac-div-coarse:
393 azoteq,ati-comp-div:
399 azoteq,ati-comp-select:
405 azoteq,debounce-enter:
411 azoteq,debounce-exit:
418 "^event-(prox|touch)$":
425 azoteq,gpio-select:
426 $ref: /schemas/types.yaml#/definitions/uint32-array
446 0-127 and 0-255 for proximity and touch events, respectively.
455 azoteq,timeout-press-ms:
464 The IQS7222B does not feature channel-specific timeouts; the time-
469 linux,input-type:
477 - linux,code
482 azoteq,ref-weight: ["azoteq,ref-select"]
483 azoteq,use-prox: ["azoteq,ref-select"]
487 "^slider-[0-1]$":
492 azoteq,channel-select:
493 $ref: /schemas/types.yaml#/definitions/uint32-array
502 azoteq,slider-size:
507 Specifies the slider's one-dimensional resolution, equal to the
510 azoteq,lower-cal:
516 azoteq,upper-cal:
522 azoteq,top-speed:
530 azoteq,bottom-speed:
538 azoteq,bottom-beta:
545 by azoteq,bottom-speed.
547 azoteq,static-beta:
551 azoteq,bottom-beta regardless of the speed of movement.
553 azoteq,use-prox:
567 "^event-(press|tap|(swipe|flick)-(pos|neg))$":
577 azoteq,gesture-max-ms:
587 azoteq,gesture-min-ms:
595 azoteq,gesture-dist:
602 travel in order to be acknowledged by the device. The number spec-
606 azoteq,gpio-select:
607 $ref: /schemas/types.yaml#/definitions/uint32-array
624 - linux,code
629 - azoteq,channel-select
633 "^gpio-[0-2]$":
637 gpio-0: GPIO0
638 gpio-1: GPIO3 (IQS7222C only)
639 gpio-2: GPIO4 (IQS7222C only)
642 - $ref: ../pinctrl/pincfg-node.yaml#
645 drive-open-drain: true
650 - if:
658 "^cycle-[0-9]$":
660 azoteq,iref-enable: false
662 "^channel-([0-9]|1[0-9])$":
664 azoteq,ref-select: false
667 "^event-(prox|touch)$":
669 azoteq,gpio-select: false
671 "^slider-[0-1]$": false
673 "^gpio-[0-2]$": false
675 - if:
683 "^channel-([0-9]|1[0-9])$":
685 "^event-(prox|touch)$":
687 azoteq,gpio-select:
692 "^slider-[0-1]$":
694 azoteq,slider-size:
698 azoteq,top-speed:
703 "^event-(press|tap|(swipe|flick)-(pos|neg))$":
705 azoteq,gpio-select:
712 "^channel-([0-9]|1[0-9])$":
714 azoteq,ulp-allow: false
716 "^slider-[0-1]$":
718 "^event-(press|tap|(swipe|flick)-(pos|neg))$":
720 azoteq,gesture-max-ms: false
722 azoteq,gesture-min-ms: false
724 azoteq,gesture-dist: false
727 - compatible
728 - reg
729 - irq-gpios
734 - |
735 #include <dt-bindings/gpio/gpio.h>
736 #include <dt-bindings/input/input.h>
739 #address-cells = <1>;
740 #size-cells = <0>;
745 irq-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
746 azoteq,lta-beta-lp = <7>;
747 azoteq,lta-beta-np = <8>;
748 azoteq,counts-beta-lp = <2>;
749 azoteq,counts-beta-np = <3>;
750 azoteq,lta-fast-beta-lp = <3>;
751 azoteq,lta-fast-beta-np = <4>;
753 cycle-0 {
754 azoteq,conv-period = <5>;
755 azoteq,conv-frac = <127>;
756 azoteq,tx-enable = <1>, <2>, <4>, <5>;
757 azoteq,dead-time-enable;
758 azoteq,sense-mode = <2>;
761 cycle-1 {
762 azoteq,conv-period = <5>;
763 azoteq,conv-frac = <127>;
764 azoteq,tx-enable = <5>;
765 azoteq,dead-time-enable;
766 azoteq,sense-mode = <2>;
769 cycle-2 {
770 azoteq,conv-period = <5>;
771 azoteq,conv-frac = <127>;
772 azoteq,tx-enable = <4>;
773 azoteq,dead-time-enable;
774 azoteq,sense-mode = <2>;
777 cycle-3 {
778 azoteq,conv-period = <5>;
779 azoteq,conv-frac = <127>;
780 azoteq,tx-enable = <2>;
781 azoteq,dead-time-enable;
782 azoteq,sense-mode = <2>;
785 cycle-4 {
786 azoteq,conv-period = <5>;
787 azoteq,conv-frac = <127>;
788 azoteq,tx-enable = <1>;
789 azoteq,dead-time-enable;
790 azoteq,sense-mode = <2>;
793 cycle-5 {
794 azoteq,conv-period = <2>;
795 azoteq,conv-frac = <0>;
798 cycle-6 {
799 azoteq,conv-period = <2>;
800 azoteq,conv-frac = <0>;
803 channel-0 {
804 azoteq,ulp-allow;
805 azoteq,global-halt;
806 azoteq,invert-enable;
807 azoteq,rx-enable = <3>;
808 azoteq,ati-target = <800>;
809 azoteq,ati-base = <208>;
810 azoteq,ati-mode = <5>;
813 channel-1 {
814 azoteq,global-halt;
815 azoteq,invert-enable;
816 azoteq,rx-enable = <3>;
817 azoteq,ati-target = <496>;
818 azoteq,ati-base = <208>;
819 azoteq,ati-mode = <5>;
822 channel-2 {
823 azoteq,global-halt;
824 azoteq,invert-enable;
825 azoteq,rx-enable = <3>;
826 azoteq,ati-target = <496>;
827 azoteq,ati-base = <208>;
828 azoteq,ati-mode = <5>;
831 channel-3 {
832 azoteq,global-halt;
833 azoteq,invert-enable;
834 azoteq,rx-enable = <3>;
835 azoteq,ati-target = <496>;
836 azoteq,ati-base = <208>;
837 azoteq,ati-mode = <5>;
840 channel-4 {
841 azoteq,global-halt;
842 azoteq,invert-enable;
843 azoteq,rx-enable = <3>;
844 azoteq,ati-target = <496>;
845 azoteq,ati-base = <208>;
846 azoteq,ati-mode = <5>;
849 channel-5 {
850 azoteq,ulp-allow;
851 azoteq,global-halt;
852 azoteq,invert-enable;
853 azoteq,rx-enable = <6>;
854 azoteq,ati-target = <800>;
855 azoteq,ati-base = <144>;
856 azoteq,ati-mode = <5>;
859 channel-6 {
860 azoteq,global-halt;
861 azoteq,invert-enable;
862 azoteq,rx-enable = <6>;
863 azoteq,ati-target = <496>;
864 azoteq,ati-base = <160>;
865 azoteq,ati-mode = <5>;
867 event-touch {
872 channel-7 {
873 azoteq,global-halt;
874 azoteq,invert-enable;
875 azoteq,rx-enable = <6>;
876 azoteq,ati-target = <496>;
877 azoteq,ati-base = <160>;
878 azoteq,ati-mode = <5>;
880 event-touch {
885 channel-8 {
886 azoteq,global-halt;
887 azoteq,invert-enable;
888 azoteq,rx-enable = <6>;
889 azoteq,ati-target = <496>;
890 azoteq,ati-base = <160>;
891 azoteq,ati-mode = <5>;
893 event-touch {
898 channel-9 {
899 azoteq,global-halt;
900 azoteq,invert-enable;
901 azoteq,rx-enable = <6>;
902 azoteq,ati-target = <496>;
903 azoteq,ati-base = <160>;
904 azoteq,ati-mode = <5>;
906 event-touch {
911 channel-10 {
912 azoteq,ulp-allow;
913 azoteq,ati-target = <496>;
914 azoteq,ati-base = <112>;
916 event-touch {
918 linux,input-type = <EV_SW>;
922 channel-11 {
923 azoteq,ati-target = <496>;
924 azoteq,ati-base = <112>;
927 slider-0 {
928 azoteq,channel-select = <1>, <2>, <3>, <4>;
929 azoteq,slider-size = <4080>;
930 azoteq,upper-cal = <50>;
931 azoteq,lower-cal = <30>;
932 azoteq,top-speed = <200>;
933 azoteq,bottom-speed = <1>;
934 azoteq,bottom-beta = <3>;
936 event-tap {
938 azoteq,gesture-max-ms = <600>;
939 azoteq,gesture-min-ms = <24>;
942 event-flick-pos {
944 azoteq,gesture-max-ms = <600>;
945 azoteq,gesture-dist = <816>;
948 event-flick-neg {