From patchwork Thu Jun 29 13:26:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 106647 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1096753qge; Thu, 29 Jun 2017 06:27:22 -0700 (PDT) X-Received: by 10.84.128.195 with SMTP id a61mr3856814pla.124.1498742842598; Thu, 29 Jun 2017 06:27:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498742842; cv=none; d=google.com; s=arc-20160816; b=JCQFV1nMWibO90WpAu7XeggUIwqEjIXFOV7Dl0LmXa8xUoCklutXsPOIZKBCEovp5Q MHTdk0AcBV2oIQHZN/5UKP8lamSoX8fyGweNhQCjL1ce9afZMp0DFEmYEMUIsbINy6cu NEUw4HxKR0+iYFB/bLOZFOlSD4hX9jC0M8MUGIxpe68SpR5VN8bOOCklhNIi0EhsPuIh DsyN72+jm6SCqfi+ZvCizy9mrcoy9tFyu5IkHT49DqRAVoxwwV5dUH9hseJKmHknCBzu VJ9yEbFjwSeWNsE/6QQ/vxBzI5FgA61XSMqFHey2xWShHfdjdM2pEyTlSZwpP68ebXL3 h97w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:arc-authentication-results; bh=CZIZ0sgXipAbZAgw2JgMOezg7L+QHxQe1Ko1P5kVNnQ=; b=xRUGYS4cStJcgLvGpB9iZxmFII7u1WARtVz7HWuB8/LkKcpBaXVxC+S+Ts8sRulfBP JU2QaCh/y3bsFdEUsg/+Oj2Ml50gfwXLtoQhYIz8tKwSJiJ529U59ebC3qtwvvNUUaHz g6xoavA8xS6zJj+XmS5L+gzlGzgQSYrQeMY11a7pv2FKie5bJejjjGR6z8lNPQc+vM72 LDqMmhEmYOKYUYy2mq2Q/5yv4ecAKMyDrtgBvTHLLxdjrMkrGHFHGMU+dd4gHjZgA4C3 ZPN60LR50q1wuk4Is4jePbpr1p0lgYurD9T6H5qErmnceTk7wC1Lle4LZMTm9WUJKdQt oQLA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r6si4081756plj.137.2017.06.29.06.27.22; Thu, 29 Jun 2017 06:27:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752787AbdF2N1V (ORCPT + 7 others); Thu, 29 Jun 2017 09:27:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:32882 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752614AbdF2N1V (ORCPT ); Thu, 29 Jun 2017 09:27:21 -0400 Received: from localhost.localdomain (li411-102.members.linode.com [106.187.91.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6825122BD8; Thu, 29 Jun 2017 13:27:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6825122BD8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=shawnguo@kernel.org From: Shawn Guo To: Mark Brown , Rob Herring Cc: Kuninori Morimoto , Baoyou Xie , Xin Zhou , Jun Nie , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Shawn Guo Subject: [PATCH 1/2] ASoC: audio-graph-card: update bindings for amplifier support Date: Thu, 29 Jun 2017 21:26:37 +0800 Message-Id: <1498742798-3128-2-git-send-email-shawnguo@kernel.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1498742798-3128-1-git-send-email-shawnguo@kernel.org> References: <1498742798-3128-1-git-send-email-shawnguo@kernel.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Shawn Guo 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 --- Documentation/devicetree/bindings/sound/audio-graph-card.txt | 5 +++++ 1 file changed, 5 insertions(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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 {