From patchwork Thu Sep 20 12:09:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11535 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 BC51E1B4E37 for ; Thu, 20 Sep 2012 12:09:37 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 1183B3D098E3 for ; Thu, 20 Sep 2012 12:09:36 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so2716784iej.11 for ; Thu, 20 Sep 2012 05:09:36 -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=wtG2Z7/fi6NmUF0IGHC93NXYOMU2FR+u+wUDwiKt5xU=; b=jg+/pUKXQ0qTX/miC8rX/Ppj4GeWxXY0OLlJ9TozJ7VytwMINPahixpiFVLMyazzth PnUnjIM7OJvpyPVZF6SqIu2yC/4cn4pxRV/Cdj0K+G5PzzKJYdk7lbe8I3MFnrKXo4+u 4+pcatINA9WrJ4uq9Yv6zJSYI1PRyaRo2jbND3S2NFbSSf/phpJuieQNJ+U4F/SJ0bUP rBaCOAn41I7Jx2Mq8/mx9v2lKhkOcHz6xGK3MCI3uTrJQ6Qa6kbW1V+KDc58GhLLD0GI mO5JywCTZPXu9aDWxPCah8CFIaOYF6myFDHdCBaOcYsfMUUceYIHHq6PNNUUuSjq2JAM SJ2g== Received: by 10.50.217.227 with SMTP id pb3mr2200017igc.28.1348142976833; Thu, 20 Sep 2012 05:09:36 -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 ex8csp71431igc; Thu, 20 Sep 2012 05:09:35 -0700 (PDT) Received: by 10.180.85.167 with SMTP id i7mr4139647wiz.8.1348142975142; Thu, 20 Sep 2012 05:09:35 -0700 (PDT) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx.google.com with ESMTPS id n48si7309812wea.76.2012.09.20.05.09.34 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:09:35 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.178 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-f178.google.com with SMTP id hr14so425607wib.13 for ; Thu, 20 Sep 2012 05:09:34 -0700 (PDT) Received: by 10.216.232.204 with SMTP id n54mr1091479weq.182.1348142974612; Thu, 20 Sep 2012 05:09:34 -0700 (PDT) Received: from localhost.localdomain (LPuteaux-156-14-44-212.w82-127.abo.wanadoo.fr. [82.127.83.212]) by mx.google.com with ESMTPS id o2sm10403731wiz.11.2012.09.20.05.09.33 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:09:34 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, broonie@opensource.wolfsonmicro.com Cc: STEricsson_nomadik_linux@list.st.com, linus.walleij@stericsson.com, arnd@arndb.de, ola.o.lilja@stericsson.com, alsa-devel@alsa-project.org, Lee Jones Subject: [PATCH 6/7] Documentation: Define the MOP500 Audio Machine Driver Device Tree bindings Date: Thu, 20 Sep 2012 14:09:15 +0200 Message-Id: <1348142956-1872-7-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1348142956-1872-1-git-send-email-lee.jones@linaro.org> References: <1348142956-1872-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQmHSUUkR1kuyz2bEWyL2qGCuuMwRn8xfMXym9IbfdKlluIKMbL0stddY3ysE4s7tu/KsDjT Here we add the required documentation for the new Device Tree bindings pertaining to the MOP500 Audio Machine driver. Acked-by: Ola Lilja 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. */ + };