The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/src/arm64/mediatek/mt8183-kukui-audio-da7219.dtsi

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
    2 /*
    3  * Google Kukui (and derivatives) audio fragment for da7219.
    4  *
    5  * Copyright 2020 Google LLC.
    6  */
    7 
    8 &i2c5 {
    9         da7219: da7219@1a {
   10                 pinctrl-names = "default";
   11                 pinctrl-0 = <&da7219_pins>;
   12                 compatible = "dlg,da7219";
   13                 reg = <0x1a>;
   14                 interrupt-parent = <&pio>;
   15                 interrupts = <165 IRQ_TYPE_LEVEL_LOW 165 0>;
   16 
   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>;
   22 
   23                 status = "okay";
   24 
   25                 da7219_aad {
   26                         dlg,adc-1bit-rpt = <1>;
   27                         dlg,btn-avg = <4>;
   28                         dlg,btn-cfg = <50>;
   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>;
   33 
   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>;
   38                 };
   39         };
   40 };
   41 
   42 &pio {
   43         da7219_pins: da7219_pins {
   44                 pins1 {
   45                         pinmux = <PINMUX_GPIO165__FUNC_GPIO165>;
   46                         input-enable;
   47                         bias-pull-up;
   48                 };
   49         };
   50 };
   51 
   52 &sound {
   53         mediatek,headset-codec = <&da7219>;
   54 };

Cache object: efb1e00601b00bc17317a0ec0b31e463


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.