Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4585935imu; Tue, 29 Jan 2019 04:14:37 -0800 (PST) X-Google-Smtp-Source: ALg8bN4ZAa94pEF5xqb5eBwa4OdsKwbc28eOH3HSA08/f86qlWkYBU8UfZSpNutCZ+hX2qUhoUSh X-Received: by 2002:a17:902:720c:: with SMTP id ba12mr25884505plb.79.1548764077935; Tue, 29 Jan 2019 04:14:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548764077; cv=none; d=google.com; s=arc-20160816; b=Ga/scUEGWE13pRZ4e6GGE3XsJTBkNMjED/THTizslgpLF4s9GM7+ndfSAYcuUVwCaB 15rCH4ZTklrHA1ozTKPzhxFoedYgOgeORq3IIhyXUdk+yDwIAQsqdHlYkuJiZQ5ZkWDC a+HjyEvfKIJtm2J/Smp+gPkGwG9ZilI/zwq1/lbsDn5unR3knfSU2uV5FdTsIyTM0lDY 83sNzMQ/p6NAEm7BNI9OtzbnZEXQ7Pnuq5uE6g/nUleszlGAQ+8FjQC8+X+UhpgUa//H eSocyzAVfgeXbw76q4t3njQ4y1yvydE7MyXFKxxyQGeAyiKF3Ucn6eVTlluI2t9XejTF l2eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=L9NrviBzZNISiu7A7sd2MzTcXsXUFzlBzN9H06B6iOo=; b=0UjkMxYvqMFFDhgZHwsadkhc4bFW3L3NS7dVAwhlua4Ow6K0que5o2RVctuIbmHptl RCDjmqCrr4/+i47jvZN44TvTJB6yvwyN/I22JRKtHmbLfJnNmlW5Wi05q6dIF1PkHnUc 6+EW6N+ERzEcJj9tJ274Gj6EhSXIHxUcfdK6NWUFbb90Z2Fy0vkueAdsHgxWcK95V/ok hIN7+Yw/u1fhnDJVCBVWUQRNw77TO40I/1LZ1WjJ14Ot2tbfeA0yHqNbnZhtZeAC57VO U4oPG64vvL/kpzIEpOBR2aeBwzPEa7okkbpiaVUsPOx6X3TpXp190k/L/HhluvitVaVN EJHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=sctkE6BT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m32si4697637pld.86.2019.01.29.04.14.22; Tue, 29 Jan 2019 04:14:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=sctkE6BT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728688AbfA2MOP (ORCPT + 99 others); Tue, 29 Jan 2019 07:14:15 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:51614 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727264AbfA2MOP (ORCPT ); Tue, 29 Jan 2019 07:14:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=L9NrviBzZNISiu7A7sd2MzTcXsXUFzlBzN9H06B6iOo=; b=sctkE6BTGZkK s+5RZG7jaLoFRKABj7F0eRYxBOcWENsBQwHnEFHMKZQL1j3yAOHtY4k03CAkijtAygrjBQMg0jxH6 0LeJVaPehlmz7w/+fGuWbu063Akv8eZaK1PEaJUEzLto1JNoQwrLjELm4OVAzTbjWuT/kXXRwsTJz EKdZg=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1goSHK-0008AT-2H; Tue, 29 Jan 2019 12:14:10 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id B8B441127D50; Tue, 29 Jan 2019 12:14:09 +0000 (GMT) From: Mark Brown To: Cheng-Yi Chiang Cc: Mark Brown , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, tzungbi@chromium.org, Mark Brown , Rohit kumar , Guenter Roeck , dgreid@chromium.org, alsa-devel@alsa-project.org Subject: Applied "ASoC: Documentation: Add google, cros-ec-codec" to the asoc tree In-Reply-To: <20190119113332.249720-1-cychiang@chromium.org> X-Patchwork-Hint: ignore Message-Id: <20190129121409.B8B441127D50@debutante.sirena.org.uk> Date: Tue, 29 Jan 2019 12:14:09 +0000 (GMT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: Documentation: Add google, cros-ec-codec has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From 494a3503d684b6fc497623bc01e3e16f8def0499 Mon Sep 17 00:00:00 2001 From: Cheng-Yi Chiang Date: Sat, 19 Jan 2019 19:33:31 +0800 Subject: [PATCH] ASoC: Documentation: Add google, cros-ec-codec Add documentation for Chrome EC codec driver. Signed-off-by: Cheng-Yi Chiang Signed-off-by: Mark Brown --- .../bindings/sound/google,cros-ec-codec.txt | 26 +++++++++++++++++++ MAINTAINERS | 7 +++++ 2 files changed, 33 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 000000000000..1084f7f22eea --- /dev/null +++ b/Documentation/devicetree/bindings/sound/google,cros-ec-codec.txt @@ -0,0 +1,26 @@ +* 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. +- max-dmic-gain: A number for maximum gain in dB on digital microphone. + +Example: + +cros-ec@0 { + compatible = "google,cros-ec-spi"; + + ... + + cros_ec_codec: ec-codec { + compatible = "google,cros-ec-codec"; + #sound-dai-cells = <1>; + max-dmic-gain = <43>; + }; +}; diff --git a/MAINTAINERS b/MAINTAINERS index 9f64f8d3740e..3bcc5465e460 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3687,6 +3687,13 @@ N: cros_ec N: cros-ec F: drivers/power/supply/cros_usbpd-charger.c +CHROMEOS EC CODEC DRIVER +M: Cheng-Yi Chiang +S: Maintained +R: Enric Balletbo i Serra +R: Guenter Roeck +F: Documentation/devicetree/bindings/sound/google,cros-ec-codec.txt + CIRRUS LOGIC AUDIO CODEC DRIVERS M: Brian Austin M: Paul Handrigan -- 2.20.1