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: 93431 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp1782836obz; Mon, 6 Feb 2017 05:51:31 -0800 (PST) X-Received: by 10.84.135.34 with SMTP id 31mr17622478pli.50.1486389091064; Mon, 06 Feb 2017 05:51:31 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s185si734106pgc.259.2017.02.06.05.51.30; Mon, 06 Feb 2017 05:51:31 -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 S1752744AbdBFNv1 (ORCPT + 7 others); Mon, 6 Feb 2017 08:51:27 -0500 Received: from mail-pf0-f170.google.com ([209.85.192.170]:36781 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752822AbdBFNv0 (ORCPT ); Mon, 6 Feb 2017 08:51:26 -0500 Received: by mail-pf0-f170.google.com with SMTP id 189so24434283pfu.3 for ; Mon, 06 Feb 2017 05:51:26 -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=WRN7cBCTFvhEsx1xcYo/agYxUu1PyKQXOvGImZVk+euE1LDNIj9t8c4U5uhqwtNb6Q W2zUu+EmFl/rZ3j6BLmUakr+3NVQroysNn6TYG5R+ZyohcAFjtX25I1JQtuJHbEIbpQj 09He6pIzNdUt7v5Y1/WLLmOx+TTHHOT3jMpKy/YUo+EMDMXNgXZryFgP/vYz3N8Sh21F TAd3r+DhI6mrYy26RthJ9Sd6phKyDy8aWWgl7Znec2CNwCxhQ4FbK4NaZSrZpqLORgDm Nr2U9/4nldHzLD2jak3fPFFf/v04vjKclQJ4/qpV7600vJGTADomRgv6AjIDi3L1kiNO /3Vg== X-Gm-Message-State: AIkVDXLNXsLlrBtAIm9vFHb86ZaS03GkXKukeG5J1Fro7yocWQij3pcpVBIyVROhL27+mj2k 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: 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..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 = {