From patchwork Wed Jul 30 07:55:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Abraham X-Patchwork-Id: 34498 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f197.google.com (mail-ig0-f197.google.com [209.85.213.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 05C4220DCC for ; Wed, 30 Jul 2014 07:58:50 +0000 (UTC) Received: by mail-ig0-f197.google.com with SMTP id r2sf6769354igi.8 for ; Wed, 30 Jul 2014 00:58:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:dlp-filter:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=F09gA+/XWYjQv0QTdtx1t4O0QqplCunOyExjGUCLllk=; b=fFkZa4AnrNg4Oz2aHAqkJVV8X6rqsoNhplCR0FokVwVMQRvJsNBqOcj9AT8951m7aF 82PPOiHkQxPZfpYmuEbD/sEBLoT0mLWcNOlH0y2gtiZjr8Ngk1XvzepP33t6Slj4WccG 7QyUjfRs+6w8/9gk8PRf+TcfCfj2AcIcONnR515yNGqCEXiLdpHRKOzEAS/Iu40W1e0H kGtMOh7uY6wuJ5EFixw9M/7W5PrNi/XwoYML73S1oeyY1ZwloWF0NZyACls5DL5oUAUc DJ370myHKPMxedfnmQ0LQNezup5iCT1LAnzjaTsgQXxL8yRP9T1Ac1wy0CIKwyAIJK1b 2irA== X-Gm-Message-State: ALoCoQkEU5aMHJhe4p4hds66w+zfabhXOy1DMG5pFWu4KRKFw9KjQrNL/aMoz3Mexkph0UKqfRdT X-Received: by 10.182.34.130 with SMTP id z2mr1125352obi.3.1406707130501; Wed, 30 Jul 2014 00:58:50 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.91.80 with SMTP id y74ls409959qgd.0.gmail; Wed, 30 Jul 2014 00:58:50 -0700 (PDT) X-Received: by 10.220.166.9 with SMTP id k9mr2137795vcy.20.1406707130368; Wed, 30 Jul 2014 00:58:50 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id cn9si1010282vcb.71.2014.07.30.00.58.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Jul 2014 00:58:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id hy10so1210979vcb.18 for ; Wed, 30 Jul 2014 00:58:50 -0700 (PDT) X-Received: by 10.52.244.81 with SMTP id xe17mr5853476vdc.24.1406707130284; Wed, 30 Jul 2014 00:58:50 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp8390vcb; Wed, 30 Jul 2014 00:58:49 -0700 (PDT) X-Received: by 10.68.139.225 with SMTP id rb1mr2457461pbb.153.1406707129396; Wed, 30 Jul 2014 00:58:49 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wk8si1488253pab.59.2014.07.30.00.58.48 for ; Wed, 30 Jul 2014 00:58:49 -0700 (PDT) Received-SPF: none (google.com: linux-samsung-soc-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750977AbaG3H6r (ORCPT + 6 others); Wed, 30 Jul 2014 03:58:47 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:61964 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750949AbaG3H6q (ORCPT ); Wed, 30 Jul 2014 03:58:46 -0400 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 <0N9I007AZM5WCO40@mailout3.samsung.com> for linux-samsung-soc@vger.kernel.org; Wed, 30 Jul 2014 16:58:44 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.124]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 04.1A.14752.0B5A8D35; Wed, 30 Jul 2014 16:58:40 +0900 (KST) X-AuditID: cbfee68f-b7fa26d0000039a0-4e-53d8a5b03c18 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 0E.70.05196.0B5A8D35; Wed, 30 Jul 2014 16:58:40 +0900 (KST) Received: from chromebld-server.sisodomain.com ([107.108.73.106]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N9I000LDM5MS6C0@mmp2.samsung.com>; Wed, 30 Jul 2014 16:58:40 +0900 (KST) From: Thomas Abraham To: t.figa@samsung.com Cc: linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH] clk: exynos4: remove duplicate div_core2 divider clock instantiation Date: Wed, 30 Jul 2014 13:25:32 +0530 Message-id: <1406706932-10527-1-git-send-email-thomas.ab@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrMLMWRmVeSWpSXmKPExsWyRsSkRnfD0hvBBuePaFn0LrjKZrHp8TVW ixnn9zFZrJ/xmsWBxWPzknqPvi2rGD0+b5ILYI7isklJzcksSy3St0vgyvhw4QJjwWe+imNP DjE2MJ7j6WLk5JAQMJHYuuQEE4QtJnHh3nq2LkYuD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UoP76oNCe1+BCjKdDyicxSosn5wNjLK4k3NDYxNzU2tTSxMDGzVBLnPdhqHSgkkJ5Y kpqdmlqQWgTTx8TBKdXAWGladHR5l4+yzaFGp50zdlyUXfN9s8d9iX4fXv0aZy0BVW2FMPkp xbPOXhR+ujXo1U7Jx7WSJ6ZfnbJdx2F+X/DJpTbxpxXqMvzO6a66uujUu1vWM5ftWfMqe5+A xsRlgcsOnvsaVxvxml/zctrh+f/nTc/8Z+N++ccxT5vjN+6FWr+tqBb0nazEUpyRaKjFXFSc CAC6VnJYhQIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: thomas.ab@samsung.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The 'div_core2' clock and the 'arm_clk' divider clocks are instances of the same divider clock. So remove the 'arm_clk' clock instance. Signed-off-by: Thomas Abraham --- This patch is based on for-next branch of Samsung clock tree. drivers/clk/samsung/clk-exynos4.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos4.c b/drivers/clk/samsung/clk-exynos4.c index ac163d7..8617f49 100644 --- a/drivers/clk/samsung/clk-exynos4.c +++ b/drivers/clk/samsung/clk-exynos4.c @@ -719,7 +719,7 @@ static struct samsung_div_clock exynos4_div_clks[] __initdata = { DIV(0, "div_periph", "div_core2", DIV_CPU0, 12, 3), DIV(0, "div_atb", "mout_core", DIV_CPU0, 16, 3), DIV(0, "div_pclk_dbg", "div_atb", DIV_CPU0, 20, 3), - DIV(0, "div_core2", "div_core", DIV_CPU0, 28, 3), + DIV(CLK_ARM_CLK, "div_core2", "div_core", DIV_CPU0, 28, 3), DIV(0, "div_copy", "mout_hpm", DIV_CPU1, 0, 3), DIV(0, "div_hpm", "div_copy", DIV_CPU1, 4, 3), DIV(0, "div_clkout_cpu", "mout_clkout_cpu", CLKOUT_CMU_CPU, 8, 6), @@ -769,7 +769,6 @@ static struct samsung_div_clock exynos4_div_clks[] __initdata = { DIV(0, "div_spi_pre2", "div_spi2", DIV_PERIL2, 8, 8), DIV(0, "div_audio1", "mout_audio1", DIV_PERIL4, 0, 4), DIV(0, "div_audio2", "mout_audio2", DIV_PERIL4, 16, 4), - DIV(CLK_ARM_CLK, "arm_clk", "div_core2", DIV_CPU0, 28, 3), DIV(CLK_SCLK_APLL, "sclk_apll", "mout_apll", DIV_CPU0, 24, 3), DIV_F(0, "div_mipi_pre0", "div_mipi0", DIV_LCD0, 20, 4, CLK_SET_RATE_PARENT, 0), @@ -1486,7 +1485,7 @@ static void __init exynos4_clk_init(struct device_node *np, exynos4_soc == EXYNOS4210 ? "Exynos4210" : "Exynos4x12", _get_rate("sclk_apll"), _get_rate("sclk_mpll"), _get_rate("sclk_epll"), _get_rate("sclk_vpll"), - _get_rate("arm_clk")); + _get_rate("div_core2")); }