From patchwork Thu Dec 19 08:33:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3375651 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F41B09F344 for ; Thu, 19 Dec 2013 08:37:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B68102060F for ; Thu, 19 Dec 2013 08:37:43 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3BD902060E for ; Thu, 19 Dec 2013 08:37:39 +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 1VtZ6o-00072d-Ej; Thu, 19 Dec 2013 08:37:30 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VtZ6l-0007Wv-T3; Thu, 19 Dec 2013 08:37:27 +0000 Received: from mail-pa0-f44.google.com ([209.85.220.44]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VtZ6b-0007VH-L5 for linux-arm-kernel@lists.infradead.org; Thu, 19 Dec 2013 08:37:26 +0000 Received: by mail-pa0-f44.google.com with SMTP id fa1so868788pad.3 for ; Thu, 19 Dec 2013 00:36:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=hyNwQfCoH2ApAkEW5Zyh52/TwkoHQIjXZypo1ispoBk=; b=aRc4uwYC7ksjKJnrwbTOWWyFmFfw2/Trqr/oh65Xzq6ncfw4HWzHiLJOg72PHUD8yH u/w3Eaj/5jZmY0uGYGU7k3JaBPGqz2QtkiiXJx67BCFgVPMaLJrjIcPzAuiJd8RbWkwH W8vJpDpSjFP48JmGQECLE1h+uQzhn+utJHnTUPqW+vEBeMs9Xhl0EGg3OcBx/ySZAWGt BcE/IEQhP2F4oXkrZWALRe4+Ylk3spaOQ2hONmqukfOy9o5MK06SRkxITJSgGiZFvPp2 q2CSXc6CsDQmnc+J2ctRaz9WpmmMEU0eT2vgi4GSpDNyvlKc9k8wbz2wboiHWOHc98DA s1ng== X-Gm-Message-State: ALoCoQk6aqG0WQM/u908qWUEkkaOuiyt/Eekl54LPJAGA4vUtlu7AiYMwaRfpeHrPz9ODonyCFfk X-Received: by 10.68.190.169 with SMTP id gr9mr350248pbc.30.1387442213383; Thu, 19 Dec 2013 00:36:53 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id qf7sm7132129pac.14.2013.12.19.00.36.49 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Dec 2013 00:36:51 -0800 (PST) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Subject: [PATCH Resend 1/1] clk: exynos5250: Add CLK_SET_RATE_PARENT flag to mout_apll Date: Thu, 19 Dec 2013 14:03:39 +0530 Message-Id: <1387442019-2445-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131219_033717_791680_DBDDB922 X-CRM114-Status: GOOD ( 10.32 ) X-Spam-Score: -2.6 (--) Cc: sachin.kamat@linaro.org, t.figa@samsung.com, mturquette@linaro.org, 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=-4.7 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 Add CLK_SET_RATE_PARENT flag to mout_apll clock. This will let us set the clock rate in the cpufreq driver. Signed-off-by: Sachin Kamat --- drivers/clk/samsung/clk-exynos5250.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5250.c b/drivers/clk/samsung/clk-exynos5250.c index 80f652053cb5..11178b1ad735 100644 --- a/drivers/clk/samsung/clk-exynos5250.c +++ b/drivers/clk/samsung/clk-exynos5250.c @@ -303,7 +303,8 @@ static struct samsung_mux_clock exynos5250_mux_clks[] __initdata = { /* * CMU_CPU */ - MUX_A(none, "mout_apll", mout_apll_p, SRC_CPU, 0, 1, "mout_apll"), + MUX_FA(none, "mout_apll", mout_apll_p, SRC_CPU, 0, 1, + CLK_SET_RATE_PARENT, 0, "mout_apll"), MUX_A(none, "mout_cpu", mout_cpu_p, SRC_CPU, 16, 1, "mout_cpu"), /*