From patchwork Tue Jul 31 13:39:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1260531 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 8A1283FC1A for ; Tue, 31 Jul 2012 14:38:34 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SwDUU-0002yH-AZ; Tue, 31 Jul 2012 14:32:08 +0000 Received: from mail-wi0-f171.google.com ([209.85.212.171]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SwCg1-0007yF-NR for linux-arm-kernel@lists.infradead.org; Tue, 31 Jul 2012 13:39:58 +0000 Received: by mail-wi0-f171.google.com with SMTP id hq4so2206677wib.0 for ; Tue, 31 Jul 2012 06:39:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=id82P0cakWxunF16EtcIU/U8ZWJym6cGD0/kIFJjDE0=; b=gLNPOza8ZIjVKe0LWdnQg5EIGPHrwIToVFw8Kgo8sxONaSbZ2cpVJcxH8h3WkOm73b 21hi46Q6lmW51+/dbO7RmydYGyNJRS0TR9DlhLCyKbGaN2A13/q8RI8WNcKIMSwPmga+ lj5oGcexA0xKsL756XWBR/z+r+TZUmB/RM76wTasB7yx5GIWnUIEHWbjFcCK/cve5WJv 4WbQ4eWn0lblc/OYQyxOELAM8rDobG8VF1ynnxDKmkivDdzgf5YXAGZ3lFcdxdtZg99J 8J2vV4CffZzLN6NBb2Rw4Bo9urC+0tY6xvGrAOL2I/r7PmPgloe97KQvTSoWQvJ3B0Tr CsEQ== Received: by 10.180.84.1 with SMTP id u1mr6957756wiy.15.1343741992293; Tue, 31 Jul 2012 06:39:52 -0700 (PDT) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id el6sm22252911wib.8.2012.07.31.06.39.50 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 Jul 2012 06:39:51 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, olalilja@yahoo.se, ola.o.lilja@stericsson.com, alsa-devel@alsa-project.org, lrg@ti.com, broonie@opensource.wolfsonmicro.com Subject: [PATCH 18/19] Documentation: Define the MSP Driver Device Tree bindings Date: Tue, 31 Jul 2012 14:39:12 +0100 Message-Id: <1343741953-17828-19-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1343741953-17828-1-git-send-email-lee.jones@linaro.org> References: <1343741953-17828-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQme8x5+B1dWYj19hzNnXOoVC69iqbVk2yGd0n5/HOSJh+0seYx/vyRIXAlnoFH5UXB1VM9a X-Spam-Note: CRM114 invocation failed X-Spam-Note: SpamAssassin invocation failed Cc: STEricsson_nomadik_linux@list.st.com, Lee Jones , linus.walleij@stericsson.com, arnd@arndb.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Here we add the required documentation for the new Device Tree bindings pertaining to the MSP CPU-side DAI Driver. Signed-off-by: Lee Jones --- .../devicetree/bindings/sound/ux500-msp.txt | 43 ++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/ux500-msp.txt diff --git a/Documentation/devicetree/bindings/sound/ux500-msp.txt b/Documentation/devicetree/bindings/sound/ux500-msp.txt new file mode 100644 index 0000000..5b883cc --- /dev/null +++ b/Documentation/devicetree/bindings/sound/ux500-msp.txt @@ -0,0 +1,43 @@ +* ux500 MSP (CPU-side Digital Audio Interface) + +Required properties: + - compatible :"stericsson,ux500-msp-i2s" + - reg : Physical base address and length of the device's registers. + +Optional properties: + - interrupts : The interrupt outputs from the device. + - interrupt-parent : The parent interrupt controller. + - -supply : Phandle to the regulator supply + +Example: + + sound { + compatible = "stericsson,snd-soc-mop500"; + + stericsson,platform-pcm-dma = <&pcm>; + stericsson,cpu-dai = <&msp1 &msp3>; + stericsson,audio-codec = <&codec>; + }; + + pcm: ux500-pcm { + compatible = "stericsson,ux500-pcm"; + }; + + msp1: msp@80124000 { + compatible = "stericsson,ux500-msp-i2s"; + reg = <0x80124000 0x1000>; + interrupts = <0 62 0x4>; + v-ape-supply = <&db8500_vape_reg>; + }; + + msp3: msp@80125000 { + compatible = "stericsson,ux500-msp-i2s"; + reg = <0x80125000 0x1000>; + interrupts = <0 62 0x4>; + v-ape-supply = <&db8500_vape_reg>; + }; + + codec: ab8500-codec { + compatible = "stericsson,ab8500-codec"; + stericsson,earpeice-cmv = <950>; /* Units in mV. */ + };