From patchwork Tue Jul 31 13:39:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 10423 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 9A07D23E02 for ; Tue, 31 Jul 2012 13:39:54 +0000 (UTC) Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180]) by fiordland.canonical.com (Postfix) with ESMTP id 6A3FFA18880 for ; Tue, 31 Jul 2012 13:39:54 +0000 (UTC) Received: by mail-yx0-f180.google.com with SMTP id q6so5921364yen.11 for ; Tue, 31 Jul 2012 06:39:54 -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=id82P0cakWxunF16EtcIU/U8ZWJym6cGD0/kIFJjDE0=; b=PHaAjigufIT1yWYI6UHv8BWruvTYTPbvK/XmzYVuB1H/xEltW0viizPjAkaHoz/GU4 5xk6SKRmSyBLhsmFVZM5zF2rB9Q3AUpSgpv/IzUbWkHLV1IGaivhd5SvGqBjElLiCvCo Sec/Y2jqX7mt+xzJ2qPjqra+07b3kDCyXEWOQ8zwe/fWjILGFPr7CyivRKD179BUDPoW OBcOosn8k2LjuijCDVzcokmJx/SIZwMGXW66aPdulpfc8hK06HeHWYm4HIIHGU64Ly2M tY9tSaaAHQf9SOiEh2/K+xoojZCEfEBafcNDAPPMnFMiMfS96BWweSLHB0i79swDsMeC Uasw== Received: by 10.50.213.39 with SMTP id np7mr1978874igc.51.1343741994098; Tue, 31 Jul 2012 06:39:54 -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 u8csp143544igz; Tue, 31 Jul 2012 06:39:53 -0700 (PDT) Received: by 10.217.1.206 with SMTP id n56mr3524014wes.151.1343741992765; Tue, 31 Jul 2012 06:39:52 -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 s2si310780wiz.17.2012.07.31.06.39.52 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 Jul 2012 06:39:52 -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 mail-we0-f178.google.com with SMTP id u7so5232514wey.37 for ; Tue, 31 Jul 2012 06:39:52 -0700 (PDT) Received: by 10.180.84.1 with SMTP id u1mr6957756wiy.15.1343741992293; Tue, 31 Jul 2012 06:39:52 -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.50 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 Jul 2012 06:39:51 -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 18/19] Documentation: Define the MSP Driver Device Tree bindings Date: Tue, 31 Jul 2012 14:39:12 +0100 Message-Id: <1343741953-17828-19-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: ALoCoQkPfp3hcQA5zZeRCdR7Bta+4JOc4qcS5lJ7kdgp50eXpz03pEowL4Q9nOqUN/QgcDmsZfRW Here we add the required documentation for the new Device Tree bindings pertaining to the MSP CPU-side DAI Driver. 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..5b883cc --- /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 outputs 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. */ + };