summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorSugar Zhang <sugar.zhang@rock-chips.com>2018-03-22 11:25:54 +0800
committerTao Huang <huangtao@rock-chips.com>2018-03-26 11:41:36 +0800
commitea2d29073a4db4f56581c855f509d9869966dce4 (patch)
treea4c85e284af761666d337ae17f55bb20c14b54e3 /Documentation
parentecf08a42085cc2fb29a52e3b6af448b812a17809 (diff)
ASoC: rockchip: add support for multicodecs sound
Change-Id: I77d3e9c10d03c2b8809c6d82b5268dba279ee6f0 Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/sound/rockchip,multicodecs.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/rockchip,multicodecs.txt b/Documentation/devicetree/bindings/sound/rockchip,multicodecs.txt
new file mode 100644
index 000000000000..45c9ae0388c4
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/rockchip,multicodecs.txt
@@ -0,0 +1,15 @@
+ROCKCHIP multicodecs audio
+
+Required properties:
+- compatible: "rockchip,multicodecs-card"
+- rockchip,cpu: The phandle of the Rockchip I2S/PDM controller that's
+ connected to the CODEC
+- rockchip,codec: The phandle of audio codecs
+
+Example:
+
+sound {
+ compatible = "rockchip,multicodecs-card";
+ rockchip,cpu = <&i2s0_8ch>;
+ rockchip,codec = <&codec>, <&vad>;
+};