Lines Matching +full:headset +full:- +full:detect
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - David Yang <yangxiaohua@everest-semi.com>
21 - description: clock for master clock (MCLK)
23 clock-names:
25 - const: mclk
27 "#sound-dai-cells":
30 everest,jack-pol:
34 Bit(2) decides whether the button on the headset is inverted.
40 everest,mic1-src:
43 the value of reg 2A when headset plugged.
48 everest,mic2-src:
51 the value of reg 2A when headset unplugged.
56 everest,jack-detect-inverted:
61 everest,interrupt-src:
69 Bit(5) 1 means PIN9 is the irq source after MIC detect.
70 Bit(6) 1 means PIN27 is the irq source after MIC detect.
75 everest,interrupt-clk:
79 Bit(0-3) 0 means irq pulse equals 512*internal clock
86 Bit(6) 1 means the chip do not detect jack type after button released.
87 0 means the chip detect jack type again after button released.
93 - compatible
94 - reg
95 - "#sound-dai-cells"
100 - |
102 #address-cells = <1>;
103 #size-cells = <0>;
108 clock-names = "mclk";
109 #sound-dai-cells = <0>;
110 everest,mic1-src = [22];
111 everest,mic2-src = [44];
112 everest,jack-pol = [0e];
113 everest,interrupt-src = [08];
114 everest,interrupt-clk = [45];