Trevor Wu | 6c8552e | 2021-10-20 15:14:28 +0800 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/sound/mt8195-mt6359-rt1011-rt5682.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Mediatek MT8195 with MT6359, RT1011 and RT5682 ASoC sound card driver |
| 8 | |
| 9 | maintainers: |
| 10 | - Trevor Wu <trevor.wu@mediatek.com> |
| 11 | |
| 12 | description: |
| 13 | This binding describes the MT8195 sound card with RT1011 and RT5682. |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | const: mediatek,mt8195_mt6359_rt1011_rt5682 |
| 18 | |
Trevor Wu | 629e44276 | 2021-11-29 22:10:55 +0800 | [diff] [blame] | 19 | model: |
| 20 | $ref: /schemas/types.yaml#/definitions/string |
| 21 | description: User specified audio sound card name |
| 22 | |
Trevor Wu | 6c8552e | 2021-10-20 15:14:28 +0800 | [diff] [blame] | 23 | mediatek,platform: |
| 24 | $ref: "/schemas/types.yaml#/definitions/phandle" |
| 25 | description: The phandle of MT8195 ASoC platform. |
| 26 | |
| 27 | mediatek,dptx-codec: |
| 28 | $ref: "/schemas/types.yaml#/definitions/phandle" |
| 29 | description: The phandle of MT8195 Display Port Tx codec node. |
| 30 | |
| 31 | mediatek,hdmi-codec: |
| 32 | $ref: "/schemas/types.yaml#/definitions/phandle" |
| 33 | description: The phandle of MT8195 HDMI codec node. |
| 34 | |
| 35 | additionalProperties: false |
| 36 | |
| 37 | required: |
| 38 | - compatible |
| 39 | - mediatek,platform |
| 40 | |
| 41 | examples: |
| 42 | - | |
| 43 | |
| 44 | sound: mt8195-sound { |
| 45 | compatible = "mediatek,mt8195_mt6359_rt1011_rt5682"; |
| 46 | mediatek,platform = <&afe>; |
| 47 | pinctrl-names = "default"; |
| 48 | pinctrl-0 = <&aud_pins_default>; |
| 49 | }; |
| 50 | |
| 51 | ... |