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/Bindings/sound/qcom,apq8016-sbc.txt

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 * Qualcomm Technologies APQ8016 SBC ASoC machine driver
    2 
    3 This node models the Qualcomm Technologies APQ8016 SBC ASoC machine driver
    4 
    5 Required properties:
    6 
    7 - compatible            : "qcom,apq8016-sbc-sndcard"
    8 
    9 - pinctrl-N             : One property must exist for each entry in
   10                           pinctrl-names.  See ../pinctrl/pinctrl-bindings.txt
   11                           for details of the property values.
   12 - pinctrl-names         : Must contain a "default" entry.
   13 - reg                   : Must contain an address for each entry in reg-names.
   14 - reg-names             : A list which must include the following entries:
   15                                 * "mic-iomux"
   16                                 * "spkr-iomux"
   17 - qcom,model            : Name of the sound card.
   18 
   19 - qcom,audio-routing    : A list of the connections between audio components.
   20                           Each entry is a pair of strings, the first being the
   21                           connection's sink, the second being the connection's
   22                           source. Valid names could be power supplies, MicBias
   23                           of msm8x16_wcd codec and the jacks on the board:
   24 
   25                           Power supplies:
   26                           * MIC BIAS External1
   27                           * MIC BIAS External2
   28                           * MIC BIAS Internal1
   29                           * MIC BIAS Internal2
   30 
   31                           Board connectors:
   32                           * Headset Mic
   33                           * Secondary Mic
   34                           * DMIC
   35                           * Ext Spk
   36 
   37 Optional properties:
   38 
   39 - aux-devs              : A list of phandles for auxiliary devices (e.g. analog
   40                           amplifiers) that do not appear directly within the DAI
   41                           links. Should be connected to another audio component
   42                           using "qcom,audio-routing".
   43 
   44 Dai-link subnode properties and subnodes:
   45 
   46 Required dai-link subnodes:
   47 
   48 - cpu                                   : CPU   sub-node
   49 - codec                                 : CODEC sub-node
   50 
   51 Required CPU/CODEC subnodes properties:
   52 
   53 -link-name              : Name of the dai link.
   54 -sound-dai              : phandle/s and port of CPU/CODEC
   55 
   56 Example:
   57 
   58 sound: sound {
   59         compatible = "qcom,apq8016-sbc-sndcard";
   60         reg = <0x07702000 0x4>, <0x07702004 0x4>;
   61         reg-names = "mic-iomux", "spkr-iomux";
   62         qcom,model = "DB410c";
   63 
   64         qcom,audio-routing =
   65                 "MIC BIAS External1", "Handset Mic",
   66                 "MIC BIAS Internal2", "Headset Mic",
   67                 "MIC BIAS External1", "Secondary Mic",
   68                 "AMIC1", "MIC BIAS External1",
   69                 "AMIC2", "MIC BIAS Internal2",
   70                 "AMIC3", "MIC BIAS External1",
   71                 "DMIC1", "MIC BIAS Internal1",
   72                 "MIC BIAS Internal1", "Digital Mic1",
   73                 "DMIC2", "MIC BIAS Internal1",
   74                 "MIC BIAS Internal1", "Digital Mic2";
   75 
   76         /* I2S - Internal codec */
   77         internal-dai-link@0 {
   78                 cpu { /* PRIMARY */
   79                         sound-dai = <&lpass MI2S_PRIMARY>;
   80                 };
   81                 codec {
   82                         sound-dai = <&lpass_codec 0>, <&wcd_codec 0>;
   83                 };
   84         };
   85 
   86         /* External Primary or External Secondary -ADV7533 HDMI */
   87         external-dai-link@0 {
   88                 link-name = "ADV7533";
   89                 cpu { /* QUAT */
   90                         sound-dai = <&lpass MI2S_QUATERNARY>;
   91                 };
   92                 codec {
   93                         sound-dai = <&adv_bridge 0>;
   94                 };
   95         };
   96 };

Cache object: 717a31e550ce6709f62d03db82d1db00


[ 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.