UPSTREAM: ARM: dts: rockchip: add channels properties for i2s
authorJacob Chen <jacob2.chen@rock-chips.com>
Fri, 9 Dec 2016 06:42:36 +0000 (14:42 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 9 Dec 2016 10:30:17 +0000 (18:30 +0800)
add playback and capture properties to compatible various chips.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Change-Id: I7bc186f631212b0b2f3355aa2e371c52a0a99ede
 (cherry picked from commit e241657de0ced9b40cad126f461b23a8d6c1b563)
Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
arch/arm/boot/dts/rk3066a.dtsi
arch/arm/boot/dts/rk3188.dtsi
arch/arm/boot/dts/rk3288.dtsi

index be1207d5d404f2746ca466317d40274673034075..fb0da800e64241ef9727b3578800720b11be229d 100644 (file)
                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>;
                status = "disabled";
        };
 
                dma-names = "tx", "rx";
                clock-names = "i2s_hclk", "i2s_clk";
                clocks = <&cru HCLK_I2S1>, <&cru SCLK_I2S1>;
+               rockchip,playback-channels = <2>;
+               rockchip,capture-channels = <2>;
                status = "disabled";
        };
 
                dma-names = "tx", "rx";
                clock-names = "i2s_hclk", "i2s_clk";
                clocks = <&cru HCLK_I2S2>, <&cru SCLK_I2S2>;
+               rockchip,playback-channels = <2>;
+               rockchip,capture-channels = <2>;
                status = "disabled";
        };
 
index 7afcf1b42e8850b259800dadf0f4715311182f1d..11ddb8f7e186e852da377d6ae771f9202a20d16b 100644 (file)
                dma-names = "tx", "rx";
                clock-names = "i2s_hclk", "i2s_clk";
                clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>;
+               rockchip,playback-channels = <2>;
+               rockchip,capture-channels = <2>;
                status = "disabled";
        };
 
index d42e9f4915f937ab6b2954977432a250eaa2d258..1d4ee6ff3c20a10e9786e012e256d39071c4d60d 100644 (file)
                clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>;
                pinctrl-names = "default";
                pinctrl-0 = <&i2s0_bus>;
+               rockchip,playback-channels = <8>;
+               rockchip,capture-channels = <2>;
                status = "disabled";
        };