From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Tue, 21 Dec 2010 13:44:43 +0000 Subject: [PATCH v2 2/3] ARM: timer-sp: support timer clock freq other than 1MHz In-Reply-To: <1286030086-25556-3-git-send-email-robherring2@gmail.com> References: <1286030086-25556-1-git-send-email-robherring2@gmail.com> <1286030086-25556-3-git-send-email-robherring2@gmail.com> Message-ID: <20101221134443.GA1556@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Sat, Oct 02, 2010 at 09:34:45AM -0500, Rob Herring wrote: > From: Rob Herring > > The timer-sp code is fixed to 1MHz timer clock. Add clock api > calls to get the timer clock frequency and support for independent > clock frequencies. > > Rename timer names for clocksource and clockevent to timer-sp or > the clock connection ID string if provided. > > Signed-off-by: Rob Herring As mentioned in the previous few days on the mailing list, rather than having this code half-heartedly use the clk API, I'd much rather we did a proper conversion. That means having the clk API up and running earlier than we currently do on the ARM platforms. In order to allow this to happen, I've queued an addition to the mdesc record which provides an early hook which can be used for this kind of early platform initialization. So, after the next merge window, could you have another look at this please?