ASoC: rockchip: i2s: add support for i2s bclk fs configuration
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / sound / rockchip-i2s.txt
index ca9669ac6617b3ab9f4da3999e7ebc6eb2811949..ebb54bd168da7fccfdbba2393900497b5911e2b5 100644 (file)
@@ -20,7 +20,14 @@ 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.
+- rockchip,bclk-fs: configure the i2s bclk fs.
+
+Required properties for controller which support multi channels
+playback/capture:
+
+- rockchip,grf: the phandle of the syscon node for GRF register.
 
 Example for rk3288 I2S controller:
 
@@ -32,5 +39,7 @@ 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>;
+       rockchip,bclk-fs = <64>;
 };