Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752696AbaBEPlh (ORCPT ); Wed, 5 Feb 2014 10:41:37 -0500 Received: from co1ehsobe005.messaging.microsoft.com ([216.32.180.188]:12268 "EHLO co1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752544AbaBEPlg convert rfc822-to-8bit (ORCPT ); Wed, 5 Feb 2014 10:41:36 -0500 X-Forefront-Antispam-Report: CIP:149.199.60.83;KIP:(null);UIP:(null);IPV:NLI;H:xsj-gw1;RD:unknown-60-83.xilinx.com;EFVD:NLI X-SpamScore: -1 X-BigFish: VPS-1(zz98dIc89bh1432Izz1f42h2148h208ch1ee6h1de0h1fdah2149h2073h2146h1202h1e76h2189h1d1ah1d2ah21bch1fc6hzz8275ch1de098h17326ah8275bh1de097h186068hz2fh95h839h93fhc61hd24hf0ah119dh1288h12a5h12a9h12bdh137ah13b6h1441h14ddh1504h1537h153bh162dh1631h1758h18e1h1946h19b5h1b0ah224fh1d0ch1d2eh1d3fh1dfeh1dffh1e1dh1fe8h1ff5h209eh2216h2336h2438h2461h2487h24d7h2516h906i1155h) Date: Wed, 5 Feb 2014 07:41:28 -0800 From: =?utf-8?B?U8O2cmVu?= Brinkmann To: Michal Simek CC: , , Josh Cartwright , Steffen Trumtrar , Rob Herring , Peter Crosthwaite , Russell King , Mike Turquette , Stephen Boyd , Stephen Warren , James Hogan , Felipe Pena , Subject: Re: [PATCH] ARM: zynq: Move of_clk_init from clock driver References: <572af6e4eaaaa1c74ea62364f8fa7ac5834cc754.1391612175.git.michal.simek@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline In-Reply-To: <572af6e4eaaaa1c74ea62364f8fa7ac5834cc754.1391612175.git.michal.simek@xilinx.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-RCIS-Action: ALLOW Message-ID: <4e03e3ec-2fc7-40fc-a2cc-4a6c64379559@CO1EHSMHS025.ehs.local> Content-Transfer-Encoding: 8BIT X-OriginatorOrg: xilinx.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 05, 2014 at 03:56:37PM +0100, Michal Simek wrote: > Move of_clk_init() from clock driver to enable > options not to use zynq clock driver. > Use for example fixed clock setting. What is the use-case? Zynq w/o this driver makes no sense, IMHO. And even if you wanna fake clocks, why would this driver prevent it? Just replace all the input clocks with different ones and don't care about what this driver does? > > Signed-off-by: Michal Simek > --- > > Based on http://www.spinics.net/lists/arm-kernel/msg298287.html > series > > --- > arch/arm/mach-zynq/common.c | 1 + > drivers/clk/zynq/clkc.c | 2 -- > 2 files changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c > index 93ea19b..8df35f3 100644 > --- a/arch/arm/mach-zynq/common.c > +++ b/arch/arm/mach-zynq/common.c > @@ -68,6 +68,7 @@ static void __init zynq_timer_init(void) > zynq_early_slcr_init(); > > zynq_clock_init(); > + of_clk_init(NULL); Now you have two clock init functions... Sören -- 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/