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