Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934407Ab3JPM7b (ORCPT ); Wed, 16 Oct 2013 08:59:31 -0400 Received: from mail-oa0-f48.google.com ([209.85.219.48]:63809 "EHLO mail-oa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934287Ab3JPM72 (ORCPT ); Wed, 16 Oct 2013 08:59:28 -0400 Message-ID: <525E8DAD.60801@gmail.com> Date: Wed, 16 Oct 2013 07:59:25 -0500 From: Rob Herring User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Neil Zhang CC: "linux-kernel@vger.kernel.org" , Yu Tang , Zhou Zhu , Catalin Marinas , Will Deacon Subject: Re: [Question] Ask for arm arch timer References: <175CCF5F49938B4D99B2E3EF7F558EBE49FCEFF280@SC-VEXCH4.marvell.com> In-Reply-To: <175CCF5F49938B4D99B2E3EF7F558EBE49FCEFF280@SC-VEXCH4.marvell.com> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1219 Lines: 37 [adding Will and Catalin...] On 10/16/2013 07:39 AM, Neil Zhang wrote: > Hi Rob, > I saw your following patch called clocksource_of_init() directly in time_init() for arm64. > My question is that what should we do if there are some Soc special work need to be done before arch timer can be used? > Thanks in advance. If the timer itself is different, then you should have a different DT compatible string which you can use to trigger additional initialization. Integration level initialization like enabling clocks would need something different as no machine descriptors exist for arm64. Another option would be do the setup in secure world or the bootloader. Can you be more specific what initialization is needed. Rob > commit 0583fe478a7d93be2c814b7e50d6e81c287edfe8 > Author: Rob Herring > Date: Wed Apr 10 18:27:51 2013 -0500 > > ARM: convert arm/arm64 arch timer to use CLKSRC_OF init > > > Best Regards, > Neil Zhang > > -- 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/