From patchwork Tue Jun 14 17:39:17 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Riesch X-Patchwork-Id: 879722 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5EHgrkC016444 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 14 Jun 2011 17:43:14 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QWXdL-0000zc-KV; Tue, 14 Jun 2011 17:42:35 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QWXdL-0007El-7B; Tue, 14 Jun 2011 17:42:35 +0000 Received: from smtprelay05.ispgateway.de ([80.67.31.93]) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QWXdH-0007ES-Ux for linux-arm-kernel@lists.infradead.org; Tue, 14 Jun 2011 17:42:33 +0000 Received: from [194.24.158.1] (helo=localhost.localdomain) by smtprelay05.ispgateway.de with esmtpa (Exim 4.68) (envelope-from ) id 1QWXcz-0005wp-QX; Tue, 14 Jun 2011 19:42:15 +0200 From: Christian Riesch To: davinci-linux-open-source@linux.davincidsp.com Subject: [PATCH] davinci: da850: add a .set_rate method to ref_clk Date: Tue, 14 Jun 2011 19:39:17 +0200 Message-Id: <1308073157-22993-1-git-send-email-christian.riesch@omicron.at> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: References: X-Df-Sender: christian@riesch.at X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110614_134232_167087_BBFA1FEB X-CRM114-Status: GOOD ( 11.03 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, low trust [80.67.31.93 listed in list.dnswl.org] Cc: Sekhar Nori , Christian Riesch , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Tue, 14 Jun 2011 17:43:14 +0000 (UTC) This patch allows setting the input clock frequency of the SoC from the board specific using the davinci_set_refclk_rate function. Suggested-by: Kevin Hilman Cc: Sekhar Nori Signed-off-by: Christian Riesch --- This patch applies on top of Sekhar's patch. Best regards, Christian arch/arm/mach-davinci/da850.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index 133aac4..27fe3ac 100644 --- a/arch/arm/mach-davinci/da850.c +++ b/arch/arm/mach-davinci/da850.c @@ -58,6 +58,7 @@ static struct pll_data pll0_data = { static struct clk ref_clk = { .name = "ref_clk", .rate = DA850_REF_FREQ, + .set_rate = davinci_simple_set_rate, }; static struct clk pll0_clk = {