]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ASoC: Mediatek: Add document for mt8183-da7219-max98357
authorShunli Wang <shunli.wang@mediatek.com>
Fri, 29 Mar 2019 08:34:49 +0000 (16:34 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 1 Apr 2019 08:05:54 +0000 (15:05 +0700)
This patch adds document for the machine board with
mt6358, da7219 and max98357 codecs.

Signed-off-by: Shunli Wang <shunli.wang@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/mt8183-da7219-max98357.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/sound/mt8183-da7219-max98357.txt b/Documentation/devicetree/bindings/sound/mt8183-da7219-max98357.txt
new file mode 100644 (file)
index 0000000..92ac86f
--- /dev/null
@@ -0,0 +1,15 @@
+MT8183 with MT6358, DA7219 and MAX98357 CODECS
+
+Required properties:
+- compatible : "mediatek,mt8183_da7219_max98357"
+- mediatek,headset-codec: the phandles of da7219 codecs
+- mediatek,platform: the phandle of MT8183 ASoC platform
+
+Example:
+
+       sound {
+               compatible = "mediatek,mt8183_da7219_max98357";
+               mediatek,headset-codec = <&da7219>;
+               mediatek,platform = <&afe>;
+       };
+