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/mt8192-mt6359-rt1015-rt5682.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/mt8192-mt6359-rt1015-rt5682.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Mediatek MT8192 with MT6359, RT1015 and RT5682 ASoC sound card driver
    8 
    9 maintainers:
   10   - Jiaxin Yu <jiaxin.yu@mediatek.com>
   11   - Shane Chien <shane.chien@mediatek.com>
   12 
   13 description:
   14   This binding describes the MT8192 sound card.
   15 
   16 properties:
   17   compatible:
   18     enum:
   19       - mediatek,mt8192_mt6359_rt1015_rt5682
   20       - mediatek,mt8192_mt6359_rt1015p_rt5682
   21       - mediatek,mt8192_mt6359_rt1015p_rt5682s
   22 
   23   mediatek,platform:
   24     $ref: "/schemas/types.yaml#/definitions/phandle"
   25     description: The phandle of MT8192 ASoC platform.
   26 
   27   mediatek,hdmi-codec:
   28     $ref: "/schemas/types.yaml#/definitions/phandle"
   29     description: The phandle of HDMI codec.
   30 
   31   headset-codec:
   32     type: object
   33     properties:
   34       sound-dai:
   35         $ref: /schemas/types.yaml#/definitions/phandle
   36     required:
   37       - sound-dai
   38 
   39   speaker-codecs:
   40     type: object
   41     properties:
   42       sound-dai:
   43         minItems: 1
   44         maxItems: 2
   45         items:
   46           maxItems: 1
   47         $ref: /schemas/types.yaml#/definitions/phandle-array
   48     required:
   49       - sound-dai
   50 
   51 additionalProperties: false
   52 
   53 required:
   54   - compatible
   55   - mediatek,platform
   56   - headset-codec
   57   - speaker-codecs
   58 
   59 examples:
   60   - |
   61 
   62     sound: mt8192-sound {
   63         compatible = "mediatek,mt8192_mt6359_rt1015_rt5682";
   64         mediatek,platform = <&afe>;
   65         mediatek,hdmi-codec = <&anx_bridge_dp>;
   66         pinctrl-names = "aud_clk_mosi_off",
   67                         "aud_clk_mosi_on";
   68         pinctrl-0 = <&aud_clk_mosi_off>;
   69         pinctrl-1 = <&aud_clk_mosi_on>;
   70 
   71         headset-codec {
   72             sound-dai = <&rt5682>;
   73         };
   74 
   75         speaker-codecs {
   76             sound-dai = <&rt1015_l>,
   77                         <&rt1015_r>;
   78         };
   79     };
   80 
   81 ...

Cache object: be5328613b86976bcdda1390895c7dd3


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