Lines Matching +full:jkdet +full:- +full:polarity
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,nau8824
23 '#sound-dai-cells':
29 nuvoton,jkdet-polarity:
32 JKDET pin polarity.
34 - 0 # active high
35 - 1 # active low
38 nuvoton,vref-impedance:
43 - 0 # Open
44 - 1 # 25 kOhm
45 - 2 # 125 kOhm
46 - 3 # 2.5 kOhm
49 nuvoton,micbias-voltage:
54 - 0 # VDDA
55 - 1 # VDDA
56 - 2 # VDDA * 1.1
57 - 3 # VDDA * 1.2
58 - 4 # VDDA * 1.3
59 - 5 # VDDA * 1.4
60 - 6 # VDDA * 1.53
61 - 7 # VDDA * 1.53
64 nuvoton,sar-threshold-num:
72 nuvoton,sar-threshold:
73 $ref: /schemas/types.yaml#/definitions/uint32-array
78 configured by 'nuvoton,micbias-voltage', SAR_VOLTAGE is configured by
79 'nuvoton,sar-voltage', R - button impedance.
88 nuvoton,sar-hysteresis:
94 nuvoton,sar-voltage:
99 - 0 # VDDA
100 - 1 # VDDA
101 - 2 # VDDA * 1.1
102 - 3 # VDDA * 1.2
103 - 4 # VDDA * 1.3
104 - 5 # VDDA * 1.4
105 - 6 # VDDA * 1.53
106 - 7 # VDDA * 1.53
109 nuvoton,sar-compare-time:
114 - 0 # 500ns
115 - 1 # 1us
116 - 2 # 2us
117 - 3 # 4us
120 nuvoton,sar-sampling-time:
125 - 0 # 2us
126 - 1 # 4us
127 - 2 # 8us
128 - 3 # 16us
131 nuvoton,short-key-debounce:
136 - 0 # 30 ms
137 - 1 # 50 ms
138 - 2 # 100 ms
141 nuvoton,jack-eject-debounce:
146 - 0 # 0 ms
147 - 1 # 1 ms
148 - 2 # 10 ms
152 - compatible
153 - reg
158 - |
159 #include <dt-bindings/gpio/gpio.h>
160 #include <dt-bindings/interrupt-controller/irq.h>
162 #address-cells = <1>;
163 #size-cells = <0>;
165 #sound-dai-cells = <0>;
168 interrupt-parent = <&gpio>;
170 nuvoton,vref-impedance = <2>;
171 nuvoton,micbias-voltage = <6>;
172 nuvoton,sar-threshold-num = <4>;
174 nuvoton,sar-threshold = <0xc 0x1e 0x38 0x60>;
175 nuvoton,sar-hysteresis = <0>;
176 nuvoton,sar-voltage = <6>;
177 nuvoton,sar-compare-time = <1>;
178 nuvoton,sar-sampling-time = <1>;
179 nuvoton,short-key-debounce = <0>;
180 nuvoton,jack-eject-debounce = <1>;