[v1,4/4] ASoC: RK3036: Add binding doc for audio machine driver
diff mbox

Message ID 1444698070-4191-5-git-send-email-zhengsq@rock-chips.com
State New
Headers show

Commit Message

Shunqian Zheng Oct. 13, 2015, 1:01 a.m. UTC
From: ZhengShunQian <zhengsq@rock-chips.com>

This patch add binding document for RK3036 SoC audio
machine driver.

Signed-off-by: ZhengShunQian <zhengsq@rock-chips.com>
---
 .../devicetree/bindings/sound/rockchip-rk3036.txt          | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/rockchip-rk3036.txt

Patch
diff mbox

diff --git a/Documentation/devicetree/bindings/sound/rockchip-rk3036.txt b/Documentation/devicetree/bindings/sound/rockchip-rk3036.txt
new file mode 100644
index 0000000..53d5738
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/rockchip-rk3036.txt
@@ -0,0 +1,14 @@ 
+RK3036 SoC with Inno audio codec integrated
+
+Required properties:
+- compatible: Should be "rockchip,rk3036-audio".
+- rockchip,i2s-controller: The phandle of the Rockchip I2S controller.
+- rockchip,audio-codec: The phandle of the Inno-rk3036 audio codec.
+
+Example:
+
+	sound {
+		compatible = "rockchip,rk3036-audio";
+		rockchip,i2s-controller = <&i2s>;
+		rockchip,audio-codec = <&acodec>;
+	};