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: 3216641 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 236FDC045B for ; Thu, 21 Nov 2013 04:19:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 607F920763 for ; Thu, 21 Nov 2013 04:19:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 958692077F for ; Thu, 21 Nov 2013 04:19:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750906Ab3KUETp (ORCPT ); Wed, 20 Nov 2013 23:19:45 -0500 Received: from mail-pb0-f46.google.com ([209.85.160.46]:55003 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750827Ab3KUETo (ORCPT ); Wed, 20 Nov 2013 23:19:44 -0500 Received: by mail-pb0-f46.google.com with SMTP id md12so4478276pbc.5 for ; Wed, 20 Nov 2013 20:19:44 -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=Pqg4wFrZkQO9LYEiD4vMgJd5fuifXGYeoYKwOx40zkPYBYj9nXmb7iugdbpmF5Dybh gUDDu8+ZqkIDiuLp6X0eW0hxlowK1Et8ABpoxXUtQmKze+po0pUhMHibezyXae+HEz1F kUGd6HnJ5TDmXK4mXYeFxSaXKgm1XvtPF0z3czaakYVjTsABJI7NwWN/UdHAcNHceHTZ +Gyxtw9OrS80x+zhvF6KTjn/fEaQti98ferF2cIQr5XJlFxfOLnEFUJKJazEnJLWOV5U QQtLIw8NYARXPFQFv8yZZ0AP3rmSJ3EqCWoKbgujj2tzyZHBS9k+ag2uYnPJ3OsuKSAZ xysQ== X-Gm-Message-State: ALoCoQlHicxXI3oR0NJb8w4y/ZbmO4NX7XZykQvbg2PVH4mt7NuyNxRLwm8rlzBL7zNhjMQLy0Yf 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 Cc: linux-samsung-soc@vger.kernel.org, mturquette@linaro.org, t.figa@samsung.com, sachin.kamat@linaro.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 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 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"), /*