All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Shiyan <shc_work@mail.ru>
To: alsa-devel@alsa-project.org
Cc: Mark Rutland <mark.rutland@arm.com>,
	devicetree@vger.kernel.org, Pawel Moll <pawel.moll@arm.com>,
	Arnd Bergmann <arnd@arndb.de>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Takashi Iwai <tiwai@suse.de>, Liam Girdwood <lgirdwood@gmail.com>,
	Rob Herring <robh+dt@kernel.org>,
	Grant Likely <grant.likely@linaro.org>,
	Mark Brown <broonie@kernel.org>,
	Alexander Shiyan <shc_work@mail.ru>,
	Kumar Gala <galak@codeaurora.org>,
	Olof Johansson <olof@lixom.net>
Subject: [PATCH v2 2/2] ASoC: cirrus: clps711x: Add bindings documentation for the CLPS711X DAI
Date: Sat, 12 Apr 2014 10:17:34 +0400	[thread overview]
Message-ID: <1397283454-684-1-git-send-email-shc_work@mail.ru> (raw)

This patch adds the devicetree documentation for the Cirrus Logic
CLPS711X Digital Audio Interface (DAI).

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 .../bindings/sound/cirrus,clps711x-dai.txt           | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/cirrus,clps711x-dai.txt

diff --git a/Documentation/devicetree/bindings/sound/cirrus,clps711x-dai.txt b/Documentation/devicetree/bindings/sound/cirrus,clps711x-dai.txt
new file mode 100644
index 0000000..fd37774
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/cirrus,clps711x-dai.txt
@@ -0,0 +1,20 @@
+* Cirrus Logic CLPS711X Digital Audio Interface (DAI)
+
+Required properties:
+- compatible:  Shall contain "cirrus,clps711x-dai".
+- reg:         Should contain registers location and length.
+- clocks:      phandle + clock specifier pair of the CPU PLL reference
+               clock and (optionally) external MCLK reference clock.
+- clock-names: The clock should be named "pll" for CPU PLL and "mclk"
+               for external MCLK.
+- interrupts:  Should contain DAI interrupt number.
+
+Example:
+	dai: dai@80002000 {
+		#sound-dai-cells = <0>;
+		compatible = "cirrus,ep7312-dai", "cirrus,clps711x-dai";
+		reg = <0x80002000 0x604>;
+		clocks = <&clks 3>, <&clk12288>;
+		clock-names = "pll", "mclk";
+		interrupts = <32>;
+	};
-- 
1.8.3.2

             reply	other threads:[~2014-04-12  6:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-12  6:17 Alexander Shiyan [this message]
     [not found] ` <1397283454-684-1-git-send-email-shc_work-JGs/UdohzUI@public.gmane.org>
2014-05-01 18:30   ` [PATCH v2 2/2] ASoC: cirrus: clps711x: Add bindings documentation for the CLPS711X DAI Mark Brown

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=1397283454-684-1-git-send-email-shc_work@mail.ru \
    --to=shc_work@mail.ru \
    --cc=alsa-devel@alsa-project.org \
    --cc=arnd@arndb.de \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=grant.likely@linaro.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=lgirdwood@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=olof@lixom.net \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=tiwai@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.