linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/3] clk: zte: add i2s clocks for zx296718
@ 2017-02-08  3:02 Baoyou Xie
  2017-02-08  3:02 ` [PATCH v3 2/3] ASoC: zx-i2s: introduce pclk for zx2967 family Baoyou Xie
  2017-02-08  3:02 ` [PATCH v3 3/3] " Baoyou Xie
  0 siblings, 2 replies; 8+ messages in thread
From: Baoyou Xie @ 2017-02-08  3:02 UTC (permalink / raw)
  To: lgirdwood, broonie, robh+dt, mark.rutland, jun.nie, baoyou.xie,
	mturquette, sboyd, perex, tiwai, shawn.guo, vinod.koul
  Cc: alsa-devel, devicetree, linux-kernel, linux-arm-kernel,
	linux-clk, shawnguo, mathieu.poirier, xie.baoyou, chen.chaokai,
	wang.qiang01

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 <baoyou.xie@linaro.org>
---
 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 = {
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-02-09 22:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-08  3:02 [PATCH v3 1/3] clk: zte: add i2s clocks for zx296718 Baoyou Xie
2017-02-08  3:02 ` [PATCH v3 2/3] ASoC: zx-i2s: introduce pclk for zx2967 family Baoyou Xie
2017-02-09  0:52   ` Rob Herring
2017-02-09  1:48     ` Shawn Guo
2017-02-09 12:06       ` Mark Brown
2017-02-09 22:47         ` Rob Herring
2017-02-08  3:02 ` [PATCH v3 3/3] " Baoyou Xie
2017-02-08 14:25   ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).