diff mbox

[2/2] ASoC: cirrus: clps711x: Add bindings documentation for the CLPS711X DAI

Message ID 1393430856-16322-1-git-send-email-shc_work@mail.ru (mailing list archive)
State New, archived
Headers show

Commit Message

Alexander Shiyan Feb. 26, 2014, 4:07 p.m. UTC
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 mbox

Patch

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..718599e
--- /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: Should be "cirrus,clps711x-dai".
+- reg: Should contain registers location and length.
+- clocks: A clock specifier for the CPU PLL clock.
+- clock-names: The CPU PLL clock should be named "pll".
+- interrupts: Should contain DAI interrupt number.
+- syscon: phandle to syscon device node which control DAI (SYSCON3).
+
+Example:
+	dai: dai@80002000 {
+		#sound-dai-cells = <0>;
+		compatible = "cirrus,clps711x-dai";
+		reg = <0x80002000 0x604>;
+		clocks = <&clks 3>;
+		clock-names = "pll";
+		interrupts = <32>;
+		syscon = <&syscon3>;
+	};