From patchwork Wed Nov 19 03:06:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianqun Xu X-Patchwork-Id: 5334181 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 9E5AF9F1E1 for ; Wed, 19 Nov 2014 03:07:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BDD82201F5 for ; Wed, 19 Nov 2014 03:07:15 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 951DC20122 for ; Wed, 19 Nov 2014 03:07:14 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id A300E265453; Wed, 19 Nov 2014 04:07:13 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id BF8C4260574; Wed, 19 Nov 2014 04:06:40 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id DBE0A260556; Wed, 19 Nov 2014 04:06:38 +0100 (CET) Received: from irl-smtp01.263.net (irl-smtp01.263.net [54.76.167.174]) by alsa0.perex.cz (Postfix) with ESMTP id E6C7E2604E9 for ; Wed, 19 Nov 2014 04:06:37 +0100 (CET) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by irl-smtp01.263.net (Postfix) with ESMTP id 5903B7F8F0; Wed, 19 Nov 2014 03:06:28 +0000 (UTC) X-RL-SENDER: jay.xu@rock-chips.com X-SENDER-IP: 127.0.0.1 X-LOGIN-NAME: jay.xu@rock-chips.com X-UNIQUE-TAG: <6fdb93b48037068fbb3b10ac95943858> X-ATTACHMENT-NUM: 0 X-SENDER: xjq@rock-chips.com X-DNS-TYPE: 1 Received: from unknown (localhost [127.0.0.1]) by irl-smtp01.263.net (Postfix) whith SMTP id 250380H0LHE; Wed, 19 Nov 2014 03:06:27 +0000 (UTC) From: Jianqun Xu To: heiko@sntech.de, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.de, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, huangtao@rock-chips.com Date: Wed, 19 Nov 2014 11:06:04 +0800 Message-Id: <1416366365-4632-2-git-send-email-jay.xu@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1416366365-4632-1-git-send-email-jay.xu@rock-chips.com> References: <1416366365-4632-1-git-send-email-jay.xu@rock-chips.com> Cc: Jianqun Xu Subject: [alsa-devel] [PATCH 1/2] ASoC: rockchip-i2s: dt: add i2s_clkout to list of clocks X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Add i2s_clkout property, which enables output clock to chip outside, this is generally for audio codec outside. Also add it to example. Signed-off-by: Jianqun Xu --- Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/rockchip-i2s.txt b/Documentation/devicetree/bindings/sound/rockchip-i2s.txt index 9b82c20..3d23b15 100644 --- a/Documentation/devicetree/bindings/sound/rockchip-i2s.txt +++ b/Documentation/devicetree/bindings/sound/rockchip-i2s.txt @@ -21,6 +21,7 @@ Required properties: - clock-names: should contain followings: - "i2s_hclk": clock for I2S BUS - "i2s_clk" : clock for I2S controller + - "i2s_clko" : clock for codec outside of chip Example for rk3288 I2S controller: @@ -32,6 +33,6 @@ i2s@ff890000 { #size-cells = <0>; dmas = <&pdma1 0>, <&pdma1 1>; dma-names = "tx", "rx"; - clock-names = "i2s_hclk", "i2s_clk"; - clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>; + clock-names = "i2s_hclk", "i2s_clk", "i2s_clko"; + clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>, <&cru SCLK_I2S0_CLKOUT>; };