ASoC: rockchip: add capture property
authorSugar Zhang <sugar.zhang@rock-chips.com>
Thu, 8 Oct 2015 12:40:08 +0000 (20:40 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 22 Oct 2015 16:50:53 +0000 (01:50 +0900)
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>
Documentation/devicetree/bindings/sound/rockchip-i2s.txt

index 085e0bc1f5d50d227cc57fb53bbbba7bd943e42b..2267d249ca0ee20959b525d1d2075e9e09909d9e 100644 (file)
@@ -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>;
 };