From patchwork Fri Aug 24 14:01:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 10935 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 CCFD323E1B for ; Fri, 24 Aug 2012 14:02:27 +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 1EA1BA1893D for ; Fri, 24 Aug 2012 14:02:10 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id j25so1165440iaf.11 for ; Fri, 24 Aug 2012 07:02: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=ZpPiJcExdjI+bR/Af1GUZ17v+o88hi6ts66ZBluHzJM5Rcd4z+NHbSlSttxlmfFTnn 3UbKsXlZWri0dDCyYQR8m/ams4OAFB2kt3DMev3kXLKbNIRy3nTQ+ShNECXlj2fBfL6R 2vF4HMrPNweb0ZIoUqbXfnwtXKlCZrdlqK39xMZx9lHZh2unRHWkQiYlmEWpn2UueTtu yWGfq6zoKfFAhU22gzloqdaLLPLc0ad+jbji6DrGymRN691Hxialw2ceBd/aO/ZXFKit QGuzyZzQS95Uv5VVgmqaLj5PF9sFWzGkhAioCih7EZ/hELpMCXdFbXfF7kNvZWVcGnRx 1Bcw== Received: by 10.50.87.164 with SMTP id az4mr2230531igb.43.1345816947378; Fri, 24 Aug 2012 07:02: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.232 with SMTP id ex8csp321610igc; Fri, 24 Aug 2012 07:02:26 -0700 (PDT) Received: by 10.180.82.164 with SMTP id j4mr5773641wiy.18.1345816944586; Fri, 24 Aug 2012 07:02:24 -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 u8si5983973wia.35.2012.08.24.07.02.24 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Aug 2012 07:02:24 -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 hr14so704351wib.13 for ; Fri, 24 Aug 2012 07:02:24 -0700 (PDT) Received: by 10.180.94.38 with SMTP id cz6mr4526404wib.10.1345816943979; Fri, 24 Aug 2012 07:02:23 -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 eu4sm4556709wib.2.2012.08.24.07.02.22 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Aug 2012 07:02:23 -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, ola.o.lilja@stericsson.com, roger.xr.nilsson@stericsson.com, alsa-devel@alsa-project.org, Lee Jones Subject: [PATCH 07/17] Documentation: Define the MSP Driver Device Tree bindings Date: Fri, 24 Aug 2012 15:01:43 +0100 Message-Id: <1345816913-4113-8-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1345816913-4113-1-git-send-email-lee.jones@linaro.org> References: <1345816913-4113-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQlKMT1VekBQovHK0hXSLpbi3PQAvGO95v0PdKLzBRjhOJwVsf5kGl/yHalESCrSlTDVAfcQ 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. */ + };