summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSugar Zhang <sugar.zhang@rock-chips.com>2015-10-08 12:40:08 (GMT)
committerMark Brown <broonie@kernel.org>2015-10-22 16:50:53 (GMT)
commitd307e01e41e830adac15e91d8cea38d8a53060a5 (patch)
tree318660730fa4d5a22dfdd583e19036770032a3c9
parent4c9c018b2ac72e6ffaeae472723023dc4fd99a88 (diff)
downloadlinux-d307e01e41e830adac15e91d8cea38d8a53060a5.tar.xz
ASoC: rockchip: add capture property
rockchip,capture-channels: max capture channels, 2 channels default. Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/sound/rockchip-i2s.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/rockchip-i2s.txt b/Documentation/devicetree/bindings/sound/rockchip-i2s.txt
index 085e0bc..2267d24 100644
--- a/Documentation/devicetree/bindings/sound/rockchip-i2s.txt
+++ b/Documentation/devicetree/bindings/sound/rockchip-i2s.txt
@@ -19,6 +19,7 @@ Required properties:
- clock-names: should contain followings:
- "i2s_hclk": clock for I2S BUS
- "i2s_clk" : clock for I2S controller
+- rockchip,capture-channels: max capture channels, if not set, 2 channels default.
Example for rk3288 I2S controller:
@@ -30,4 +31,5 @@ i2s@ff890000 {
dma-names = "tx", "rx";
clock-names = "i2s_hclk", "i2s_clk";
clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>;
+ rockchip,capture-channels = <2>;
};