1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/sound/mediatek,mt8196-nau8825.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: MediaTek MT8196 ASoC sound card 8 9maintainers: 10 - Darren Ye <darren.ye@mediatek.com> 11 12allOf: 13 - $ref: sound-card-common.yaml# 14 15properties: 16 compatible: 17 enum: 18 - mediatek,mt8196-nau8825-sound 19 - mediatek,mt8196-rt5682s-sound 20 - mediatek,mt8196-rt5650-sound 21 22 mediatek,platform: 23 $ref: /schemas/types.yaml#/definitions/phandle 24 description: The phandle of MT8188 ASoC platform. 25 26patternProperties: 27 "^dai-link-[0-9]+$": 28 type: object 29 description: 30 Container for dai-link level properties and CODEC sub-nodes. 31 32 properties: 33 link-name: 34 description: 35 This property corresponds to the name of the BE dai-link to which 36 we are going to update parameters in this node. 37 items: 38 enum: 39 - TDM_DPTX_BE 40 - I2SOUT6_BE 41 - I2SIN6_BE 42 - I2SOUT4_BE 43 - I2SOUT3_BE 44 45 codec: 46 description: Holds subnode which indicates codec dai. 47 type: object 48 additionalProperties: false 49 properties: 50 sound-dai: 51 minItems: 1 52 maxItems: 2 53 required: 54 - sound-dai 55 56 dai-format: 57 description: audio format. 58 items: 59 enum: 60 - i2s 61 - right_j 62 - left_j 63 - dsp_a 64 - dsp_b 65 66 mediatek,clk-provider: 67 $ref: /schemas/types.yaml#/definitions/string 68 description: Indicates dai-link clock master. 69 enum: 70 - cpu 71 - codec 72 73 additionalProperties: false 74 75 required: 76 - link-name 77 78required: 79 - compatible 80 - mediatek,platform 81 82unevaluatedProperties: false 83 84examples: 85 - | 86 sound { 87 compatible = "mediatek,mt8196-nau8825-sound"; 88 model = "mt8196-nau8825"; 89 mediatek,platform = <&afe>; 90 dai-link-0 { 91 link-name = "I2SOUT6_BE"; 92 dai-format = "i2s"; 93 mediatek,clk-provider = "cpu"; 94 codec { 95 sound-dai = <&nau8825>; 96 }; 97 }; 98 }; 99 100... 101