1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Google Kukui (and derivatives) audio fragment for da7219.
5 * Copyright 2020 Google LLC.
10 pinctrl-names = "default";
11 pinctrl-0 = <&da7219_pins>;
12 compatible = "dlg,da7219";
14 interrupt-parent = <&pio>;
15 interrupts = <165 IRQ_TYPE_LEVEL_LOW 165 0>;
17 dlg,micbias-lvl = <2600>;
18 dlg,mic-amp-in-sel = "diff";
19 VDD-supply = <&pp1800_alw>;
20 VDDMIC-supply = <&pp3300_alw>;
21 VDDIO-supply = <&pp1800_alw>;
26 dlg,adc-1bit-rpt = <1>;
29 dlg,mic-det-thr = <500>;
30 dlg,jack-ins-deb = <20>;
31 dlg,jack-det-rate = "32ms_64ms";
32 dlg,jack-rem-deb = <1>;
34 dlg,a-d-btn-thr = <0xa>;
35 dlg,d-b-btn-thr = <0x16>;
36 dlg,b-c-btn-thr = <0x21>;
37 dlg,c-mic-btn-thr = <0x3E>;
43 da7219_pins: da7219_pins {
45 pinmux = <PINMUX_GPIO165__FUNC_GPIO165>;
53 mediatek,headset-codec = <&da7219>;