UPSTREAM: ASoC: rockchip: add playback property
authorSugar Zhang <sugar.zhang@rock-chips.com>
Tue, 10 Nov 2015 07:32:08 +0000 (15:32 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Tue, 12 Apr 2016 08:53:22 +0000 (16:53 +0800)
rockchip,playback-channels: max playback channels, 8 channels default.

Change-Id: I0db92ad3d3270e46bb98a2977163869251c32f2d
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
(cherry picked from commit 7fd9093a7570f5d8bbdc8014c0a349da2afea97e)

Documentation/devicetree/bindings/sound/rockchip-i2s.txt

index ca9669ac6617b3ab9f4da3999e7ebc6eb2811949..6e86d8aa29b4639397f51a8e73b8d8ede79c28fe 100644 (file)
@@ -20,6 +20,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:
@@ -32,5 +33,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>;
 };