linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: lee.jones@linaro.org (Lee Jones)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 6/7] Documentation: Define the MOP500 Audio Machine Driver Device Tree bindings
Date: Thu, 20 Sep 2012 14:09:15 +0200	[thread overview]
Message-ID: <1348142956-1872-7-git-send-email-lee.jones@linaro.org> (raw)
In-Reply-To: <1348142956-1872-1-git-send-email-lee.jones@linaro.org>

Here we add the required documentation for the new Device Tree
bindings pertaining to the MOP500 Audio Machine driver.

Acked-by: Ola Lilja <ola.o.lilja@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 .../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 at 80124000 {
+		compatible = "stericsson,ux500-msp-i2s";
+		reg = <0x80124000 0x1000>;
+		interrupts = <0 62 0x4>;
+		v-ape-supply = <&db8500_vape_reg>;
+	};
+
+	msp3: msp at 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. */
+	};
-- 
1.7.9.5

  parent reply	other threads:[~2012-09-20 12:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-20 12:09 [GIT PULL] MOP500 Audio patches due for ASoC Lee Jones
2012-09-20 12:09 ` [PATCH 1/7] ASoC: Ux500: Move MSP pinctrl setup into the MSP driver Lee Jones
2012-09-20 12:09 ` [PATCH 2/7] ASoC: Ux500: Enable MOP500 driver for Device Tree Lee Jones
2012-09-20 12:09 ` [PATCH 3/7] ASoC: Ux500: Enable ux500 MSP " Lee Jones
2012-09-20 12:09 ` [PATCH 4/7] ASoC: codecs: Enable AB8500 CODEC " Lee Jones
2012-09-20 12:09 ` [PATCH 5/7] ASoC: Ux500: Minor coding layout changes Lee Jones
2012-09-20 12:09 ` Lee Jones [this message]
2012-09-20 12:09 ` [PATCH 7/7] Documentation: Define the MSP Driver Device Tree bindings Lee Jones
2012-09-20 12:56 ` [GIT PULL] MOP500 Audio patches due for ASoC Mark Brown
2012-09-20 13:06   ` Lee Jones
2012-09-27 15:01   ` Lee Jones
2012-09-28 12:37     ` Mark Brown
2012-09-28 14:59       ` Lee Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1348142956-1872-7-git-send-email-lee.jones@linaro.org \
    --to=lee.jones@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).