ASoC: mediatek: mt8195: add model property
authorTrevor Wu <trevor.wu@mediatek.com>
Mon, 29 Nov 2021 14:10:55 +0000 (22:10 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 6 Dec 2021 13:50:08 +0000 (13:50 +0000)
This patch adds the description of model property used to specify card
name from dts.

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

index d354c30..cf6ad79 100644 (file)
@@ -16,6 +16,10 @@ properties:
   compatible:
     const: mediatek,mt8195_mt6359_rt1011_rt5682
 
+  model:
+    $ref: /schemas/types.yaml#/definitions/string
+    description: User specified audio sound card name
+
   mediatek,platform:
     $ref: "/schemas/types.yaml#/definitions/phandle"
     description: The phandle of MT8195 ASoC platform.
index 20bc0ff..e6786de 100644 (file)
@@ -16,6 +16,10 @@ properties:
   compatible:
     const: mediatek,mt8195_mt6359_rt1019_rt5682
 
+  model:
+    $ref: /schemas/types.yaml#/definitions/string
+    description: User specified audio sound card name
+
   mediatek,platform:
     $ref: "/schemas/types.yaml#/definitions/phandle"
     description: The phandle of MT8195 ASoC platform.