Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751468Ab1BUX33 (ORCPT ); Mon, 21 Feb 2011 18:29:29 -0500 Received: from adelie.canonical.com ([91.189.90.139]:59400 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750777Ab1BUX31 (ORCPT ); Mon, 21 Feb 2011 18:29:27 -0500 From: Jeremy Kerr To: Ryan Mallon Subject: Re: [PATCH 2/2] clk: Generic support for fixed-rate clocks Date: Tue, 22 Feb 2011 07:29:11 +0800 User-Agent: KMail/1.13.5 (Linux/2.6.35-25-generic; KDE/4.5.1; x86_64; ; ) Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Nicolas Pitre , Dima Zavin , Lorenzo Pieralisi , Vincent Guittot , linux-sh@vger.kernel.org, Ben Herrenchmidt , "Uwe =?iso-8859-1?q?Kleine-K=F6nig?=" , Sascha Hauer , Paul Mundt , Saravana Kannan , Ben Dooks , Russell King References: <1298256658.862488.956979497586.2.gpush@pororo> <4D62C237.1020803@bluewatersys.com> In-Reply-To: <4D62C237.1020803@bluewatersys.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201102220729.13708.jeremy.kerr@canonical.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 759 Lines: 22 Hi Ryan, > If we never need to dynamically create fixed clocks (which seems > unlikely) then rate can be const. There's been a few cases where I've needed to set the rate of a fixed clock during boot - for example when a clock rate varies between boards, it may be defined in a platform-wide file, but have the rate modified early (ie, clk_foo.rate = 32678) in a board file. Also, if we're parsing clocks from the device tree (or any other discovery mechanism), we'll need to modify rate. Cheers, Jeremy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/