From patchwork Tue Feb 7 03:02:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 9559133 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0BD1C604DC for ; Tue, 7 Feb 2017 03:04:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F25C6212E8 for ; Tue, 7 Feb 2017 03:04:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E530427FC0; Tue, 7 Feb 2017 03:04:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, HK_RANDOM_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6BCA4212E8 for ; Tue, 7 Feb 2017 03:04:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752616AbdBGDDZ (ORCPT ); Mon, 6 Feb 2017 22:03:25 -0500 Received: from mail-pf0-f177.google.com ([209.85.192.177]:34995 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752300AbdBGDDW (ORCPT ); Mon, 6 Feb 2017 22:03:22 -0500 Received: by mail-pf0-f177.google.com with SMTP id f144so28948200pfa.2 for ; Mon, 06 Feb 2017 19:03:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=xEPYh6F54E8L79O+qL6tn6ZDUJIoB74Pb2SXSQ/sRv4=; b=Re7FXYgn12vagivSxeiS/hxtyANN1kreEX0TwjB3o0Y5vdAlqjU9YGAtVUV3UT0hji wFtkJ6smjKPet7LLj763r7/0pj/xxnNPKn6IFYLI7Dv7BOIbTsOeKEdzu9K5eZuG0s1A RYkzxYC/nQL0sALrzhaGOpO1g4WdmzYU3nLIA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=xEPYh6F54E8L79O+qL6tn6ZDUJIoB74Pb2SXSQ/sRv4=; b=JzlwAp3Gd3RYBTO6H2/e0ovmbtckELEytNfeG8Lq5XvkB245dEwsTo/CgMgXkG3aN+ YPeSF/QPElh8U6UaGJn02hVRLNuc8skVOlHhDOHPy2jNp/Jsm0/4BAnqevMq5toi/cWb Gmvvh2yEs3bNZrshwrn2HxQZ4p+ckqxieAFt2xIRx+k8ndTRHpvM4M75WI5jXq0FzEfU UXs9SCgq68TLTsIp81v5PFweFRyROAfD35jvoa/fKR6im8Iz5DK9TtdBW9bvV3x/69UK vCVdjsE+UeuB3FkNWoB5YDudDwyYxwT7QVyoX9XAY2EzGnXHQTpl1ZgKu8YMDKa5pjWz cSDQ== X-Gm-Message-State: AIkVDXJw1UMqbICILKqjnF/1MuEI0uYsaNXSWK7NpOAeW56FyNkkZDPyxFA4sx+XKuXbbL23 X-Received: by 10.84.231.140 with SMTP id g12mr22151108plk.76.1486436601831; Mon, 06 Feb 2017 19:03:21 -0800 (PST) Received: from localhost.localdomain ([45.56.152.31]) by smtp.gmail.com with ESMTPSA id k76sm5898563pfg.42.2017.02.06.19.03.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Feb 2017 19:03:21 -0800 (PST) From: Baoyou Xie To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, jun.nie@linaro.org, baoyou.xie@linaro.org, mturquette@baylibre.com, sboyd@codeaurora.org, perex@perex.cz, tiwai@suse.com, shawn.guo@linaro.org, vinod.koul@intel.com Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, shawnguo@kernel.org, xie.baoyou@zte.com.cn, chen.chaokai@zte.com.cn, wang.qiang01@zte.com.cn Subject: [PATCH v2 1/3] clk: zte: add i2s clocks for zx296718 Date: Tue, 7 Feb 2017 11:02:49 +0800 Message-Id: <1486436571-8682-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The i2s related clock support is missing from the existing zx296718 clock driver. This patch adds it, so that the upstream ZX I2S driver can work out. Signed-off-by: Baoyou Xie --- drivers/clk/zte/clk-zx296718.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/clk/zte/clk-zx296718.c b/drivers/clk/zte/clk-zx296718.c index ad5d1df..f106d40 100644 --- a/drivers/clk/zte/clk-zx296718.c +++ b/drivers/clk/zte/clk-zx296718.c @@ -941,6 +941,10 @@ static struct zx_clk_gate audio_gate_clk[] = { GATE(AUDIO_SPDIF1_WCLK, "spdif1_wclk", "spdif1_wclk_div", AUDIO_SPDIF1_CLK, 9, CLK_SET_RATE_PARENT, 0), GATE(AUDIO_TDM_WCLK, "tdm_wclk", "tdm_wclk_div", AUDIO_TDM_CLK, 17, CLK_SET_RATE_PARENT, 0), GATE(AUDIO_TS_PCLK, "tempsensor_pclk", "clk49m5", AUDIO_TS_CLK, 1, 0, 0), + GATE(AUDIO_I2S0_PCLK, "i2s0_pclk", "clk49m5", AUDIO_I2S0_CLK, 8, 0, 0), + GATE(AUDIO_I2S1_PCLK, "i2s1_pclk", "clk49m5", AUDIO_I2S1_CLK, 8, 0, 0), + GATE(AUDIO_I2S2_PCLK, "i2s2_pclk", "clk49m5", AUDIO_I2S2_CLK, 8, 0, 0), + GATE(AUDIO_I2S3_PCLK, "i2s3_pclk", "clk49m5", AUDIO_I2S3_CLK, 8, 0, 0), }; static struct clk_hw_onecell_data audio_hw_onecell_data = {