devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 2/2] ASoC: cirrus: clps711x: Add bindings documentation for the CLPS711X DAI
@ 2014-04-12  6:17 Alexander Shiyan
       [not found] ` <1397283454-684-1-git-send-email-shc_work-JGs/UdohzUI@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Shiyan @ 2014-04-12  6:17 UTC (permalink / raw)
  To: alsa-devel
  Cc: Mark Rutland, devicetree, Pawel Moll, Arnd Bergmann, Ian Campbell,
	Takashi Iwai, Liam Girdwood, Rob Herring, Grant Likely,
	Mark Brown, Alexander Shiyan, Kumar Gala, Olof Johansson

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 2/2] ASoC: cirrus: clps711x: Add bindings documentation for the CLPS711X DAI
       [not found] ` <1397283454-684-1-git-send-email-shc_work-JGs/UdohzUI@public.gmane.org>
@ 2014-05-01 18:30   ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2014-05-01 18:30 UTC (permalink / raw)
  To: Alexander Shiyan
  Cc: alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw, Liam Girdwood, Jaroslav Kysela,
	Takashi Iwai, Arnd Bergmann, Olof Johansson,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, Grant Likely

[-- Attachment #1: Type: text/plain, Size: 193 bytes --]

On Sat, Apr 12, 2014 at 10:17:34AM +0400, Alexander Shiyan wrote:
> This patch adds the devicetree documentation for the Cirrus Logic
> CLPS711X Digital Audio Interface (DAI).

This look good.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-01 18:30 UTC | newest]

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

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).