Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6519878imu; Mon, 21 Jan 2019 10:16:50 -0800 (PST) X-Google-Smtp-Source: ALg8bN4ISHRulJH20vhgWDunza9P9WgT0o0T/BzArkqVc+sernkG1ffOeCWp+jx6blRDFNZbuMAN X-Received: by 2002:a17:902:830a:: with SMTP id bd10mr31165049plb.321.1548094610364; Mon, 21 Jan 2019 10:16:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548094610; cv=none; d=google.com; s=arc-20160816; b=VqF+cU8D2dbSXPufuuspW75FX02GMNNzR8OxMuVrNfh+iFa/f7LUYOXWfm3r714pgz mtySCW7y6xCOs3xOZnvZv5dw+4TD6id2XfVCqu2ZBmsO+gz/9+n7xu5tVdvn0hBVU7MN P0in/gSbjztS/qOqN4uw51O76kY//ENjFZXhrhzoVPVovos+1+lQX2OeUla1Lmptws9j dy1B1ts758LxRHqKjfnfdxvLrjsS9wU82MDMqT4NIH0+jUNmALoQVvRhSX1Als1n4wAK 0N4iYoIDrnmOuECbEdIREn4A7JRaIrMKVpIYBpNVCwGTQDghbjkX/7NJsIOfwwNkZhFd jymw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=vZAuiNZOcMyYu4Sr6tDNzcip58OVo6bIWWJZixreFaw=; b=ivEwENQzan1NhOB+l5jueHYOw+JM7M7POcD01teZfU2qBU3RoMIpt2ziLyI3AIC3Mw +kU6dRGW8DFh1Ygl7yAaFYP90h/4Zvz/XzD2UfFyvAb6KpRLYFDM0k1+uxSXZCRtFmO6 P1oR6OcJkZOL67dBD7PFY/pHuWqrZf4KyPPpATesY4WjJ8vhNc8v9bRwsOly88rKB++n ELPN6/mbQYbs8peXtFY159efJ07bMHXLMv20q27MXNU2tV5YMQwtrAOyJwN1JQQnrvqW Y92pI7R8K//rxQuUUtiUY9l49XRKnq1+o6SJBGTioUtecLcnw2kcTjRqAWEWsfqnPCd6 gAPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="s132RB/F"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x2si12733301pgi.152.2019.01.21.10.16.34; Mon, 21 Jan 2019 10:16:50 -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=pass header.i=@gmail.com header.s=20161025 header.b="s132RB/F"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727721AbfAUSPF (ORCPT + 99 others); Mon, 21 Jan 2019 13:15:05 -0500 Received: from mail-qt1-f193.google.com ([209.85.160.193]:34621 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726837AbfAUSPF (ORCPT ); Mon, 21 Jan 2019 13:15:05 -0500 Received: by mail-qt1-f193.google.com with SMTP id r14so24636042qtp.1; Mon, 21 Jan 2019 10:15:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vZAuiNZOcMyYu4Sr6tDNzcip58OVo6bIWWJZixreFaw=; b=s132RB/FSU4PBSxxGhzRXYz+ytpgZ69csEnMyTanTUASC52t4n9CtLFI1y1VEG7AHv X+/aWAG3yu0pYVpszYqDR025ArstkJxhMdezmuCrdcJwVaD/P8YOa5/H1SKWYd1mkZCI RfJRA6jeuf4ZSz4+oN84QqU78CejxuJBxusS1BtyahXto0yHivehQkCipPA4EbqmM9GV PEfTOeluAnlqihZnNX9F4jVq1Rz0+gJsdQcdpsW2Ht+A5MjkdkxrqU6b7lgnXC4bFOF1 Q3YcXc7e/+HsWlplBjN/Rd3sxYTIJ8PoYfqMBx6APs1ey0sKvkgqSSdrwUfC6xplVc/J Yobw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vZAuiNZOcMyYu4Sr6tDNzcip58OVo6bIWWJZixreFaw=; b=nCrtUN0rqkGg7Y6PHt/8lRvkRYlOEjblMc69vea2d0oBcj2UbFiITbqWG5rIgZVie0 UD6/Ee01debYXCkAlxSz5V0fhAMYGUtkPRM4OwO7ZYeumyVssTI60QRcRwGNSUANb5ly dyScytDcYfBePLpbKIzE3Wb0rH1tOjhU9PZINqLHxbBwilwudTaQxAqp752ctPSnx0MT H28YI0PUK84gECHd6h5Z0KXf+OtOZFunK7eRMBBbdyPfyoJRI8kCyuLOhmOoUSitPP4c J+cSDz7ooL+23MIyedF+0IgA/6EABwxUxinzFGe2qdIf3qLF9jV6eMXu5hOlSF2ZIPei qoBw== X-Gm-Message-State: AJcUukcYNCeQ7rGITPA/3khWICQaP3ZEkV4UJHJViHAB6Kr48lL7Ao4O lkVb8kO/pHA2u9fsAL090Ns1IhBLK1bWdXXa07w= X-Received: by 2002:ac8:2585:: with SMTP id e5mr28015263qte.233.1548094503563; Mon, 21 Jan 2019 10:15:03 -0800 (PST) MIME-Version: 1.0 References: <20190119113332.249720-1-cychiang@chromium.org> In-Reply-To: <20190119113332.249720-1-cychiang@chromium.org> From: Enric Balletbo Serra Date: Mon, 21 Jan 2019 19:14:52 +0100 Message-ID: Subject: Re: [alsa-devel] [PATCH v4 1/2] ASoC: Documentation: Add google, cros-ec-codec To: Cheng-Yi Chiang Cc: linux-kernel , alsa-devel@alsa-project.org, tzungbi@chromium.org, Mark Brown , Rohit kumar , Guenter Roeck , dgreid@chromium.org, "devicetree@vger.kernel.org" , Rob Herring , Mark Rutland Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org + devicetree@vger.kernel.org, Rob Herring and Mark Rutland Missatge de Cheng-Yi Chiang del dia ds., 19 de gen. 2019 a les 12:34: > > Add documentation for Chrome EC codec driver. > > Signed-off-by: Cheng-Yi Chiang > --- > Change in v4: > - Add a property max-dmic-gain so we can configure maximum gain on dmic. > - Add Guenter to the reviewer list. > > .../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 4d04cebb4a71..a5678e4041e9 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -3688,6 +3688,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.321.g9e740568ce-goog > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel