ASoC: dt-bindings: mt8183: add ec-codec
authorTzung-Bi Shih <tzungbi@google.com>
Sat, 19 Oct 2019 07:02:53 +0000 (15:02 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 21 Oct 2019 12:52:41 +0000 (13:52 +0100)
Add an optional property "ec-codec".  If specified, mt8183 could use the
"wake on voice" feature offered by EC codec.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20191019143504.3.Iec97a3f137148cdf316056612590b3e0b302f5f3@changeid
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/mt8183-mt6358-ts3a227-max98357.txt

index 17ff3892f4391946e708b8efda24dd66756a0b8d..decaa013a07e1d5d77c1bc1d5ac938f5363c52af 100644 (file)
@@ -6,12 +6,15 @@ Required properties:
 
 Optional properties:
 - mediatek,headset-codec: the phandles of ts3a227 codecs
+- mediatek,ec-codec: the phandle of EC codecs.
+                     See google,cros-ec-codec.txt for more details.
 
 Example:
 
        sound {
                compatible = "mediatek,mt8183_mt6358_ts3a227_max98357";
                mediatek,headset-codec = <&ts3a227>;
+               mediatek,ec-codec = <&ec_codec>;
                mediatek,platform = <&afe>;
        };