ASoC: mediatek: mt8195: add adsp and dai-link property
authorTrevor Wu <trevor.wu@mediatek.com>
Mon, 29 Nov 2021 14:10:57 +0000 (22:10 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 6 Dec 2021 13:50:16 +0000 (13:50 +0000)
1. adsp phandle can be assigned to the machine driver if adsp is enabled.
2. dai-link supported in the sound card can be specified from DTS.

Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>
Link: https://lore.kernel.org/r/20211129141057.12422-5-trevor.wu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/mt8195-mt6359-rt1019-rt5682.yaml

index e6786de..8f177e0 100644 (file)
@@ -32,6 +32,16 @@ properties:
     $ref: "/schemas/types.yaml#/definitions/phandle"
     description: The phandle of MT8195 HDMI codec node.
 
+  mediatek,adsp:
+    $ref: "/schemas/types.yaml#/definitions/phandle"
+    description: The phandle of MT8195 ADSP platform.
+
+  mediatek,dai-link:
+    $ref: /schemas/types.yaml#/definitions/string-array
+    description:
+      A list of the desired dai-links in the sound card. Each entry is a
+      name defined in the machine driver.
+
 additionalProperties: false
 
 required: