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: 10422 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 AB40023E02 for ; Tue, 31 Jul 2012 13:39:53 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 73DEFA18880 for ; Tue, 31 Jul 2012 13:39:53 +0000 (UTC) Received: by mail-gg0-f180.google.com with SMTP id f1so5928064ggn.11 for ; Tue, 31 Jul 2012 06:39:53 -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=kx+yjnaSm6Z+Oq9UTvCJaNeYKsumvenz2IH5EhwDBNY=; b=U5tqrIKaMbmBo14VdsEA1feF75LM//5vmoBBcAyWg9r5SQWjzg4x/u4sidIwL4c0CQ y7bCsxiEH0/JoZ0nClGznd8L6a0JDtRMaTnxw5abkYvOgwS41fkW3eho0uMm3GNfmfYz qtY16qjbfbVMIXEdcthXwsG4DuPtNEcUWv4uz3vnYdtqXNNdfrvfYE9ynkr1qaY4i92X r3neJ8nfdpTm3/N5mmgOH5jGgkNEMX2eIZxzalTF3Mf6r0FTi7675xibbUokdOy8g7Mo 5/q70ejdVzlDwTgyOklEtDnI1KYojFy1fsFRssGoFSENF/N9O2Ak051ViVrLvc0Sa3N7 hhrw== Received: by 10.50.219.194 with SMTP id pq2mr693140igc.25.1343741992431; Tue, 31 Jul 2012 06:39:52 -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.87.40 with SMTP id u8csp143542igz; Tue, 31 Jul 2012 06:39:51 -0700 (PDT) Received: by 10.216.233.216 with SMTP id p66mr6957092weq.152.1343741991014; Tue, 31 Jul 2012 06:39:51 -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 d10si22845924wiy.36.2012.07.31.06.39.50 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 Jul 2012 06:39:51 -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 wibhm11 with SMTP id hm11so2236768wib.13 for ; Tue, 31 Jul 2012 06:39:50 -0700 (PDT) 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 Cc: STEricsson_nomadik_linux@list.st.com, linus.walleij@stericsson.com, arnd@arndb.de, Lee Jones 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: ALoCoQkJukxroJIqYwQXmCtzczikNfvQKJrMx1dDZs7IaVBzJjQda2K8do1nT7Ka5z1BWLTri4bQ 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. */ + };