aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSugar Zhang2015-10-08 07:40:08 -0500
committerMark Brown2015-10-22 11:50:53 -0500
commitd307e01e41e830adac15e91d8cea38d8a53060a5 (patch)
tree318660730fa4d5a22dfdd583e19036770032a3c9 /Documentation/devicetree/bindings/sound
parent4c9c018b2ac72e6ffaeae472723023dc4fd99a88 (diff)
downloadti-linux-kernel-d307e01e41e830adac15e91d8cea38d8a53060a5.tar.gz
ti-linux-kernel-d307e01e41e830adac15e91d8cea38d8a53060a5.tar.xz
ti-linux-kernel-d307e01e41e830adac15e91d8cea38d8a53060a5.zip
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>
Diffstat (limited to 'Documentation/devicetree/bindings/sound')
-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 085e0bc1f5d5..2267d249ca0e 100644
--- a/Documentation/devicetree/bindings/sound/rockchip-i2s.txt
+++ b/Documentation/devicetree/bindings/sound/rockchip-i2s.txt
@@ -19,6 +19,7 @@ Required properties:
19- clock-names: should contain followings: 19- clock-names: should contain followings:
20 - "i2s_hclk": clock for I2S BUS 20 - "i2s_hclk": clock for I2S BUS
21 - "i2s_clk" : clock for I2S controller 21 - "i2s_clk" : clock for I2S controller
22- rockchip,capture-channels: max capture channels, if not set, 2 channels default.
22 23
23Example for rk3288 I2S controller: 24Example for rk3288 I2S controller:
24 25
@@ -30,4 +31,5 @@ i2s@ff890000 {
30 dma-names = "tx", "rx"; 31 dma-names = "tx", "rx";
31 clock-names = "i2s_hclk", "i2s_clk"; 32 clock-names = "i2s_hclk", "i2s_clk";
32 clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>; 33 clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>;
34 rockchip,capture-channels = <2>;
33}; 35};