From patchwork Tue Jul 1 02:18:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rongjun Ying X-Patchwork-Id: 4456331 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B81D9BEEAA for ; Tue, 1 Jul 2014 02:22:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EC30F203B8 for ; Tue, 1 Jul 2014 02:22:00 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 6BAC8202FE for ; Tue, 1 Jul 2014 02:21:59 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id AC2A92656CA; Tue, 1 Jul 2014 04:21:57 +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 7193A264F02; Tue, 1 Jul 2014 04:21:16 +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 3839B264F0A; Tue, 1 Jul 2014 04:21:15 +0200 (CEST) Received: from cluster-d.mailcontrol.com (cluster-d.mailcontrol.com [85.115.60.190]) by alsa0.perex.cz (Postfix) with ESMTP id E2D8E265683 for ; Tue, 1 Jul 2014 04:20:44 +0200 (CEST) Received: from shaapppus01.asia.root.pri ([210.13.83.99]) by rly04d.srv.mailcontrol.com (MailControl) with ESMTP id s612KYww003154 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 1 Jul 2014 03:20:37 +0100 Received: from shaasiexc01.ASIA.ROOT.PRI ([10.125.12.84]) by shaapppus01.asia.root.pri (PGP Universal service); Tue, 01 Jul 2014 10:20:40 +0800 X-PGP-Universal: processed; by shaapppus01.asia.root.pri on Tue, 01 Jul 2014 10:20:40 +0800 Received: from shaunxand01.ASIA.ROOT.PRI (10.125.12.180) by asimail.csr.com (10.125.12.88) with Microsoft SMTP Server (TLS) id 14.3.158.1; Tue, 1 Jul 2014 10:20:31 +0800 From: Rongjun Ying To: Mark Brown , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Barry Song , Grant Likely , Rob Herring , , , , , Date: Tue, 1 Jul 2014 10:18:54 +0800 Message-ID: <1404181134-21663-3-git-send-email-rongjun.ying@csr.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1404181134-21663-1-git-send-email-rongjun.ying@csr.com> References: <1404181134-21663-1-git-send-email-rongjun.ying@csr.com> MIME-Version: 1.0 X-Originating-IP: [10.125.12.180] X-Scanned-By: MailControl 28796.38 (www.mailcontrol.com) on 10.68.0.114 Cc: Rongjun Ying Subject: [alsa-devel] [PATCH 2/2] ASoC: sirf: Add device tree binding for the USP audio device 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Rongjun Ying --- .../devicetree/bindings/sound/sirf-usp.txt | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/sirf-usp.txt diff --git a/Documentation/devicetree/bindings/sound/sirf-usp.txt b/Documentation/devicetree/bindings/sound/sirf-usp.txt new file mode 100644 index 0000000..02f85b3 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/sirf-usp.txt @@ -0,0 +1,27 @@ +* SiRF SoC USP module + +Required properties: +- compatible: "sirf,prima2-usp-pcm" +- reg: Base address and size entries: +- dmas: List of DMA controller phandle and DMA request line ordered pairs. +- dma-names: Identifier string for each DMA request line in the dmas property. + These strings correspond 1:1 with the ordered pairs in dmas. + + One of the DMA channels will be responsible for transmission (should be + named "tx") and one for reception (should be named "rx"). + +- clocks: USP controller clock source +- pinctrl-names: Must contain a "default" entry. +- pinctrl-NNN: One property must exist for each entry in pinctrl-names. + +Example: +usp0: usp@b0080000 { + compatible = "sirf,prima2-usp-pcm"; + reg = <0xb0080000 0x10000>; + clocks = <&clks 28>; + dmas = <&dmac1 1>, <&dmac1 2>; + dma-names = "rx", "tx"; + pinctrl-names = "default"; + pinctrl-0 = <&usp0_only_utfs_pins_a>; +}; +