From patchwork Tue Nov 27 12:00:40 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: 10700293 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 7A40313AD for ; Tue, 27 Nov 2018 12:02:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 68AC12AFCD for ; Tue, 27 Nov 2018 12:02:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5CAB72AFE4; Tue, 27 Nov 2018 12:02:43 +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 1224B2AFC7 for ; Tue, 27 Nov 2018 12:02:42 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id F2106267A90; Tue, 27 Nov 2018 13:02:40 +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 2F143267ACB; Tue, 27 Nov 2018 13:02:38 +0100 (CET) Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by alsa0.perex.cz (Postfix) with ESMTP id 48601267A90 for ; Tue, 27 Nov 2018 13:02:35 +0100 (CET) Received: by mail-pg1-f196.google.com with SMTP id w7so7757392pgp.13 for ; Tue, 27 Nov 2018 04:02:35 -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=48JQhctEJOoIDWxAa76+1Gc2OHJ05xQ1fJBQHON4z9Q=; b=NiQKl+6swRF51v8ax65q0KNW369dXl08FhBgedrF+JwaJ8y4wjEulJkfmQJGiPaB+g RC/u2aBKEyq6hV7jwDNmQZ+Rj5k6xq/BBzX4puGi2Zq8IsdIMM78nfOFvzb1WnCSQVCC gUtNHwocybIfmVRZqSWs+NVuFs62MTKk721bo= 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=48JQhctEJOoIDWxAa76+1Gc2OHJ05xQ1fJBQHON4z9Q=; b=DNSXXqwioK8PW8p1BHDYNsporKvSRRWxg4V58GSQlbUwGrsEam4WpV95nwhkP4sOwQ +9Q1HXzutKR9lMg8AFzHcwB259XSF4430HhhmYvP8k/ZDCxGTWpiVMHEIyZOjgG9QSIU 8EkLEKiWxRskBgro2DnuG9cghkps0FtIHTovZPmVlLIRQw1X5vlWekpgXITzBc1PUwYt u4dr6h6yyLi66xrRpNKi+RTkM247oFbA2Russ7IkC04NkmoRS6VqrL5bnxfJFF0UaMCN CuSOQGDlTnizrpcBBRAPG/X0IvxwM2GsdmQthfQWxPKHgtTElFIBVo6nSrT4/stZH5VL vF/w== X-Gm-Message-State: AGRZ1gJ6rAXLODVE/Y3hZgcLKEXIUy21mA/bZjvrSAoD5LQHVOWkilae TCdoPfYrK1mTKj7ey8oZ9jUZ2w== X-Google-Smtp-Source: AJdET5dupqCEC+w7EsbNX+X6sXfpAqLEErWP4qzuG6gzZlCw1uJEHTSE6Q8Nw0b99i55WZY0Zrue5g== X-Received: by 2002:a62:32c4:: with SMTP id y187-v6mr32619461pfy.4.1543320154963; Tue, 27 Nov 2018 04:02:34 -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 m85sm8312778pfj.171.2018.11.27.04.02.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Nov 2018 04:02:34 -0800 (PST) From: Cheng-Yi Chiang To: linux-kernel@vger.kernel.org Date: Tue, 27 Nov 2018 20:00:40 +0800 Message-Id: <20181127120041.90759-2-cychiang@chromium.org> X-Mailer: git-send-email 2.20.0.rc0.387.gc7a69e6b6c-goog In-Reply-To: <20181127120041.90759-1-cychiang@chromium.org> References: <20181127120041.90759-1-cychiang@chromium.org> MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, tzungbi@chromium.org, Mark Brown , Rohit kumar , dgreid@chromium.org, Cheng-Yi Chiang Subject: [alsa-devel] [PATCH 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 --- .../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 91b4218195aac..5cf8ab296cc61 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3552,6 +3552,11 @@ S: Maintained T: git git://git.kernel.org/pub/scm/linux/kernel/git/bleung/chrome-platform.git F: drivers/platform/chrome/ +CHROME 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