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/google,sc7180-trogdor.yaml

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-only OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/sound/google,sc7180-trogdor.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Google SC7180-Trogdor ASoC sound card driver
    8 
    9 maintainers:
   10   - Rohit kumar <rohitkr@codeaurora.org>
   11   - Cheng-Yi Chiang <cychiang@chromium.org>
   12 
   13 description:
   14   This binding describes the SC7180 sound card which uses LPASS for audio.
   15 
   16 properties:
   17   compatible:
   18     enum:
   19       - google,sc7180-trogdor
   20       - google,sc7180-coachz
   21 
   22   audio-routing:
   23     $ref: /schemas/types.yaml#/definitions/non-unique-string-array
   24     description:
   25       A list of the connections between audio components. Each entry is a
   26       pair of strings, the first being the connection's sink, the second
   27       being the connection's source.
   28 
   29   model:
   30     $ref: /schemas/types.yaml#/definitions/string
   31     description: User specified audio sound card name
   32 
   33   "#address-cells":
   34     const: 1
   35 
   36   "#size-cells":
   37     const: 0
   38 
   39   dmic-gpios:
   40     maxItems: 1
   41     description: GPIO for switching between DMICs
   42 
   43 patternProperties:
   44   "^dai-link(@[0-9])?$":
   45     description:
   46       Each subnode represents a dai link. Subnodes of each dai links would be
   47       cpu/codec dais.
   48 
   49     type: object
   50 
   51     properties:
   52       link-name:
   53         description: Indicates dai-link name and PCM stream name.
   54         $ref: /schemas/types.yaml#/definitions/string
   55         maxItems: 1
   56 
   57       reg:
   58         maxItems: 1
   59         description: dai link address.
   60 
   61       cpu:
   62         description: Holds subnode which indicates cpu dai.
   63         type: object
   64         properties:
   65           sound-dai:
   66             maxItems: 1
   67 
   68       codec:
   69         description: Holds subnode which indicates codec dai.
   70         type: object
   71         properties:
   72           sound-dai:
   73             maxItems: 1
   74 
   75     required:
   76       - link-name
   77       - cpu
   78       - codec
   79 
   80     additionalProperties: false
   81 
   82 required:
   83   - compatible
   84   - model
   85   - "#address-cells"
   86   - "#size-cells"
   87 
   88 additionalProperties: false
   89 
   90 examples:
   91 
   92   - |
   93     sound {
   94         compatible = "google,sc7180-trogdor";
   95         model = "sc7180-rt5682-max98357a-2mic";
   96 
   97         audio-routing =
   98                     "Headphone Jack", "HPOL",
   99                     "Headphone Jack", "HPOR";
  100 
  101         #address-cells = <1>;
  102         #size-cells = <0>;
  103 
  104         dmic-gpios = <&tlmm 86 0>;
  105 
  106         dai-link@0 {
  107             link-name = "MultiMedia0";
  108             reg = <0>;
  109             cpu {
  110                 sound-dai = <&lpass_cpu 0>;
  111             };
  112 
  113             codec {
  114                 sound-dai = <&alc5682 0>;
  115             };
  116         };
  117 
  118         dai-link@1 {
  119             link-name = "MultiMedia1";
  120             reg = <1>;
  121             cpu {
  122                 sound-dai = <&lpass_cpu 1>;
  123             };
  124 
  125             codec {
  126                 sound-dai = <&max98357a>;
  127             };
  128         };
  129 
  130         dai-link@2 {
  131             link-name = "MultiMedia2";
  132             reg = <2>;
  133             cpu {
  134                 sound-dai = <&lpass_hdmi 0>;
  135             };
  136 
  137             codec {
  138                 sound-dai = <&msm_dp>;
  139             };
  140         };
  141     };

Cache object: 1ae00009369170a668d2bae26746dcf0


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