From patchwork Mon Jul 22 08:12:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanho Park X-Patchwork-Id: 2831133 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7F989C0319 for ; Mon, 22 Jul 2013 08:14:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AD15E200F2 for ; Mon, 22 Jul 2013 08:14:25 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6C909200EB for ; Mon, 22 Jul 2013 08:14:24 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V1BFi-0005ek-Ms; Mon, 22 Jul 2013 08:13:55 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V1BFB-0000tU-Sy; Mon, 22 Jul 2013 08:13:21 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V1BF7-0000sK-R3 for linux-arm-kernel@lists.infradead.org; Mon, 22 Jul 2013 08:13:19 +0000 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MQB004LHW56TTV0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 22 Jul 2013 17:12:42 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.116]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 31.7C.03969.979ECE15; Mon, 22 Jul 2013 17:12:41 +0900 (KST) X-AuditID: cbfee68f-b7f436d000000f81-10-51ece97907ee Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 4B.EB.32250.979ECE15; Mon, 22 Jul 2013 17:12:41 +0900 (KST) Received: from localhost.localdomain ([10.252.81.149]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MQB00EURW534F10@mmp1.samsung.com>; Mon, 22 Jul 2013 17:12:41 +0900 (KST) From: Chanho Park To: mturquette@linaro.org, kgene.kim@samsung.com, thomas.abraham@linaro.org Subject: [PATCH] clk: exynos4: fix g2d/mdma clocks of exynos4x12 Date: Mon, 22 Jul 2013 17:12:30 +0900 Message-id: <1374480750-30962-1-git-send-email-chanho61.park@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrLLMWRmVeSWpSXmKPExsWyRsSkRLfy5ZtAg0sfbSwu79e26F1wlc3i bNMbdotNj6+xWsw4v4/J4umEi2wW62e8ZrE4NmMJowOHx51re9g8Ni+p9+jbsorR4/MmuQCW KC6blNSczLLUIn27BK6M3rsLmAq+cVesfXqBtYFxJlcXIyeHhICJxKF335khbDGJC/fWs3Ux cnEICSxllFh7aBI7TNGcvY0sEIlFjBKnFzxjhnDamCS+nJwAVsUmoCux5fkrRhBbRMBbYvaq l2AdzALbGSVWX2oD2yEs4CBxcdFkMJtFQFXi4Ns3LCA2r4CnxPSVm1i7GDmA1ilIzJlkA9Ir IdDMLvFp1W0WiHoBiW+TD7FA1MhKbDoAdbakxMEVN1gmMAouYGRYxSiaWpBcUJyUXmSsV5yY W1yal66XnJ+7iREYtKf/PevfwXj3gPUhxmSgcROZpUST84FBn1cSb2hsZm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i/Ss43WW P/f9nCf7SFJJtL3mGrO6vYihEktxRqKhFnNRcSIAp9pAws0CAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130722_041318_102642_4315C12C X-CRM114-Status: UNSURE ( 9.85 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -8.3 (--------) Cc: Kyungmin Park , t.figa@samsung.com, linux-samsung-soc@vger.kernel.org, Chanho Park , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The exynos4x12 has different address of GATE_IP_IMAGE reg. We should use EXYNOS4X12_GATE_IP_IMAGE for g2d gating clocks instead of 4210's reg. In case of mdma node, We don't use it for any exynos4 chipsets. I think we'll need to change it to 'none' or leave it on. Signed-off-by: Chanho Park Signed-off-by: Kyungmin Park --- drivers/clk/samsung/clk-exynos4.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos4.c b/drivers/clk/samsung/clk-exynos4.c index 1bdb882..6300c9d 100644 --- a/drivers/clk/samsung/clk-exynos4.c +++ b/drivers/clk/samsung/clk-exynos4.c @@ -820,8 +820,10 @@ struct samsung_gate_clock exynos4210_gate_clks[] __initdata = { struct samsung_gate_clock exynos4x12_gate_clks[] __initdata = { GATE(audss, "audss", "sclk_epll", E4X12_GATE_IP_MAUDIO, 0, 0, 0), GATE(mdnie0, "mdnie0", "aclk160", GATE_IP_LCD0, 2, 0, 0), + GATE(g2d, "g2d", "aclk200", E4X12_GATE_IP_IMAGE, 0, 0, 0), GATE(rotator, "rotator", "aclk200", E4X12_GATE_IP_IMAGE, 1, 0, 0), - GATE(mdma2, "mdma2", "aclk200", E4X12_GATE_IP_IMAGE, 2, 0, 0), + GATE(mdma, "mdma", "aclk200", E4X12_GATE_IP_IMAGE, 2, 0, 0), + GATE(smmu_g2d, "smmu_g2d", "aclk200", E4X12_GATE_IP_IMAGE, 3, 0, 0), GATE(smmu_mdma, "smmu_mdma", "aclk200", E4X12_GATE_IP_IMAGE, 5, 0, 0), GATE(mipi_hsi, "mipi_hsi", "aclk133", GATE_IP_FSYS, 10, 0, 0), GATE(chipid, "chipid", "aclk100", E4X12_GATE_IP_PERIR, 0, 0, 0),