From patchwork Thu Feb 9 03:12:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 93661 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp56659qgi; Wed, 8 Feb 2017 19:13:36 -0800 (PST) X-Received: by 10.98.50.66 with SMTP id y63mr1108410pfy.21.1486610016407; Wed, 08 Feb 2017 19:13:36 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1si8800394pga.393.2017.02.08.19.13.36; Wed, 08 Feb 2017 19:13:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750968AbdBIDNe (ORCPT + 7 others); Wed, 8 Feb 2017 22:13:34 -0500 Received: from mail-pg0-f42.google.com ([74.125.83.42]:34864 "EHLO mail-pg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751025AbdBIDNd (ORCPT ); Wed, 8 Feb 2017 22:13:33 -0500 Received: by mail-pg0-f42.google.com with SMTP id 194so53500593pgd.2 for ; Wed, 08 Feb 2017 19:13:32 -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=NYPBap0Pb5hBccxoAoQ2KJvjNRZ5UscbzJlGOG5pi8E=; b=C1BM67AqZJPYKT/aKr4hUlIwN2LKMLgPAvYJlhaVs03IBEUJDFgBjWAVGvNBixKSGw QnaGiDvT3PKybDXCSck50CvPdz61Rtx6fRvXTO1UMJVwC/3YhqYdAYL0oeA0zdoFMAvL aw7/t4+OO0VuwLj81Nm74PrHS3tPUVYJbxW0w= 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=NYPBap0Pb5hBccxoAoQ2KJvjNRZ5UscbzJlGOG5pi8E=; b=ctJz03q+3cCkrCCTfJyFB0V3QLigXzsjm3b9aAVT8eeMXwn0OmUV8YuNAX/dLaxPfU qK9Wgge2pEtvKMXGeH1sNO8l8Iu+EwQoQpfsvZq9H8qFyu7ex3S+q0cVz43Vw4d0lvFi K9l+4OZCS+Gaj8MHeOP9gKhrNimt3Jy86LKRlJ8NiZinNyU1NQu9PC6p545m6ofTI1vz GFQRsX4M/w7BsIh97tc6GNkZvC8S1UtKRlvrOi9aBIL4uehtIlysBs2KOJXQJBcYIWvm CPMmXOkhTKS1mo3PkZ7lpSAbL6GKloPhAh52EzocNL1Bq+uN96EC37onlIy2xrFPNqAu 8MzQ== X-Gm-Message-State: AMke39nJ7ZBgKix0oyeCjhKUEDVc5bGf4nzXDRzQ9oHgu2/SIpIBC3+qwaKdtZsLIFlnlWsV X-Received: by 10.84.197.3 with SMTP id m3mr1182805pld.89.1486610012281; Wed, 08 Feb 2017 19:13:32 -0800 (PST) Received: from localhost.localdomain ([104.237.91.118]) by smtp.gmail.com with ESMTPSA id c74sm23767201pfc.1.2017.02.08.19.13.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Feb 2017 19:13:31 -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 v4 1/3] clk: zte: add i2s clocks for zx296718 Date: Thu, 9 Feb 2017 11:12:56 +0800 Message-Id: <1486609978-18482-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/clk/zte/clk-zx296718.c b/drivers/clk/zte/clk-zx296718.c index ad5d1df..2f7c668 100644 --- a/drivers/clk/zte/clk-zx296718.c +++ b/drivers/clk/zte/clk-zx296718.c @@ -936,6 +936,10 @@ static struct zx_clk_gate audio_gate_clk[] = { GATE(AUDIO_I2S1_WCLK, "i2s1_wclk", "i2s1_wclk_div", AUDIO_I2S1_CLK, 9, CLK_SET_RATE_PARENT, 0), GATE(AUDIO_I2S2_WCLK, "i2s2_wclk", "i2s2_wclk_div", AUDIO_I2S2_CLK, 9, CLK_SET_RATE_PARENT, 0), GATE(AUDIO_I2S3_WCLK, "i2s3_wclk", "i2s3_wclk_div", AUDIO_I2S3_CLK, 9, CLK_SET_RATE_PARENT, 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), GATE(AUDIO_I2C0_WCLK, "i2c0_wclk", "i2c0_wclk_mux", AUDIO_I2C0_CLK, 9, CLK_SET_RATE_PARENT, 0), GATE(AUDIO_SPDIF0_WCLK, "spdif0_wclk", "spdif0_wclk_div", AUDIO_SPDIF0_CLK, 9, CLK_SET_RATE_PARENT, 0), GATE(AUDIO_SPDIF1_WCLK, "spdif1_wclk", "spdif1_wclk_div", AUDIO_SPDIF1_CLK, 9, CLK_SET_RATE_PARENT, 0),