summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSugar Zhang <sugar.zhang@rock-chips.com>2015-11-10 07:32:08 (GMT)
committerMark Brown <broonie@kernel.org>2015-11-16 17:38:05 (GMT)
commit7fd9093a7570f5d8bbdc8014c0a349da2afea97e (patch)
treecaf009b43c93fca720e339fec375ccd753932e3b
parentc4f9374ddc461ed76be30f4d354a6d1ecb94dfa5 (diff)
downloadlinux-7fd9093a7570f5d8bbdc8014c0a349da2afea97e.tar.xz
ASoC: rockchip: add playback property
rockchip,playback-channels: max playback channels, 8 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 2267d24..b7f3a93 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,playback-channels: max playback channels, if not set, 8 channels default.
- rockchip,capture-channels: max capture channels, if not set, 2 channels default.
Example for rk3288 I2S controller:
@@ -31,5 +32,6 @@ i2s@ff890000 {
dma-names = "tx", "rx";
clock-names = "i2s_hclk", "i2s_clk";
clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>;
+ rockchip,playback-channels = <8>;
rockchip,capture-channels = <2>;
};