From patchwork Thu Aug 9 15:47:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 10630 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 372E023E02 for ; Thu, 9 Aug 2012 15:48:28 +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 0706BA18A42 for ; Thu, 9 Aug 2012 15:48:27 +0000 (UTC) Received: by mail-gg0-f180.google.com with SMTP id f1so585844ggn.11 for ; Thu, 09 Aug 2012 08:48:27 -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=xtN53XSxILQL1a3qIojjTWpy0pGyaUajxTENsiYvdmk=; b=nHZC4aTCQ6jqIu5hZkmuadGdzyMT0dLVQu2mPeWGSXCxLG6UYMwG7bj0f8H7IVn9aJ xbVa4kwTlgAGPxa5srMZipzqmUYUxqvxj/okeTMMsoa0cZ4GgvhUDQxTC9LOoPZ/HUhs PoO5CPrJr3Xf1l44o0l2GbERDsd02gdJWRpW46sH40vdedUnK2FQ61L5Ann7upc3fwMu zuVWseGVoZu0w9+ExBaK/8recamAr1uU4gGi9CJD47PpgRVbT4merdtO0f3ihLdpaFsU 6u/AaRI5uzjD2ZPO8JTLNH8AcUqWVN8r+kAebJq6oMPKh9MhRw7dMIa2gt0fGuWM57qi yO7A== Received: by 10.50.57.168 with SMTP id j8mr1569958igq.16.1344527307223; Thu, 09 Aug 2012 08:48:27 -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.200 with SMTP id ew8csp15253igc; Thu, 9 Aug 2012 08:48:26 -0700 (PDT) Received: by 10.180.14.35 with SMTP id m3mr3916889wic.16.1344527305731; Thu, 09 Aug 2012 08:48:25 -0700 (PDT) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id ed3si2922594wib.27.2012.08.09.08.48.25 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Aug 2012 08:48:25 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.50 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-wg0-f50.google.com with SMTP id ds11so531652wgb.31 for ; Thu, 09 Aug 2012 08:48:25 -0700 (PDT) Received: by 10.180.78.170 with SMTP id c10mr3991416wix.3.1344527305253; Thu, 09 Aug 2012 08:48:25 -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 q4sm2278954wix.9.2012.08.09.08.48.23 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Aug 2012 08:48:24 -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, Lee Jones , alsa-devel@alsa-project.org Subject: [PATCH 10/22] Documentation: Define the MSP Driver Device Tree bindings Date: Thu, 9 Aug 2012 16:47:36 +0100 Message-Id: <1344527268-5964-11-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1344527268-5964-1-git-send-email-lee.jones@linaro.org> References: <1344527268-5964-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQm+JKfut983OHgDYBVKO7ldHffwlkj9rt1/eiE6rRSbg0wHKvf54DaS/QiYNKfUI2gsrqtn Here we add the required documentation for the new Device Tree bindings pertaining to the MSP CPU-side DAI Driver. CC: alsa-devel@alsa-project.org 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. */ + };