From patchwork Thu Nov 21 04:17:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3216661 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 12AC8C045B for ; Thu, 21 Nov 2013 04:20:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 50ED020763 for ; Thu, 21 Nov 2013 04:20:23 +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 6BEB720760 for ; Thu, 21 Nov 2013 04:20:22 +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 1VjLkV-0002SW-Pu; Thu, 21 Nov 2013 04:20:15 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VjLkT-0008JI-CS; Thu, 21 Nov 2013 04:20:13 +0000 Received: from mail-pb0-f54.google.com ([209.85.160.54]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VjLkQ-0008Ia-6p for linux-arm-kernel@lists.infradead.org; Thu, 21 Nov 2013 04:20:10 +0000 Received: by mail-pb0-f54.google.com with SMTP id un15so4492711pbc.41 for ; Wed, 20 Nov 2013 20:19:45 -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=xnmR6ipfWIYl3gOSBdxWO55dSzfBFzdz3SJ+MmJQQ/U=; b=AhgL3xIO1XHLcmLCskORBWMhZVp+shAL8cy4qwKL6+tVeCzZEj0pTN1r3vsel7e6lb uT1Od3qqX/Vkp119sBdMd6smSlD/nU2982SxugDFV+nwTc7J63Oi6KzjFTZn3LG6QqOq e214CmAGfZ7YBDKxz6ZvH4iqx0xESZeShWssC9wlhQyMrXH9xxxR7chDhF2yGtF1Ed8v VIg01VW/0RLnoCfJiomMmBd1kcr9TVU1bCuATRLVqgW8vB4/fT35s5OeMUYeXxA8oCGq YY6BX5mCSHcfRZM5WPv31TZNCd6tLCivw0HuNU8hvKu7wrq+1b5vnrV6jMZ3DJbrpr7m atXA== X-Gm-Message-State: ALoCoQnxTzEhMHz/xXavc+iimMIJ57Uy+mqWiDZhd3pO3RFTltVpuamJj9nlA6Bx/hpLhXRRZJ8F X-Received: by 10.66.171.13 with SMTP id aq13mr4271451pac.30.1385007584073; Wed, 20 Nov 2013 20:19:44 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id vk17sm47662642pab.5.2013.11.20.20.19.41 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 20 Nov 2013 20:19:43 -0800 (PST) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/1] clk: exynos5250: Add CLK_SET_RATE_PARENT flag to mout_apll Date: Thu, 21 Nov 2013 09:47:34 +0530 Message-Id: <1385007454-5234-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-20131120_232010_317588_77513458 X-CRM114-Status: GOOD ( 10.03 ) X-Spam-Score: -2.6 (--) Cc: sachin.kamat@linaro.org, t.figa@samsung.com, linux-samsung-soc@vger.kernel.org, mturquette@linaro.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 be able to change the frequency to desired value. 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"), /*