From patchwork Tue Jul 31 13:39:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1260551 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 39F10DF26F for ; Tue, 31 Jul 2012 14:40:56 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SwDXG-0003lJ-Ot; Tue, 31 Jul 2012 14:34:59 +0000 Received: from mail-wg0-f41.google.com ([74.125.82.41]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SwCg8-00080E-Gk for linux-arm-kernel@lists.infradead.org; Tue, 31 Jul 2012 13:40:05 +0000 Received: by wgbds1 with SMTP id ds1so3226501wgb.0 for ; Tue, 31 Jul 2012 06:39:50 -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=kx+yjnaSm6Z+Oq9UTvCJaNeYKsumvenz2IH5EhwDBNY=; b=Ud7nTwpFbOWimYff78ulcFpEuCRibe4TFrfcONCEojT/8Fo9QJDXdQWSQxgODEsswO 1bLXjXWY71KOA3pg2inWBsXP9Ix+WVPIe5qD9cEurDZ4G+sk0LCRFq8waXuK9eWufqY7 yYWSaygPAPP+NiDeK/NnUt0VAAeNgMW7R03lU5b+PVfn4lVLWI3qFzueoI3nCiivCwjg exc9tMkqOPaYQIhUhzneIENAEqx2VFBgpAu9nKbWq6ZbmCKr90QcI9M77dXwgIpg7ysy NtbkLcGRUs6QpGbopREayy7CV8RixC6M9ioLkTkloGB1rZqikfm5QGlz4s0sIQZ8yYZv zxlQ== Received: by 10.216.138.92 with SMTP id z70mr7318596wei.68.1343741990497; Tue, 31 Jul 2012 06:39:50 -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.48 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 Jul 2012 06:39:49 -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 17/19] Documentation: Define the MOP500 Audio Machine Driver Device Tree bindings Date: Tue, 31 Jul 2012 14:39:11 +0100 Message-Id: <1343741953-17828-18-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: ALoCoQkaLdD+9HEgZICCzYsOc9wNOOOKi8GBQ6N9cRQxumqfqhusGr1oMLXhaJ5OGba+TYD6VJm+ 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 MOP500 Audio Machine driver. Signed-off-by: Lee Jones --- .../devicetree/bindings/sound/ux500-mop500.txt | 39 ++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/ux500-mop500.txt diff --git a/Documentation/devicetree/bindings/sound/ux500-mop500.txt b/Documentation/devicetree/bindings/sound/ux500-mop500.txt new file mode 100644 index 0000000..0c57063 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/ux500-mop500.txt @@ -0,0 +1,39 @@ +* MOP500 Audio Machine Driver + +This node is responsible for linking together all ux500 Audio Driver components. + +Required properties: + - compatible : "stericsson,snd-soc-mop500" + +Non-standard properties: + - Machine Driver: + - stericsson,cpu-dai : Phandle to the CPU-side DAI + - stericsson,audio-codec : Phandle to the Audio CODEC + +Example: + + sound { + compatible = "stericsson,snd-soc-mop500"; + + stericsson,cpu-dai = <&msp1 &msp3>; + stericsson,audio-codec = <&codec>; + }; + + 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. */ + };