OSDN Git Service

ASoC: Mediatek: Add document for mt8183-mt6358-ts3a227-max98357
authorShunli Wang <shunli.wang@mediatek.com>
Fri, 29 Mar 2019 08:34:47 +0000 (16:34 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 1 Apr 2019 08:04:35 +0000 (15:04 +0700)
This patch adds document for the machine board with
mt6358, ts3a227 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-mt6358-ts3a227-max98357.txt [new file with mode: 0644]

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