From patchwork Fri Aug 24 14:01:42 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 10934 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 0303923E1B for ; Fri, 24 Aug 2012 14:02:26 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 48B72A1893D for ; Fri, 24 Aug 2012 14:02:08 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id j25so1165259iaf.11 for ; Fri, 24 Aug 2012 07:02:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=CCPShi2FWNAn7KvidwsCzwHBI2+r/gMmX74x2bWHjHY=; b=Jvy12s/5/LzNWc6AuMPk3h0PwO+gWM4nmz7iCQD8VVTsyKXYjz9QdXN+zn9XJQ0TM4 tNXq+6vuABGVqI4AyKGbcUZ79xOPzWnF6kP5BfTRQ5snGd/mHteWke9czGeFAtOB//wv Ghii+SeJzJRm9RL+Ucu48wLBrlOhIigs5XSVgR3DKnUizV7xtsUFWqFfeLiQ/wSAnroN yB0c5USsJYsxEM5lWNaHbuIBvH9uRdDrItigCQGKK9piINAyiwH8TnSX9w8yTPd9Ptez 7IqNpnJrARWWKL3WIIIij4U7jJEC6sGHkBKpbn/nl9xVafC044xh2unveie4ikNv/h8a zHMQ== Received: by 10.50.180.129 with SMTP id do1mr2285301igc.28.1345816945514; Fri, 24 Aug 2012 07:02:25 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp321606igc; Fri, 24 Aug 2012 07:02:24 -0700 (PDT) Received: by 10.180.100.35 with SMTP id ev3mr5841101wib.7.1345816943083; Fri, 24 Aug 2012 07:02:23 -0700 (PDT) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx.google.com with ESMTPS id g46si14387453weq.132.2012.08.24.07.02.22 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Aug 2012 07:02:23 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.172; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-wi0-f172.google.com with SMTP id r5so743350wic.13 for ; Fri, 24 Aug 2012 07:02:22 -0700 (PDT) Received: by 10.180.105.130 with SMTP id gm2mr5851504wib.6.1345816942335; Fri, 24 Aug 2012 07:02:22 -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 eu4sm4556709wib.2.2012.08.24.07.02.20 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Aug 2012 07:02:21 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: STEricsson_nomadik_linux@list.st.com, linus.walleij@stericsson.com, arnd@arndb.de, broonie@opensource.wolfsonmicro.com, ola.o.lilja@stericsson.com, roger.xr.nilsson@stericsson.com, alsa-devel@alsa-project.org, Lee Jones Subject: [PATCH 06/17] Documentation: Define the MOP500 Audio Machine Driver Device Tree bindings Date: Fri, 24 Aug 2012 15:01:42 +0100 Message-Id: <1345816913-4113-7-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1345816913-4113-1-git-send-email-lee.jones@linaro.org> References: <1345816913-4113-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQlX+HqwjuXf6XHjFOsU2yA5Faw3WB3dknite9goI2ime04H/CDv7jnmPyApRsFc/mc44TPP Here we add the required documentation for the new Device Tree bindings pertaining to the MOP500 Audio Machine driver. CC: alsa-devel@alsa-project.org 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..48e071c --- /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: + - stericsson,cpu-dai : Phandle to the CPU-side DAI + - stericsson,audio-codec : Phandle to the Audio CODEC + - stericsson,card-name : Over-ride default card name + +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. */ + };