From patchwork Mon Apr 28 12:17:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Roese X-Patchwork-Id: 4077831 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 DB39F9F169 for ; Mon, 28 Apr 2014 13:51:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7564F202AE for ; Mon, 28 Apr 2014 13:51:47 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 32A3020219 for ; Mon, 28 Apr 2014 13:51:46 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 4580B264F34; Mon, 28 Apr 2014 15:51:45 +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.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 8F12A261A84; Mon, 28 Apr 2014 15:48:12 +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 D5B8B261A33; Mon, 28 Apr 2014 14:18:03 +0200 (CEST) Received: from mo4-p05-ob.smtp.rzone.de (mo4-p05-ob.smtp.rzone.de [81.169.146.180]) by alsa0.perex.cz (Postfix) with ESMTP id 563312619E9 for ; Mon, 28 Apr 2014 14:17:57 +0200 (CEST) X-RZG-AUTH: :IW0NeWC7b/q2i6W/qstXb1SBUuFnrGohfvxEndrDXKjzPMsB3oimjD61I4fPQhgcxGt3 X-RZG-CLASS-ID: mo05 Received: from stefan-work.domain_not_set.invalid (b9168f24.cgn.dg-w.de [185.22.143.36]) by post.strato.de (RZmta 32.39 AUTH) with ESMTPA id 6020b3q3SCHjO3K; Mon, 28 Apr 2014 14:17:45 +0200 (CEST) From: Stefan Roese To: alsa-devel@alsa-project.org, linux-omap@vger.kernel.org Date: Mon, 28 Apr 2014 14:17:56 +0200 Message-Id: <1398687476-10829-5-git-send-email-sr@denx.de> X-Mailer: git-send-email 1.9.2 In-Reply-To: <1398687476-10829-1-git-send-email-sr@denx.de> References: <1398687476-10829-1-git-send-email-sr@denx.de> X-Mailman-Approved-At: Mon, 28 Apr 2014 15:48:08 +0200 Cc: broonie@kernel.org, Thorsten Eisbein Subject: [alsa-devel] [PATCH 5/5] ASoC: omap: Add DT bindings documentation for HA DSP audio driver 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 Signed-off-by: Stefan Roese Cc: Thorsten Eisbein --- .../devicetree/bindings/sound/omap3-ha.txt | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/omap3-ha.txt diff --git a/Documentation/devicetree/bindings/sound/omap3-ha.txt b/Documentation/devicetree/bindings/sound/omap3-ha.txt new file mode 100644 index 0000000..09eccda --- /dev/null +++ b/Documentation/devicetree/bindings/sound/omap3-ha.txt @@ -0,0 +1,27 @@ +OMAP3 HA (HEAD acoustics) audio controller + +Required properties: +- compatible: "ha,ha-dsp-card" for OMAP3-HA board (TAO3530 based) +- ti,model: Name of the sound card (for example "omap3-ha") +- ti,mcbsp: phandle for the McBSP node +- ti,codec: phandle for the twl4030 audio node +- gpios: GPIO used to sync the clock for playback and record + +Optional properties: +- ha_dsp_codec_slave: + Add this property to test the codec in slave mode or without actual codec. + This makes it possible to test this driver by letting the OMAP be the DAI + link master. + +Example: +sound2 { + compatible = "ha,ha-dsp-card"; + ti,model = "omap3-ha"; + + /* McBSP3 is used for HA-DSP */ + ti,mcbsp = <&mcbsp3>; + ti,codec = <&soc_audio>; + + /* GPIO to sync the clock for playback and record */ + gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; /* GPIO 44 */ +};