From patchwork Fri Jun 30 11:58:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 9819461 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3DE7E6035F for ; Fri, 30 Jun 2017 12:10:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2EA422865E for ; Fri, 30 Jun 2017 12:10:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2343C28671; Fri, 30 Jun 2017 12:10:26 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9E10628665 for ; Fri, 30 Jun 2017 12:10:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Date: Message-Id:In-Reply-To:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: References:List-Owner; bh=jVFcIe28DCkO8ErNeeEryqDeKCKOgg7p5TTyi3YKO7Q=; b=I66 7QtpkgFOrBXdW2vxG1dFEgEImF4o/o/34hRcmkvn/uxDRIhwv/XgNdwFdlIwpi91Mjyp/6WIcBega ueVTDMrV7WaF+K5QpcqZ2uheMZp92NqOxCUXOkFyR/npu0KwE7NwtQjd3Wfq8Uyo7+uMNdnuVAaNO JGK/JkRF7NePsZE84697linPX5j91Ntd1i0v+5A+9RKg3qR2ahCn6Zs+8AILYGH5zOxR7q29pPlW9 dSPfKU1Z+Xw2jlQD4TGP0Fd/0Fufd4ZCwisnNYEhK4oOyf5S4Dz38LfKkCRJcSAS0zR3rDLmpkJiE /gSCzI5VyM5UVhxivFqi2oyJy5xHTAg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dQukb-00042f-9y; Fri, 30 Jun 2017 12:10:17 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dQuaX-0004QF-R9 for linux-arm-kernel@bombadil.infradead.org; Fri, 30 Jun 2017 11:59:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Subject:Date:Message-Id:In-Reply-To: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=IUcVsm8V5swHRF9Eq6T+O+HP19XAurM1bUivdAsffc8=; b=JwJzDsBH9wl/mXy0PIbKel35jA y3HyBwsz0EJjlGrFaLObVW36TXYcv4+WAMCp5qDgumseG57gaOutfdgKNcYpE+ogCLuHMG3yujSrB QwuSgX+aFd5hNnEWICkgqM41r9L6AOHjSzGdFQeMF4NkZ0NFRpiG4yK9aw77EkBVr6of5sxzQaIkd mB8bLv8wkIjCYc6iLqbaEd4sT/hr92cZo8tnpBQgN88+0pz/bqS3p4LRvlf1DMB/skdCwv/VcKezd 066/4ybSYJsXb1bJpuEwWpNAS2e4FhOjaqOP0ejG/DWgB0AYqJzwBjLsFLT14JHc9RRcwqp53lkC4 ccNy/RQg==; Received: from mezzanine.sirena.org.uk ([2400:8900::f03c:91ff:fedb:4f4]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dQuaU-0002B3-MA for linux-arm-kernel@lists.infradead.org; Fri, 30 Jun 2017 11:59:52 +0000 Received: from [176.12.107.140] (helo=finisterre) by mezzanine.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1dQuZh-0001Kf-SF; Fri, 30 Jun 2017 11:59:04 +0000 Received: from broonie by finisterre with local (Exim 4.89) (envelope-from ) id 1dQuZd-0007yL-PG; Fri, 30 Jun 2017 12:58:57 +0100 From: Mark Brown To: Shawn Guo In-Reply-To: <1498742798-3128-2-git-send-email-shawnguo@kernel.org> Message-Id: Date: Fri, 30 Jun 2017 12:58:57 +0100 X-SA-Exim-Connect-IP: 176.12.107.140 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Applied "ASoC: audio-graph-card: update bindings for amplifier support" to the asoc tree X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: No (on mezzanine.sirena.org.uk); Unknown failure X-Bad-Reply: In-Reply-To but no 'Re:' in Subject. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170630_125950_966234_4E578E1F X-CRM114-Status: GOOD ( 16.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Kuninori Morimoto , Baoyou Xie , Rob Herring , Mark Brown , Xin Zhou , Jun Nie , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The patch ASoC: audio-graph-card: update bindings for amplifier support has been applied to the asoc tree at git://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 a0c683d734e0b3589892c17d0e1187f20d2c3a54 Mon Sep 17 00:00:00 2001 From: Shawn Guo Date: Thu, 29 Jun 2017 21:26:37 +0800 Subject: [PATCH] ASoC: audio-graph-card: update bindings for amplifier support The audio-graph-card should be able to support widgets and routing in the same way as what simple-audio-card does. The patch adds the properties into audio-graph-card bindings. Then an optional property 'pa-gpios' for controlling external amplifier, which depends on DAPM widgets and routing, is added. Signed-off-by: Shawn Guo Signed-off-by: Mark Brown --- Documentation/devicetree/bindings/sound/audio-graph-card.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/audio-graph-card.txt b/Documentation/devicetree/bindings/sound/audio-graph-card.txt index bac4b1b1060f..6e6720aa33f1 100644 --- a/Documentation/devicetree/bindings/sound/audio-graph-card.txt +++ b/Documentation/devicetree/bindings/sound/audio-graph-card.txt @@ -10,6 +10,8 @@ see ${LINUX}/Documentation/devicetree/bindings/sound/simple-card.txt Below are same as Simple-Card. - label +- widgets +- routing - dai-format - frame-master - bitclock-master @@ -24,6 +26,9 @@ Required properties: - compatible : "audio-graph-card"; - dais : list of CPU DAI port{s} +Optional properties: +- pa-gpios: GPIO used to control external amplifier. + Example: Single DAI case sound_card {