]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: rockchip: add channels properties for i2s
authorSugar Zhang <sugar.zhang@rock-chips.com>
Tue, 10 Nov 2015 07:32:09 +0000 (15:32 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 20 Nov 2015 15:34:02 +0000 (16:34 +0100)
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>
arch/arm/boot/dts/rk3066a.dtsi
arch/arm/boot/dts/rk3188.dtsi
arch/arm/boot/dts/rk3288.dtsi

index 946f18705e965cb6fdfa357d0839bb594637f14a..1003f9c1ca8a388b06bf2eed9fd28a5fd2a43724 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 6399942f1840cc4ae485c07040f848d1bc630fea..42a67d8fe129e426d40293a6bf9b800d3a8c9bcf 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 16187c39d03575597643fc72b1316876c59e486e..2040a1b0cf764cda6bf5675b5687f68abf58186d 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";
        };