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: 3375641 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 A5FEBC0D4A for ; Thu, 19 Dec 2013 08:37:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C30C12060F for ; Thu, 19 Dec 2013 08:36:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C17192060E for ; Thu, 19 Dec 2013 08:36:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751832Ab3LSIgy (ORCPT ); Thu, 19 Dec 2013 03:36:54 -0500 Received: from mail-pa0-f50.google.com ([209.85.220.50]:40162 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751477Ab3LSIgx (ORCPT ); Thu, 19 Dec 2013 03:36:53 -0500 Received: by mail-pa0-f50.google.com with SMTP id kl14so856596pab.37 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=KpFwUiZhgoTl0uKleupNPg0ajK1nTbRsNd5NfxeMSvpvtrXL9UuLUvGxTN1kr0QLon Y7vElzfN3EPELEwGdyNIv4yUPx8T1lPTWIhTC5K3DHD/hrckf0ZeKFyLdXYHiFeAERbW 5S0j4RZGCqp5fp0DATKkE2vDBaZz3zLbVwyAyx4F017uUoNKlAFP61mDpNznhJQ+k9WP 5AByKCp+za8YDB8D48qu+JKmmr+fN0332/rU1yd7CUMqv4Q2R8EJfYmpDhttYlD6mbFZ g3anLWBjSVMlxyrK8modn+M+n6ESdsFWykZzB45nisXKNxXlIpkQnLFzRMZ69b4DeZ69 J4zA== X-Gm-Message-State: ALoCoQnDbt7WQvngU1M9DE8tD7DnULFxRdVLC9/1d1E3xn+PocSC9HcaW1rmvOBPPj2xBcVzvnXw 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 Cc: linux-arm-kernel@lists.infradead.org, t.figa@samsung.com, mturquette@linaro.org, sachin.kamat@linaro.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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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"), /*