From patchwork Mon Feb 6 13:50:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 9557959 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 B1F3860242 for ; Mon, 6 Feb 2017 13:51:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A00DC2022B for ; Mon, 6 Feb 2017 13:51:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 940CD26E90; Mon, 6 Feb 2017 13:51:29 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, HK_RANDOM_FROM,RCVD_IN_DNSWL_HI,RCVD_IN_SORBS_SPAM,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 2736C269DA for ; Mon, 6 Feb 2017 13:51:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752877AbdBFNv1 (ORCPT ); Mon, 6 Feb 2017 08:51:27 -0500 Received: from mail-pf0-f177.google.com ([209.85.192.177]:33728 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752783AbdBFNv0 (ORCPT ); Mon, 6 Feb 2017 08:51:26 -0500 Received: by mail-pf0-f177.google.com with SMTP id y143so24451042pfb.0 for ; Mon, 06 Feb 2017 05:51:25 -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=cVXjhhWeE90IHsE6KlzzHULVdXcNE91ii3UMPp/HcgzatgTf5HHlBDgSfOtSeLJcbr +DCxabEzmsBX4zo4vBPUNaifQUrnH5nOSZIRO65cx1+8RU0J06wR+R6mNUG4nynMDl3n KkMHoHbZuu72Dsw05LUYCcTipycpGVfsQ8zps= 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=JxQN7w1jo24dUVu6RF7HtVPovy6lKfP0xSiTe2or7hmsvm7gLGxsj0zzALSP2SJDeQ S9N6/sEF0g47WTdLXs/spGBcPtrLV0XMvyT7Bmmk0XgDCiHLeQkAhnjYiDVW8XTbX0Gh yJy0ilpXM9k1KF5lJjhFfJ9k2TtiC0S6T54aEdf6Xoh9y1rheY6/uMf4dnp7qFz+y/Kc J0w6N+/VicJWBkeZZrdAZxRwOvHhmPLtDibb6Dj48SXhPV4POcg70NtAMeY5nVopg8CU HHg9vUCT9FV3ebmHlDhgWRM42i0RH7xbApGE0/2sVk84kZ6wh+cAVoIvlFI/SxVGJVv0 +QNQ== X-Gm-Message-State: AIkVDXJaC67qsaQW0IG7/ITboxSxGaEc4u0dWzrKrl4FZZvmGSIwzHBUk/Bf9hzdqbqsAVLw X-Received: by 10.84.232.197 with SMTP id x5mr17683374plm.111.1486389085424; Mon, 06 Feb 2017 05:51:25 -0800 (PST) Received: from localhost.localdomain ([104.237.91.232]) by smtp.gmail.com with ESMTPSA id g28sm3130054pgn.3.2017.02.06.05.51.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Feb 2017 05:51:24 -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 v1 1/3] clk: zte: add i2s clocks for zx296718 Date: Mon, 6 Feb 2017 21:50:18 +0800 Message-Id: <1486389020-29432-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 = {