From patchwork Wed Jul 2 02:45:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rongjun Ying X-Patchwork-Id: 4463151 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 A2EE5BEEAA for ; Wed, 2 Jul 2014 02:48:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DA9EF20379 for ; Wed, 2 Jul 2014 02:48:01 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id B8EBE202F2 for ; Wed, 2 Jul 2014 02:48:00 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id A9C9F26545D; Wed, 2 Jul 2014 04:47:59 +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,NO_DNS_FOR_FROM, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 2C152265335; Wed, 2 Jul 2014 04:47:43 +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 08AC02655F4; Wed, 2 Jul 2014 04:47:42 +0200 (CEST) Received: from cluster-d.mailcontrol.com (cluster-d.mailcontrol.com [85.115.60.190]) by alsa0.perex.cz (Postfix) with ESMTP id EEFDC26527F for ; Wed, 2 Jul 2014 04:47:19 +0200 (CEST) Received: from shaapppus01.asia.root.pri ([210.13.83.99]) by rly09d.srv.mailcontrol.com (MailControl) with ESMTP id s622lBRx007969 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 2 Jul 2014 03:47:15 +0100 Received: from shaasiexc01.ASIA.ROOT.PRI ([10.125.12.84]) by shaapppus01.asia.root.pri (PGP Universal service); Wed, 02 Jul 2014 10:47:18 +0800 X-PGP-Universal: processed; by shaapppus01.asia.root.pri on Wed, 02 Jul 2014 10:47:18 +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; Wed, 2 Jul 2014 10:47:11 +0800 From: Rongjun Ying To: Mark Brown , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Barry Song , Grant Likely , Rob Herring , , , , , Date: Wed, 2 Jul 2014 10:45:42 +0800 Message-ID: <1404269142-3557-3-git-send-email-rongjun.ying@csr.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1404269142-3557-1-git-send-email-rongjun.ying@csr.com> References: <1404269142-3557-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.119 Cc: Rongjun Ying Subject: [alsa-devel] [PATCH v2 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>; +}; +