Re: [PATCH] clk: Make the generic clock API available by default

2012-11-26 Thread Grant Likely
On Tue, 23 Oct 2012 10:54:08 +0100, 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

Re: [PATCH] clk: Make the generic clock API available by default

2012-11-26 Thread Grant Likely
On Tue, 23 Oct 2012 10:54:08 +0100, Mark Brown broo...@opensource.wolfsonmicro.com 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

[PATCH] clk: Make the generic clock API available by default

2012-10-23 Thread Mark Brown
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

Re: [PATCH] clk: Make the generic clock API available by default

2012-10-23 Thread Mark Brown
On Mon, Oct 22, 2012 at 09:56:54AM -0600, Stephen Warren wrote: > Since v3.7-rc1, Tegra uses common clock, so I don't think the change > above is right is it? No, updated. It really shouldn't take multiple kernel releases to get something like this done... signature.asc Description: Digital

Re: [PATCH] clk: Make the generic clock API available by default

2012-10-23 Thread Mark Brown
On Tue, Oct 23, 2012 at 10:10:09AM +0800, Kelvin Cheung wrote: > Hi Mark, Don't top post! > But the common clock infrastructure of Loongson1 has been implemented and > enabled in previous patches. > http://patchwork.linux-mips.org/patch/4268/ > Please remove this arch from your patch. Done.

Re: [PATCH] clk: Make the generic clock API available by default

2012-10-23 Thread Mark Brown
On Tue, Oct 23, 2012 at 10:10:09AM +0800, Kelvin Cheung wrote: Hi Mark, Don't top post! But the common clock infrastructure of Loongson1 has been implemented and enabled in previous patches. http://patchwork.linux-mips.org/patch/4268/ Please remove this arch from your patch. Done.

Re: [PATCH] clk: Make the generic clock API available by default

2012-10-23 Thread Mark Brown
On Mon, Oct 22, 2012 at 09:56:54AM -0600, Stephen Warren wrote: Since v3.7-rc1, Tegra uses common clock, so I don't think the change above is right is it? No, updated. It really shouldn't take multiple kernel releases to get something like this done... signature.asc Description: Digital

[PATCH] clk: Make the generic clock API available by default

2012-10-23 Thread Mark Brown
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

Re: [PATCH] clk: Make the generic clock API available by default

2012-10-22 Thread Stephen Warren
On 10/22/2012 07:02 AM, 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

Re: [PATCH] clk: Make the generic clock API available by default

2012-10-22 Thread Mark Brown
On Mon, Oct 22, 2012 at 02:50:24PM +0100, Russell King - ARM Linux wrote: > On Mon, Oct 22, 2012 at 02:27:11PM +0100, Mark Brown wrote: > > If we're worrying about that there's the larger point that the effect of > > this patch is to make HAVE_CLK meaningless as there will be no platform > > for

Re: [PATCH] clk: Make the generic clock API available by default

2012-10-22 Thread Russell King - ARM Linux
On Mon, Oct 22, 2012 at 02:27:11PM +0100, Mark Brown wrote: > On Mon, Oct 22, 2012 at 02:05:57PM +0100, Russell King - ARM Linux wrote: > > On Mon, Oct 22, 2012 at 02:02:50PM +0100, Mark Brown wrote: > > > @@ -327,6 +328,7 @@ config ARCH_AT91 > > > select ARCH_REQUIRE_GPIOLIB > > > select

Re: [PATCH] clk: Make the generic clock API available by default

2012-10-22 Thread Mark Brown
On Mon, Oct 22, 2012 at 02:05:57PM +0100, Russell King - ARM Linux wrote: > On Mon, Oct 22, 2012 at 02:02:50PM +0100, Mark Brown wrote: > > @@ -327,6 +328,7 @@ config ARCH_AT91 > > select ARCH_REQUIRE_GPIOLIB > > select CLKDEV_LOOKUP > > select HAVE_CLK > > + select HAVE_CUSTOM_CLK

Re: [PATCH] clk: Make the generic clock API available by default

2012-10-22 Thread Russell King - ARM Linux
On Mon, Oct 22, 2012 at 02:02:50PM +0100, Mark Brown wrote: > @@ -327,6 +328,7 @@ config ARCH_AT91 > select ARCH_REQUIRE_GPIOLIB > select CLKDEV_LOOKUP > select HAVE_CLK > + select HAVE_CUSTOM_CLK This is silly. If you select "HAVE_CUSTOM_CLK" then isn't it true that

[PATCH] clk: Make the generic clock API available by default

2012-10-22 Thread Mark Brown
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

[PATCH] clk: Make the generic clock API available by default

2012-10-22 Thread Mark Brown
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

Re: [PATCH] clk: Make the generic clock API available by default

2012-10-22 Thread Russell King - ARM Linux
On Mon, Oct 22, 2012 at 02:02:50PM +0100, Mark Brown wrote: @@ -327,6 +328,7 @@ config ARCH_AT91 select ARCH_REQUIRE_GPIOLIB select CLKDEV_LOOKUP select HAVE_CLK + select HAVE_CUSTOM_CLK This is silly. If you select HAVE_CUSTOM_CLK then isn't it true that HAVE_CLK

Re: [PATCH] clk: Make the generic clock API available by default

2012-10-22 Thread Mark Brown
On Mon, Oct 22, 2012 at 02:05:57PM +0100, Russell King - ARM Linux wrote: On Mon, Oct 22, 2012 at 02:02:50PM +0100, Mark Brown wrote: @@ -327,6 +328,7 @@ config ARCH_AT91 select ARCH_REQUIRE_GPIOLIB select CLKDEV_LOOKUP select HAVE_CLK + select HAVE_CUSTOM_CLK This is

Re: [PATCH] clk: Make the generic clock API available by default

2012-10-22 Thread Russell King - ARM Linux
On Mon, Oct 22, 2012 at 02:27:11PM +0100, Mark Brown wrote: On Mon, Oct 22, 2012 at 02:05:57PM +0100, Russell King - ARM Linux wrote: On Mon, Oct 22, 2012 at 02:02:50PM +0100, Mark Brown wrote: @@ -327,6 +328,7 @@ config ARCH_AT91 select ARCH_REQUIRE_GPIOLIB select CLKDEV_LOOKUP

Re: [PATCH] clk: Make the generic clock API available by default

2012-10-22 Thread Mark Brown
On Mon, Oct 22, 2012 at 02:50:24PM +0100, Russell King - ARM Linux wrote: On Mon, Oct 22, 2012 at 02:27:11PM +0100, Mark Brown wrote: If we're worrying about that there's the larger point that the effect of this patch is to make HAVE_CLK meaningless as there will be no platform for which

Re: [PATCH] clk: Make the generic clock API available by default

2012-10-22 Thread Stephen Warren
On 10/22/2012 07:02 AM, 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

Re: [PATCH] clk: Make the generic clock API available by default

2012-09-04 Thread Benjamin Herrenschmidt
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

Re: [PATCH] clk: Make the generic clock API available by default

2012-09-04 Thread Benjamin Herrenschmidt
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

Re: [PATCH] clk: Make the generic clock API available by default

2012-08-30 Thread Stephen Warren
On 08/30/12 10:19, Mark Brown wrote: On Wed, Aug 29, 2012 at 02:49:34PM -0700, Stephen Warren wrote: On 08/28/12 13:35, Mark Brown wrote: @@ -674,6 +676,7 @@ config ARCH_TEGRA select GENERIC_CLOCKEVENTS select GENERIC_GPIO select HAVE_CLK + select

Re: [PATCH] clk: Make the generic clock API available by default

2012-08-30 Thread Mark Brown
On Wed, Aug 29, 2012 at 02:49:34PM -0700, Stephen Warren wrote: > On 08/28/12 13:35, Mark Brown wrote: > >@@ -674,6 +676,7 @@ config ARCH_TEGRA > > select GENERIC_CLOCKEVENTS > > select GENERIC_GPIO > > select HAVE_CLK > >+select HAVE_CUSTOM_CLK > For 3.7, Tegra will switch to

Re: [PATCH] clk: Make the generic clock API available by default

2012-08-30 Thread Mark Brown
On Wed, Aug 29, 2012 at 02:49:34PM -0700, Stephen Warren wrote: On 08/28/12 13:35, Mark Brown wrote: @@ -674,6 +676,7 @@ config ARCH_TEGRA select GENERIC_CLOCKEVENTS select GENERIC_GPIO select HAVE_CLK +select HAVE_CUSTOM_CLK For 3.7, Tegra will switch to the common

Re: [PATCH] clk: Make the generic clock API available by default

2012-08-30 Thread Stephen Warren
On 08/30/12 10:19, Mark Brown wrote: On Wed, Aug 29, 2012 at 02:49:34PM -0700, Stephen Warren wrote: On 08/28/12 13:35, Mark Brown wrote: @@ -674,6 +676,7 @@ config ARCH_TEGRA select GENERIC_CLOCKEVENTS select GENERIC_GPIO select HAVE_CLK + select

Re: [PATCH] clk: Make the generic clock API available by default

2012-08-29 Thread Stephen Warren
On 08/28/12 13:35, 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

Re: [PATCH] clk: Make the generic clock API available by default

2012-08-29 Thread Stephen Warren
On 08/28/12 13:35, 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

Re: [PATCH] clk: Make the generic clock API available by default

2012-08-28 Thread Hans-Christian Egtvedt
Around Tue 28 Aug 2012 13:35:04 -0700 or thereabout, 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

[PATCH] clk: Make the generic clock API available by default

2012-08-28 Thread Mark Brown
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

[PATCH] clk: Make the generic clock API available by default

2012-08-28 Thread Mark Brown
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

Re: [PATCH] clk: Make the generic clock API available by default

2012-08-28 Thread Hans-Christian Egtvedt
Around Tue 28 Aug 2012 13:35:04 -0700 or thereabout, 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)