From patchwork Wed Dec 26 07:03:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cheng-yi Chiang X-Patchwork-Id: 10742853 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C9D7D14E2 for ; Wed, 26 Dec 2018 07:08:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E84428981 for ; Wed, 26 Dec 2018 07:08:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7936D28998; Wed, 26 Dec 2018 07:08:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 60FB028981 for ; Wed, 26 Dec 2018 07:08:13 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 983CF267ABF; Wed, 26 Dec 2018 08:08:11 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id CDB60267AC2; Wed, 26 Dec 2018 08:08:08 +0100 (CET) Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by alsa0.perex.cz (Postfix) with ESMTP id E6AED267A78 for ; Wed, 26 Dec 2018 08:08:02 +0100 (CET) Received: by mail-pf1-f194.google.com with SMTP id w73so7524242pfk.10 for ; Tue, 25 Dec 2018 23:08:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zcoSEGjxuSEIrQl28ukO3J49sznU0Pd5P50+ubK9Lzg=; b=ZyBcGx2kmDyK/0rg9iq+w+JRwojWCpeKv8hvtUW0JDNJoKbD8j4Ag3DdPm9CdA/KRF zpHQo3b13c/pPR5gcYg5K/1RnsTIy5Vin11XXAr4F0VOEuLP8KoASpfJlIuiclEGqLwC tsDk/6kS8Vxqldo6KBlOm8F8crYdvnPlsrJMs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zcoSEGjxuSEIrQl28ukO3J49sznU0Pd5P50+ubK9Lzg=; b=bT3am/naH8+M5w/fvJk4/j/TIz21bzIlKfFhqZvqR+DGtnRk15TSvc3ZbuEzvtjXK4 LJI4wbB/uM73pb/KaRBiC0XcZPw5O8QDqwopFPPPbnedLihbuL0GuTCwKzAK1EA8bSjn uAaGMG+gEyXImPMIps2zyyoPQG9XcjUZ/Wz7VxENtPTNaFdkZcmxEZjV1r9vv/sH7l5l jToeYMXA44S0W3UJ4resQauWKC+1qBoYyd8+fEk/str3nqq+hsA4MQ8iR+7BJGqNuaXV QSrsIK+KVy12/p/v8CLtMSgxpgV0d0AdbcU5y2d6PmCUdMJplHlsVMuZ2utmclj0DA+h 15wQ== X-Gm-Message-State: AJcUukdnsrCGMMp+Q6Mc1lRUGZXfVga09m20W01jDeJ9LhhZMQDHiP+N kFOJAgfQJfJZm6Z426ZS1wMLpQ== X-Google-Smtp-Source: ALg8bN7043geOiN9UCs/Tc40EIah7I3ZphDJS7YfCTd667VtM+RqSog4xgc/D5mvK6aN0a/Wq8zqzg== X-Received: by 2002:a63:8b41:: with SMTP id j62mr18191130pge.182.1545808081564; Tue, 25 Dec 2018 23:08:01 -0800 (PST) Received: from cychiang-z840.tpe.corp.google.com ([2401:fa00:1:b:e688:dfd2:a1a7:2956]) by smtp.gmail.com with ESMTPSA id n68sm52966030pfb.62.2018.12.25.23.07.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Dec 2018 23:08:00 -0800 (PST) From: Cheng-Yi Chiang To: linux-kernel@vger.kernel.org Date: Wed, 26 Dec 2018 15:03:17 +0800 Message-Id: <20181226070317.72022-2-cychiang@chromium.org> X-Mailer: git-send-email 2.20.1.415.g653613c723-goog In-Reply-To: <20181226070317.72022-1-cychiang@chromium.org> References: <20181226070317.72022-1-cychiang@chromium.org> MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, tzungbi@chromium.org, Benson Leung , Rob Herring , Mark Brown , Rohit kumar , Guenter Roeck , dgreid@chromium.org, Lee Jones , Cheng-Yi Chiang Subject: [alsa-devel] [PATCH v3 2/3] ASoC: Documentation: Add google, cros-ec-codec X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Add documentation for Chrome EC codec driver. Signed-off-by: Cheng-Yi Chiang --- +Rob Herring for reviewing this patch. Hi Rob, Could you please take a look ? Thanks! .../bindings/sound/google,cros-ec-codec.txt | 24 +++++++++++++++++++ MAINTAINERS | 5 ++++ 2 files changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/google,cros-ec-codec.txt diff --git a/Documentation/devicetree/bindings/sound/google,cros-ec-codec.txt b/Documentation/devicetree/bindings/sound/google,cros-ec-codec.txt new file mode 100644 index 0000000000000..57718382b3a36 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/google,cros-ec-codec.txt @@ -0,0 +1,24 @@ +* Audio codec controlled by ChromeOS EC + +Google's ChromeOS EC codec is a digital mic codec provided by the +Embedded Controller (EC) and is controlled via a host-command interface. + +An EC codec node should only be found as a sub-node of the EC node (see +Documentation/devicetree/bindings/mfd/cros-ec.txt). + +Required properties: +- compatible: Must contain "google,cros-ec-codec" +- #sound-dai-cells: Should be 1. The cell specifies number of DAIs. + +Example: + +cros-ec@0 { + compatible = "google,cros-ec-spi"; + + ... + + cros_ec_codec: ec-codec { + compatible = "google,cros-ec-codec"; + #sound-dai-cells = <1>; + }; +}; diff --git a/MAINTAINERS b/MAINTAINERS index 5b9c6af98283b..05e1922624e58 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3636,6 +3636,11 @@ S: Maintained T: git git://git.kernel.org/pub/scm/linux/kernel/git/bleung/chrome-platform.git F: drivers/platform/chrome/ +CHROMEOS EC CODEC DRIVER +M: Cheng-Yi Chiang +S: Maintained +F: Documentation/devicetree/bindings/sound/google,cros-ec-codec.txt + CIRRUS LOGIC AUDIO CODEC DRIVERS M: Brian Austin M: Paul Handrigan