From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 05 Sep 2012 04:04:25 +0200 (CEST) Received: from gate.crashing.org ([63.228.1.57]:55341 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S1903392Ab2IECEM (ORCPT ); Wed, 5 Sep 2012 04:04:12 +0200 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.13.8) with ESMTP id q8523iQ0003954; Tue, 4 Sep 2012 21:03:45 -0500 Message-ID: <1346810624.2257.22.camel@pasglop> Subject: Re: [PATCH] clk: Make the generic clock API available by default From: Benjamin Herrenschmidt To: Mark Brown Cc: Arnd Bergmann , Russell King , Haavard Skinnemoen , Hans-Christian Egtvedt , Ralf Baechle , Paul Mackerras , Guan Xuetao , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@linux-mips.org, linuxppc-dev@lists.ozlabs.org Date: Wed, 05 Sep 2012 12:03:44 +1000 In-Reply-To: <1346186104-4083-1-git-send-email-broonie@opensource.wolfsonmicro.com> References: <1346186104-4083-1-git-send-email-broonie@opensource.wolfsonmicro.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-archive-position: 34417 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: benh@kernel.crashing.org Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips Return-Path: On Tue, 2012-08-28 at 13:35 -0700, Mark Brown wrote: > Rather than requiring platforms to select the generic clock API to make > it available make the API available as a user selectable option unless the > user either selects HAVE_CUSTOM_CLK (if they have their own implementation) > or selects COMMON_CLK (if they depend on the generic implementation). > > All current architectures that HAVE_CLK but don't use the common clock > framework have selects of HAVE_CUSTOM_CLK added. > > This allows drivers to use the generic API on platforms which have no need > for the clock API at platform level. > > Signed-off-by: Mark Brown > --- For powerpc: Acked-by: Benjamin Herrenschmidt Cheers, Ben. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 4E8BA2C0095 for ; Wed, 5 Sep 2012 12:04:27 +1000 (EST) Message-ID: <1346810624.2257.22.camel@pasglop> Subject: Re: [PATCH] clk: Make the generic clock API available by default From: Benjamin Herrenschmidt To: Mark Brown Date: Wed, 05 Sep 2012 12:03:44 +1000 In-Reply-To: <1346186104-4083-1-git-send-email-broonie@opensource.wolfsonmicro.com> References: <1346186104-4083-1-git-send-email-broonie@opensource.wolfsonmicro.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: linux-mips@linux-mips.org, Guan Xuetao , Russell King , Arnd Bergmann , linux-kernel@vger.kernel.org, Ralf Baechle , Paul Mackerras , Haavard Skinnemoen , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, Hans-Christian Egtvedt List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2012-08-28 at 13:35 -0700, Mark Brown wrote: > Rather than requiring platforms to select the generic clock API to make > it available make the API available as a user selectable option unless the > user either selects HAVE_CUSTOM_CLK (if they have their own implementation) > or selects COMMON_CLK (if they depend on the generic implementation). > > All current architectures that HAVE_CLK but don't use the common clock > framework have selects of HAVE_CUSTOM_CLK added. > > This allows drivers to use the generic API on platforms which have no need > for the clock API at platform level. > > Signed-off-by: Mark Brown > --- For powerpc: Acked-by: Benjamin Herrenschmidt Cheers, Ben. From mboxrd@z Thu Jan 1 00:00:00 1970 From: benh@kernel.crashing.org (Benjamin Herrenschmidt) Date: Wed, 05 Sep 2012 12:03:44 +1000 Subject: [PATCH] clk: Make the generic clock API available by default In-Reply-To: <1346186104-4083-1-git-send-email-broonie@opensource.wolfsonmicro.com> References: <1346186104-4083-1-git-send-email-broonie@opensource.wolfsonmicro.com> Message-ID: <1346810624.2257.22.camel@pasglop> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, 2012-08-28 at 13:35 -0700, Mark Brown wrote: > Rather than requiring platforms to select the generic clock API to make > it available make the API available as a user selectable option unless the > user either selects HAVE_CUSTOM_CLK (if they have their own implementation) > or selects COMMON_CLK (if they depend on the generic implementation). > > All current architectures that HAVE_CLK but don't use the common clock > framework have selects of HAVE_CUSTOM_CLK added. > > This allows drivers to use the generic API on platforms which have no need > for the clock API at platform level. > > Signed-off-by: Mark Brown > --- For powerpc: Acked-by: Benjamin Herrenschmidt Cheers, Ben.