From patchwork Thu Sep 20 12:09:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11536 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 594091B4E37 for ; Thu, 20 Sep 2012 12:09:39 +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 864DA3D098E3 for ; Thu, 20 Sep 2012 12:09:38 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id j25so1559381iaf.11 for ; Thu, 20 Sep 2012 05:09:38 -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=YT20Ou/ozeIOR4IEem4wZZ1dHffQVgMpweobTZP2mFk=; b=YWO3HpONQhB8ju4JQZetK3Koo+x0xDefsKtqNHwym4Tlfk9OHOQKqDAVeMAKaIL+Zw 3rwxu8BTiHwxnHb51svCfCkss36VpoM9yoWvbEyt5uo62oye52DBnwDKMgJaV2cO/EIT iw7dXAHdQnzZujh6bQ6RseTrKxOruo8Dg+n0eiC8/ZX44bdx4Cdv4fkNHpQTzAplO3T8 QOUBOkSGOPSVWYdDTLOiH4SjlCjVJlK/ZNpepFxGys6Is7j8MBOtuUW15OCAcVif8+mZ NswYd/ODr0EwUFyN9B2JFC3iPTPLnD9ktXXDGuA+CL/J9u8eQ/dOOqmExU5gvcs/ZGRY ncdA== Received: by 10.50.0.193 with SMTP id 1mr1512470igg.0.1348142978291; Thu, 20 Sep 2012 05:09:38 -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 ex8csp71433igc; Thu, 20 Sep 2012 05:09:37 -0700 (PDT) Received: by 10.180.91.169 with SMTP id cf9mr5629955wib.1.1348142976870; Thu, 20 Sep 2012 05:09:36 -0700 (PDT) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id h21si7294860wea.103.2012.09.20.05.09.36 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:09:36 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.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 weyu7 with SMTP id u7so1480091wey.37 for ; Thu, 20 Sep 2012 05:09:36 -0700 (PDT) Received: by 10.216.144.71 with SMTP id m49mr1149629wej.23.1348142976256; Thu, 20 Sep 2012 05:09:36 -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.34 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:09:35 -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 7/7] Documentation: Define the MSP Driver Device Tree bindings Date: Thu, 20 Sep 2012 14:09:16 +0200 Message-Id: <1348142956-1872-8-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: ALoCoQkXFVLKj9RzDlKu/gexhftPwx0YJk/vUJ10bWZOBEiYKgiAH9x8qNcrcKGQjGwtM+YNlNhz Here we add the required documentation for the new Device Tree bindings pertaining to the MSP CPU-side DAI Driver. Acked-by: Ola Lilja 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..99acd9c --- /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 output 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. */ + };