From patchwork Fri Jun 20 08:03:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 4401331 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8E1169F1D6 for ; Mon, 23 Jun 2014 10:50:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BA2A42022A for ; Mon, 23 Jun 2014 10:50:22 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 7BC522021A for ; Mon, 23 Jun 2014 10:50:21 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 8D7992654EA; Mon, 23 Jun 2014 12:50:20 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 0DBA42608CF; Mon, 23 Jun 2014 12:49:42 +0200 (CEST) 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 32B0A261A0D; Fri, 20 Jun 2014 10:06:50 +0200 (CEST) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by alsa0.perex.cz (Postfix) with ESMTP id 22F3F2619D9 for ; Fri, 20 Jun 2014 10:06:43 +0200 (CEST) Received: by mail-pb0-f50.google.com with SMTP id rp16so2884566pbb.9 for ; Fri, 20 Jun 2014 01:06:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=1dh5zGYxcLba1NRJuvBDmew5OfHKK7747bN5UL71p0M=; b=knrMxnlbewOvnHFSQDvYyAs1EPGv8KRI0v4psmb2GIjEOFFZyaiPyYO+6PYgEBHmoa UMgOmopyss9E23f0LsZVYF1YB8QZyVcgvBKFcL/tt8AlrI+hKpnjB3x0BtEb1ykuA3Hy MSPte2VuiKvexxU+qaOledYWIR1ya7dK6zn4Js3r/SosvIJqo1lNCBxCL+v8RSyTIlrZ sUpq3CsQOKNO+NziB1d9mHYhOYWgE/uiQGVMjGrLLZFBaE250eHDAXgnSNqfuZS/6eg8 HpqH33lxaIFZ9Im19h2+Cqb0Eib63L+6aBh29HBmxieQ61tS3jKx+wstJ87Pcfh+U2Xw DFTw== X-Received: by 10.68.163.100 with SMTP id yh4mr2471685pbb.122.1403251600756; Fri, 20 Jun 2014 01:06:40 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id rc3sm12188937pbc.5.2014.06.20.01.06.35 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 20 Jun 2014 01:06:40 -0700 (PDT) From: Tushar Behera To: linux-samsung-soc@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Date: Fri, 20 Jun 2014 13:33:16 +0530 Message-Id: <1403251396-17487-2-git-send-email-tushar.b@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1403251396-17487-1-git-send-email-tushar.b@samsung.com> References: <1403251396-17487-1-git-send-email-tushar.b@samsung.com> X-Mailman-Approved-At: Mon, 23 Jun 2014 12:49:40 +0200 Cc: mark.rutland@arm.com, kgene.kim@samsung.com, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, tiwai@suse.de, dianders@chromium.org, robh+dt@kernel.org, lgirdwood@gmail.com, trblinux@gmail.com, broonie@kernel.org, galak@codeaurora.org Subject: [alsa-devel] [PATCH 2/2] ASoC: samsung: Extend snow driver to support MAX98091 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Peach-pi board has MAX98091 CODEC. Extend snow machine driver to support this board. Signed-off-by: Tushar Behera --- Documentation/devicetree/bindings/sound/snow.txt | 1 + sound/soc/samsung/snow.c | 1 + 2 files changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/snow.txt b/Documentation/devicetree/bindings/sound/snow.txt index 678b191..e0b7a82 100644 --- a/Documentation/devicetree/bindings/sound/snow.txt +++ b/Documentation/devicetree/bindings/sound/snow.txt @@ -3,6 +3,7 @@ Audio Binding for Snow boards Required properties: - compatible : Can be one of the following, "google,snow-audio-max98090" or + "google,snow-audio-max98091" or "google,snow-audio-max98095" - samsung,i2s-controller: The phandle of the Samsung I2S controller - samsung,audio-codec: The phandle of the audio codec diff --git a/sound/soc/samsung/snow.c b/sound/soc/samsung/snow.c index 014c177..8bbd348 100644 --- a/sound/soc/samsung/snow.c +++ b/sound/soc/samsung/snow.c @@ -103,6 +103,7 @@ static int snow_probe(struct platform_device *pdev) static const struct of_device_id snow_of_match[] = { { .compatible = "google,snow-audio-max98090", }, + { .compatible = "google,snow-audio-max98091", }, { .compatible = "google,snow-audio-max98095", }, {}, };