From patchwork Sat Oct 19 07:02:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tzung-Bi Shih X-Patchwork-Id: 1179769 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="Zj28yV8M"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 46wDRt2cs1z9sPK for ; Sat, 19 Oct 2019 18:04:58 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726142AbfJSHDu (ORCPT ); Sat, 19 Oct 2019 03:03:50 -0400 Received: from mail-pf1-f201.google.com ([209.85.210.201]:54031 "EHLO mail-pf1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725980AbfJSHD0 (ORCPT ); Sat, 19 Oct 2019 03:03:26 -0400 Received: by mail-pf1-f201.google.com with SMTP id x10so6371323pfr.20 for ; Sat, 19 Oct 2019 00:03:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=jlOtWXCNhHtlDG+k17B3fk8K3J30slAGte+uW0UmF+E=; b=Zj28yV8MdULZozKF/ciYqHOiJNUsZuYg6lzBq/c7cRDga/k0ZyF94c3VRnllYQzJFN WvooI71td9MPxNhl0g++L3A1QdERbBBpet5NvI30B7vkdpVEy/nfXMWuVvrjgRFYGia+ wv8n437eF9DwM6eG5+cn/fWxfSH7hGmYmYt9zzFc+bfO37Cor3XbweS8a5wOm/sBr3/c 8ia0J85/f6knnD3ReK3N2qSqHyfh/+6xlqd5ko1TpsHtv2PDXHT9VUw4RWuo5FCrkFWR QPi0YY/zRUM2eONtUgKQnuclfMlqIaXJeCb6uvdS1WLNQL4vvdSpA2Lsj1kuwGMYmDFP aMFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=jlOtWXCNhHtlDG+k17B3fk8K3J30slAGte+uW0UmF+E=; b=EJMl5g78Qkr8qEZYft3Uku68ZMz8B7Rhfwb5hhEEibYqVJJOiaN9xv1sYrqjhRF1BD BmAYVoQV+gXjQvgRjf5kqMNS0AIvO/4F3EbnjRC4+i0uK4+SCsgoNNdi63IkHJoKkEMK jhJZsbrDBIPZDgXpXXo4g46OsHdT0ptZaBu2XNIvKV348Meu8f7t52ajupuW/fkeApMm dI/a8t51ts0ASfszpZMMe4jinU8erugEuzzE1CiOeqcHSdDCRVtnEiGyXP7i7ATFr74i vZlc/SOHgebiOSxccHluQvtAIfvbCPraRWN7X9W9KjZQfje6sxpKjKGSfCvMQRFi7jzW 5qxA== X-Gm-Message-State: APjAAAX6gq/lGA39863rKNijVtn2Neg1ETQvjDRZgIVuLvgCypUJ27VY iwfDTmD26IobrWpHdD1Y2P7VJaFVmlKq X-Google-Smtp-Source: APXvYqx3MAr9bPPwbRL5AclIQKxFR+7nucK3CkegVw1UL1Ev5Bs31ronYhQEQ5GPP5Uoceu3Rg3QMDMUu9wx X-Received: by 2002:a63:f810:: with SMTP id n16mr14032502pgh.176.1571468604085; Sat, 19 Oct 2019 00:03:24 -0700 (PDT) Date: Sat, 19 Oct 2019 15:02:53 +0800 In-Reply-To: <20191019070254.23870-1-tzungbi@google.com> Message-Id: <20191019143504.3.Iec97a3f137148cdf316056612590b3e0b302f5f3@changeid> Mime-Version: 1.0 References: <20191019070254.23870-1-tzungbi@google.com> X-Mailer: git-send-email 2.23.0.866.gb869b98d4c-goog Subject: [PATCH v5 3/4] ASoC: dt-bindings: mt8183: add ec-codec From: Tzung-Bi Shih To: broonie@kernel.org Cc: alsa-devel@alsa-project.org, robh+dt@kernel.org, devicetree@vger.kernel.org, enric.balletbo@collabora.com, bleung@google.com, gwendal@google.com, drinkcat@google.com, cychiang@google.com, dgreid@google.com, tzungbi@google.com, Rob Herring Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add an optional property "ec-codec". If specified, mt8183 could use the "wake on voice" feature offered by EC codec. Acked-by: Rob Herring Signed-off-by: Tzung-Bi Shih --- .../bindings/sound/mt8183-mt6358-ts3a227-max98357.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/mt8183-mt6358-ts3a227-max98357.txt b/Documentation/devicetree/bindings/sound/mt8183-mt6358-ts3a227-max98357.txt index 17ff3892f439..decaa013a07e 100644 --- a/Documentation/devicetree/bindings/sound/mt8183-mt6358-ts3a227-max98357.txt +++ b/Documentation/devicetree/bindings/sound/mt8183-mt6358-ts3a227-max98357.txt @@ -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>; };