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/mt8186-mt6366-da7219-max98357.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/mt8186-mt6366-da7219-max98357.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Mediatek MT8186 with MT6366, DA7219 and MAX98357 ASoC sound card driver
    8 
    9 maintainers:
   10   - Jiaxin Yu <jiaxin.yu@mediatek.com>
   11 
   12 description:
   13   This binding describes the MT8186 sound card.
   14 
   15 properties:
   16   compatible:
   17     enum:
   18       - mediatek,mt8186-mt6366-da7219-max98357-sound
   19 
   20   mediatek,platform:
   21     $ref: "/schemas/types.yaml#/definitions/phandle"
   22     description: The phandle of MT8186 ASoC platform.
   23 
   24   headset-codec:
   25     type: object
   26     additionalProperties: false
   27     properties:
   28       sound-dai:
   29         maxItems: 1
   30     required:
   31       - sound-dai
   32 
   33   playback-codecs:
   34     type: object
   35     additionalProperties: false
   36     properties:
   37       sound-dai:
   38         items:
   39           - description: phandle of dp codec
   40           - description: phandle of l channel speaker codec
   41           - description: phandle of r channel speaker codec
   42         minItems: 2
   43     required:
   44       - sound-dai
   45 
   46 additionalProperties: false
   47 
   48 required:
   49   - compatible
   50   - mediatek,platform
   51   - headset-codec
   52   - playback-codecs
   53 
   54 examples:
   55   - |
   56 
   57     sound: mt8186-sound {
   58         compatible = "mediatek,mt8186-mt6366-da7219-max98357-sound";
   59         mediatek,platform = <&afe>;
   60         pinctrl-names = "aud_clk_mosi_off",
   61                         "aud_clk_mosi_on";
   62         pinctrl-0 = <&aud_clk_mosi_off>;
   63         pinctrl-1 = <&aud_clk_mosi_on>;
   64 
   65         headset-codec {
   66             sound-dai = <&da7219>;
   67         };
   68 
   69         playback-codecs {
   70             sound-dai = <&anx_bridge_dp>,
   71                         <&max98357a>;
   72         };
   73     };
   74 
   75 ...

Cache object: 25a9466640af488b9ea5ae3d8ab27b04


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