Lines Matching +full:debounce +full:- +full:ms

1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - John Hsu <KCHSU0@nuvoton.com>
13 - $ref: dai-common.yaml#
18 - nuvoton,nau8825
26 nuvoton,jkdet-enable:
31 nuvoton,jkdet-pull-enable:
34 If set - pin pull enabled, otherwise pin in high impedance state.
37 nuvoton,jkdet-pull-up:
39 Pull-up JKDET pin.
43 nuvoton,jkdet-polarity:
48 - 0 # active high
49 - 1 # active low
52 nuvoton,vref-impedance:
57 - 0 # Open
58 - 1 # 25 kOhm
59 - 2 # 125 kOhm
60 - 3 # 2.5 kOhm
63 nuvoton,micbias-voltage:
68 - 0 # VDDA
69 - 1 # VDDA
70 - 2 # VDDA * 1.1
71 - 3 # VDDA * 1.2
72 - 4 # VDDA * 1.3
73 - 5 # VDDA * 1.4
74 - 6 # VDDA * 1.53
75 - 7 # VDDA * 1.53
78 nuvoton,sar-threshold-num:
86 nuvoton,sar-threshold:
87 $ref: /schemas/types.yaml#/definitions/uint32-array
92 configured by 'nuvoton,micbias-voltage', SAR_VOLTAGE is configured by
93 'nuvoton,sar-voltage', R - button impedance.
102 nuvoton,sar-hysteresis:
108 nuvoton,sar-voltage:
113 - 0 # VDDA
114 - 1 # VDDA
115 - 2 # VDDA * 1.1
116 - 3 # VDDA * 1.2
117 - 4 # VDDA * 1.3
118 - 5 # VDDA * 1.4
119 - 6 # VDDA * 1.53
120 - 7 # VDDA * 1.53
123 nuvoton,sar-compare-time:
128 - 0 # 500 ns
129 - 1 # 1 us
130 - 2 # 2 us
131 - 3 # 4 us
134 nuvoton,sar-sampling-time:
139 - 0 # 2 us
140 - 1 # 4 us
141 - 2 # 8 us
142 - 3 # 16 us
145 nuvoton,short-key-debounce:
148 Button short key press debounce time.
150 - 0 # 30 ms
151 - 1 # 50 ms
152 - 2 # 100 ms
153 - 3 # 30 ms
156 nuvoton,jack-insert-debounce:
159 number from 0 to 7 that sets debounce time to 2^(n+2) ms.
163 nuvoton,jack-eject-debounce:
166 number from 0 to 7 that sets debounce time to 2^(n+2) ms
170 nuvoton,crosstalk-enable:
175 nuvoton,adcout-drive-strong:
181 nuvoton,adc-delay-ms:
183 Delay (in ms) to make input path stable and avoid pop noise.
184 The default value is 125 and range between 125 to 500 ms.
192 clock-names:
194 - const: mclk
196 '#sound-dai-cells':
200 - compatible
201 - reg
206 - |
207 #include <dt-bindings/gpio/gpio.h>
208 #include <dt-bindings/interrupt-controller/irq.h>
210 #address-cells = <1>;
211 #size-cells = <0>;
213 #sound-dai-cells = <0>;
216 interrupt-parent = <&gpio>;
218 nuvoton,jkdet-enable;
219 nuvoton,jkdet-pull-enable;
220 nuvoton,jkdet-pull-up;
221 nuvoton,jkdet-polarity = <GPIO_ACTIVE_LOW>;
222 nuvoton,vref-impedance = <2>;
223 nuvoton,micbias-voltage = <6>;
225 nuvoton,sar-threshold-num = <4>;
226 nuvoton,sar-threshold = <0xc 0x1e 0x38 0x60>;
227 nuvoton,sar-hysteresis = <1>;
228 nuvoton,sar-voltage = <0>;
229 nuvoton,sar-compare-time = <0>;
230 nuvoton,sar-sampling-time = <0>;
231 nuvoton,short-key-debounce = <2>;
232 nuvoton,jack-insert-debounce = <7>;
233 nuvoton,jack-eject-debounce = <7>;
234 nuvoton,crosstalk-enable;
236 clock-names = "mclk";