From patchwork Thu Aug 9 15:47:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 10629 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 86F2023E02 for ; Thu, 9 Aug 2012 15:48:26 +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 575B5A18A4B for ; Thu, 9 Aug 2012 15:48:26 +0000 (UTC) Received: by mail-yx0-f180.google.com with SMTP id q6so585182yen.11 for ; Thu, 09 Aug 2012 08:48:26 -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=CCPShi2FWNAn7KvidwsCzwHBI2+r/gMmX74x2bWHjHY=; b=HdRJVt68mBxcn8ip104ZsSomGqHBLGDXxi6F3cqYB2uZkvyFWKODSSlhK8S2XuMZRg KSEA0luv+ZWoFoSxgIwtl9Z7ijF+RoEy9Ayzva16B5GggEzKjKgtXRskJNUn853fD6I9 7OcR35mtWY7X+bKBim5JVugnVwu6NW+tyxBZoGNOshAMsCr2q3X/Gcj6UqgiTwCU6M4Q 5aH0c5nB/FL8y+Cry6cyCaSVwzIm7h7SAEFV70QVVzwFgxaXzNncslxmjJDx2t1ueytI /tkoKewS7wMCYSWFPt4PToA8kAJ81ZK4OLBfWk6W4NmuQAIVt8d6rCcQSXRAM7s9wPiL VejQ== Received: by 10.50.181.136 with SMTP id dw8mr1583204igc.31.1344527305557; Thu, 09 Aug 2012 08:48:25 -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 ew8csp15249igc; Thu, 9 Aug 2012 08:48:24 -0700 (PDT) Received: by 10.216.135.147 with SMTP id u19mr11508328wei.12.1344527304320; Thu, 09 Aug 2012 08:48:24 -0700 (PDT) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx.google.com with ESMTPS id c35si2005758wec.3.2012.08.09.08.48.23 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Aug 2012 08:48:24 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.172; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.172 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-f172.google.com with SMTP id hm11so380135wib.13 for ; Thu, 09 Aug 2012 08:48:23 -0700 (PDT) Received: by 10.216.55.195 with SMTP id k45mr157142wec.216.1344527303822; Thu, 09 Aug 2012 08:48: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 q4sm2278954wix.9.2012.08.09.08.48.22 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Aug 2012 08:48: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, Lee Jones , alsa-devel@alsa-project.org Subject: [PATCH 09/22] Documentation: Define the MOP500 Audio Machine Driver Device Tree bindings Date: Thu, 9 Aug 2012 16:47:35 +0100 Message-Id: <1344527268-5964-10-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: ALoCoQkGLjfYV+T80dW9y3fZs2mHksHmDh/PEizZbf89dLZ7OU/I4ru9H3se/+r+OXRjR8nru84y Here we add the required documentation for the new Device Tree bindings pertaining to the MOP500 Audio Machine driver. CC: alsa-devel@alsa-project.org 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. */ + };