From patchwork Wed Feb 8 03:02:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 9561715 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 AA18D60434 for ; Wed, 8 Feb 2017 03:05:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A3882840B for ; Wed, 8 Feb 2017 03:05:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8E86128495; Wed, 8 Feb 2017 03:05:24 +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 4005028488 for ; Wed, 8 Feb 2017 03:05:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751820AbdBHDFX (ORCPT ); Tue, 7 Feb 2017 22:05:23 -0500 Received: from mail-pg0-f53.google.com ([74.125.83.53]:33117 "EHLO mail-pg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751567AbdBHDFW (ORCPT ); Tue, 7 Feb 2017 22:05:22 -0500 Received: by mail-pg0-f53.google.com with SMTP id 204so44328286pge.0 for ; Tue, 07 Feb 2017 19:03:54 -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=jkhNm70YFlNLyC67tO2H4DjQMD5C0JX0oW2rGwsI+Z6w50UW2wyQ5Z27dh7WyqrA7j siTm1u7Z2iSbsMLBcHgSyXOcD7xE7t8WP7h123m16++1Qe/r238XIdKSxuM3KNDFTWGH vp37zCBvvlePUn2eBOsm6hW0sdWwsKfzyxBDo= 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=fP0RSNuZ4BfwnXZMlD31NUOlg3IlBBCRcmCyXmN/VvdTcj4F3w0m8VZ1nv6/C31cXg NcZ07yEn56+EuIdg21WVr9y/T06nMjz+Xf6s2eoz8GCYaKS75Rq40IJK3Ph2IfnIBran 954LknLiW3QunglJfjenG967GF3y6DW16tAhqP+PgvCbyOXsQWhJ6mJSlsAv1Ag25U7S jd2HDhiDC1KNNZn8hQDbYBNpuKwZ66YMl0uMdNVRwbLi4qEjGOOaGnmirw1ynMCNTmOc fKYQY0Zf9xlp8MeUoYe2/G096ewpjV1tv3efZeNb4m0Yqss4bkbYrixRcyE41NT5cXUY sqhw== X-Gm-Message-State: AIkVDXKmh8aNllp5s7gpBBzMKR4RjaM7iTN3bb1PZhgYPLA7GWtxOFpV6IWciaQ/hXtLpXxC X-Received: by 10.84.129.3 with SMTP id 3mr30655178plb.153.1486523033570; Tue, 07 Feb 2017 19:03:53 -0800 (PST) Received: from localhost.localdomain ([45.56.152.31]) by smtp.gmail.com with ESMTPSA id j78sm14837374pfk.39.2017.02.07.19.03.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Feb 2017 19:03:52 -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, mathieu.poirier@linaro.org, xie.baoyou@zte.com.cn, chen.chaokai@zte.com.cn, wang.qiang01@zte.com.cn Subject: [PATCH v3 1/3] clk: zte: add i2s clocks for zx296718 Date: Wed, 8 Feb 2017 11:02:33 +0800 Message-Id: <1486522955-14528-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 = {