linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] Integrator common clock
@ 2012-06-19  6:53 Linus Walleij
  2012-06-20 21:20 ` Mike Turquette
  0 siblings, 1 reply; 15+ messages in thread
From: Linus Walleij @ 2012-06-19  6:53 UTC (permalink / raw)
  To: linux-arm-kernel

Hi ARM SoC people,

would you consider pulling in the support form common clk in the Integrator,
unless Mike shouts at me? I think I have adressed all review comments.

There will at some point be some trivial merge conflicts in drivers/clk/Makefile
I think, but you're used to that I think...

Yours,
Linus Walleij

The following changes since commit f8f5701bdaf9134b1f90e5044a82c66324d2073f:

  Linux 3.5-rc1 (2012-06-02 18:29:26 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
integrator-clk

for you to fetch changes up to aa3f7190e46514002ddf5b6054d7dc9f6f9f9cb7:

  ARM: integrator: convert to common clock (2012-06-15 09:00:43 +0200)

----------------------------------------------------------------
Linus Walleij (3):
      ARM: integrator: put symbolic bus names on devices
      clk: add versatile ICST307 driver
      ARM: integrator: convert to common clock

 arch/arm/Kconfig                               |    8 +-
 arch/arm/mach-integrator/core.c                |   55 ++----------
 arch/arm/mach-integrator/include/mach/clkdev.h |   26 ------
 arch/arm/mach-integrator/integrator_ap.c       |    8 +-
 arch/arm/mach-integrator/integrator_cp.c       |   69 ++-------------
 arch/arm/plat-versatile/Kconfig                |    3 +
 arch/arm/plat-versatile/Makefile               |    2 +-
 drivers/clk/Kconfig                            |    2 +
 drivers/clk/Makefile                           |    1 +
 drivers/clk/versatile/Kconfig                  |    8 ++
 drivers/clk/versatile/Makefile                 |    3 +
 drivers/clk/versatile/clk-icst.c               |  100 +++++++++++++++++++++
 drivers/clk/versatile/clk-icst.h               |   10 +++
 drivers/clk/versatile/clk-integrator.c         |  111 ++++++++++++++++++++++++
 include/linux/platform_data/clk-integrator.h   |    1 +
 15 files changed, 263 insertions(+), 144 deletions(-)
 delete mode 100644 arch/arm/mach-integrator/include/mach/clkdev.h
 create mode 100644 drivers/clk/versatile/Kconfig
 create mode 100644 drivers/clk/versatile/Makefile
 create mode 100644 drivers/clk/versatile/clk-icst.c
 create mode 100644 drivers/clk/versatile/clk-icst.h
 create mode 100644 drivers/clk/versatile/clk-integrator.c
 create mode 100644 include/linux/platform_data/clk-integrator.h

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [GIT PULL] Integrator common clock
  2012-06-19  6:53 [GIT PULL] Integrator common clock Linus Walleij
@ 2012-06-20 21:20 ` Mike Turquette
  2012-06-21  6:23   ` Linus Walleij
  0 siblings, 1 reply; 15+ messages in thread
From: Mike Turquette @ 2012-06-20 21:20 UTC (permalink / raw)
  To: linux-arm-kernel

On 20120619-08:53, Linus Walleij wrote:
> Hi ARM SoC people,
> 
> would you consider pulling in the support form common clk in the Integrator,
> unless Mike shouts at me? I think I have adressed all review comments.
> 

Hi Linus,

Any reason for this code to go through the arm-soc tree instead of
common clk tree?

Thanks,
Mike

> There will at some point be some trivial merge conflicts in drivers/clk/Makefile
> I think, but you're used to that I think...
> 
> Yours,
> Linus Walleij
> 
> The following changes since commit f8f5701bdaf9134b1f90e5044a82c66324d2073f:
> 
>   Linux 3.5-rc1 (2012-06-02 18:29:26 -0700)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
> integrator-clk
> 
> for you to fetch changes up to aa3f7190e46514002ddf5b6054d7dc9f6f9f9cb7:
> 
>   ARM: integrator: convert to common clock (2012-06-15 09:00:43 +0200)
> 
> ----------------------------------------------------------------
> Linus Walleij (3):
>       ARM: integrator: put symbolic bus names on devices
>       clk: add versatile ICST307 driver
>       ARM: integrator: convert to common clock
> 
>  arch/arm/Kconfig                               |    8 +-
>  arch/arm/mach-integrator/core.c                |   55 ++----------
>  arch/arm/mach-integrator/include/mach/clkdev.h |   26 ------
>  arch/arm/mach-integrator/integrator_ap.c       |    8 +-
>  arch/arm/mach-integrator/integrator_cp.c       |   69 ++-------------
>  arch/arm/plat-versatile/Kconfig                |    3 +
>  arch/arm/plat-versatile/Makefile               |    2 +-
>  drivers/clk/Kconfig                            |    2 +
>  drivers/clk/Makefile                           |    1 +
>  drivers/clk/versatile/Kconfig                  |    8 ++
>  drivers/clk/versatile/Makefile                 |    3 +
>  drivers/clk/versatile/clk-icst.c               |  100 +++++++++++++++++++++
>  drivers/clk/versatile/clk-icst.h               |   10 +++
>  drivers/clk/versatile/clk-integrator.c         |  111 ++++++++++++++++++++++++
>  include/linux/platform_data/clk-integrator.h   |    1 +
>  15 files changed, 263 insertions(+), 144 deletions(-)
>  delete mode 100644 arch/arm/mach-integrator/include/mach/clkdev.h
>  create mode 100644 drivers/clk/versatile/Kconfig
>  create mode 100644 drivers/clk/versatile/Makefile
>  create mode 100644 drivers/clk/versatile/clk-icst.c
>  create mode 100644 drivers/clk/versatile/clk-icst.h
>  create mode 100644 drivers/clk/versatile/clk-integrator.c
>  create mode 100644 include/linux/platform_data/clk-integrator.h
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [GIT PULL] Integrator common clock
  2012-06-20 21:20 ` Mike Turquette
@ 2012-06-21  6:23   ` Linus Walleij
  2012-06-22 21:58     ` Linus Walleij
  0 siblings, 1 reply; 15+ messages in thread
From: Linus Walleij @ 2012-06-21  6:23 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jun 20, 2012 at 11:20 PM, Mike Turquette <mturquette@ti.com> wrote:
> On 20120619-08:53, Linus Walleij wrote:
>> Hi ARM SoC people,
>>
>> would you consider pulling in the support form common clk in the Integrator,
>> unless Mike shouts at me? I think I have adressed all review comments.
>
> Any reason for this code to go through the arm-soc tree instead of
> common clk tree?

There was the Nomadik changes set changing a lot of stuff
that will probably conflict with drivers/clk/Makefile. But that's no
big deal. (Usually Stepgen R fixes these up in -next anyway).

So if you want it in clk instead, feel free to pull it! (Just
tell the ARM SoC people...)

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [GIT PULL] Integrator common clock
  2012-06-21  6:23   ` Linus Walleij
@ 2012-06-22 21:58     ` Linus Walleij
  2012-06-26  1:59       ` Turquette, Mike
  2012-07-03 19:29       ` Linus Walleij
  0 siblings, 2 replies; 15+ messages in thread
From: Linus Walleij @ 2012-06-22 21:58 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Jun 21, 2012 at 8:23 AM, Linus Walleij <linus.walleij@linaro.org> wrote:
> On Wed, Jun 20, 2012 at 11:20 PM, Mike Turquette <mturquette@ti.com> wrote:
>> On 20120619-08:53, Linus Walleij wrote:
>>> Hi ARM SoC people,
>>>
>>> would you consider pulling in the support form common clk in the Integrator,
>>> unless Mike shouts at me? I think I have adressed all review comments.
>>
>> Any reason for this code to go through the arm-soc tree instead of
>> common clk tree?
>
> There was the Nomadik changes set changing a lot of stuff
> that will probably conflict with drivers/clk/Makefile. But that's no
> big deal. (Usually Stepgen R fixes these up in -next anyway).
>
> So if you want it in clk instead, feel free to pull it! (Just
> tell the ARM SoC people...)

I saw that an older version of the patches is on the clk-next branch
in your git, if you're carrying these please take the latest, I created
a branch based off v3.5-rc2 (as I see you're using this) at your
convenience:

git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
for-mike

A bigger problem however, is that this branch is not in linux-next
so it doesn't get merge and build testing.

Are you submitting this to Mr Rothwell for testing RealSoonNow
or it it going up through ARM SoC or something?

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [GIT PULL] Integrator common clock
  2012-06-22 21:58     ` Linus Walleij
@ 2012-06-26  1:59       ` Turquette, Mike
  2012-07-03 19:29       ` Linus Walleij
  1 sibling, 0 replies; 15+ messages in thread
From: Turquette, Mike @ 2012-06-26  1:59 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jun 22, 2012 at 2:58 PM, Linus Walleij <linus.walleij@linaro.org> wrote:
> On Thu, Jun 21, 2012 at 8:23 AM, Linus Walleij <linus.walleij@linaro.org> wrote:
>> On Wed, Jun 20, 2012 at 11:20 PM, Mike Turquette <mturquette@ti.com> wrote:
>>> On 20120619-08:53, Linus Walleij wrote:
>>>> Hi ARM SoC people,
>>>>
>>>> would you consider pulling in the support form common clk in the Integrator,
>>>> unless Mike shouts at me? I think I have adressed all review comments.
>>>
>>> Any reason for this code to go through the arm-soc tree instead of
>>> common clk tree?
>>
>> There was the Nomadik changes set changing a lot of stuff
>> that will probably conflict with drivers/clk/Makefile. But that's no
>> big deal. (Usually Stepgen R fixes these up in -next anyway).
>>
>> So if you want it in clk instead, feel free to pull it! (Just
>> tell the ARM SoC people...)
>
> I saw that an older version of the patches is on the clk-next branch
> in your git, if you're carrying these please take the latest, I created
> a branch based off v3.5-rc2 (as I see you're using this) at your
> convenience:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
> for-mike
>

Hi Linus,

Thanks for this.  I'll take this into my clk-next tomorrow after I get
some sleep.

> A bigger problem however, is that this branch is not in linux-next
> so it doesn't get merge and build testing.
>
> Are you submitting this to Mr Rothwell for testing RealSoonNow
> or it it going up through ARM SoC or something?
>

Done!  Well, at least my request to Stephen is Done.  You are Cc'd.

Regards,
Mike

> Yours,
> Linus Walleij

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [GIT PULL] Integrator common clock
  2012-06-22 21:58     ` Linus Walleij
  2012-06-26  1:59       ` Turquette, Mike
@ 2012-07-03 19:29       ` Linus Walleij
  2012-07-03 21:15         ` Turquette, Mike
  2012-07-03 22:40         ` Turquette, Mike
  1 sibling, 2 replies; 15+ messages in thread
From: Linus Walleij @ 2012-07-03 19:29 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jun 22, 2012 at 11:58 PM, Linus Walleij
<linus.walleij@linaro.org> wrote:

> I saw that an older version of the patches is on the clk-next branch
> in your git, if you're carrying these please take the latest, I created
> a branch based off v3.5-rc2 (as I see you're using this) at your
> convenience:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
> for-mike

This is still the case, please pull this version of the patches
(the last that were posted to the mail list...) or tell me to resend
them if that is better.

Nice to see the tree in -next!
Linus Walleij

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [GIT PULL] Integrator common clock
  2012-07-03 19:29       ` Linus Walleij
@ 2012-07-03 21:15         ` Turquette, Mike
  2012-07-04 22:52           ` Linus Walleij
  2012-07-05 19:44           ` Linus Walleij
  2012-07-03 22:40         ` Turquette, Mike
  1 sibling, 2 replies; 15+ messages in thread
From: Turquette, Mike @ 2012-07-03 21:15 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Jul 3, 2012 at 12:29 PM, Linus Walleij <linus.walleij@linaro.org> wrote:
> On Fri, Jun 22, 2012 at 11:58 PM, Linus Walleij
> <linus.walleij@linaro.org> wrote:
>
>> I saw that an older version of the patches is on the clk-next branch
>> in your git, if you're carrying these please take the latest, I created
>> a branch based off v3.5-rc2 (as I see you're using this) at your
>> convenience:
>>
>> git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
>> for-mike
>
> This is still the case, please pull this version of the patches
> (the last that were posted to the mail list...) or tell me to resend
> them if that is better.
>

Linus,

Thanks for the re-ping.  I've dropped the old ones and taken in these patches.

I made one trivial change which is to drop "depends on COMMON_CLK"
from both of the entries in drivers/clk/versatile/Kconfig.  COMMON_CLK
is implied since we source your Kconfig from within a menu item that
depends on COMMON_CLK.

Let me know if that is alright with you.

One last (maybe stupid) question.  I don't see that ARCH_VERSATILE
actually uses COMMON_CLK, but uses a legacy platform-specific clk
framework.  Is that intended?

Thanks,
Mike

> Nice to see the tree in -next!
> Linus Walleij

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [GIT PULL] Integrator common clock
  2012-07-03 19:29       ` Linus Walleij
  2012-07-03 21:15         ` Turquette, Mike
@ 2012-07-03 22:40         ` Turquette, Mike
  1 sibling, 0 replies; 15+ messages in thread
From: Turquette, Mike @ 2012-07-03 22:40 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Jul 3, 2012 at 12:29 PM, Linus Walleij <linus.walleij@linaro.org> wrote:
> On Fri, Jun 22, 2012 at 11:58 PM, Linus Walleij
> <linus.walleij@linaro.org> wrote:
>
>> I saw that an older version of the patches is on the clk-next branch
>> in your git, if you're carrying these please take the latest, I created
>> a branch based off v3.5-rc2 (as I see you're using this) at your
>> convenience:
>>
>> git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
>> for-mike
>
> This is still the case, please pull this version of the patches
> (the last that were posted to the mail list...) or tell me to resend
> them if that is better.
>

Hi Linus,

I have a second question on this series.  The menu option for
CLK_VERSATILE is exposed for everybody with these series.  Is that
necessary?  I'd prefer that folks 'select' it from platform Kconfig
instead of having it globally exposed.

Thanks,
Mike

> Nice to see the tree in -next!
> Linus Walleij

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [GIT PULL] Integrator common clock
  2012-07-03 21:15         ` Turquette, Mike
@ 2012-07-04 22:52           ` Linus Walleij
  2012-07-04 23:30             ` Russell King - ARM Linux
  2012-07-07  0:13             ` Mike Turquette
  2012-07-05 19:44           ` Linus Walleij
  1 sibling, 2 replies; 15+ messages in thread
From: Linus Walleij @ 2012-07-04 22:52 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Jul 3, 2012 at 11:15 PM, Turquette, Mike <mturquette@ti.com> wrote:

> Thanks for the re-ping.  I've dropped the old ones and taken in these patches.

Thanks!

> I made one trivial change which is to drop "depends on COMMON_CLK"
> from both of the entries in drivers/clk/versatile/Kconfig.  COMMON_CLK
> is implied since we source your Kconfig from within a menu item that
> depends on COMMON_CLK.
>
> Let me know if that is alright with you.

OK!

> One last (maybe stupid) question.  I don't see that ARCH_VERSATILE
> actually uses COMMON_CLK, but uses a legacy platform-specific clk
> framework.  Is that intended?

Versatile is two things (just to add to the confusion):

1) A machine named arch/arm/mach-versatile
2) A platform named arch/arm/plat-versatile encompassing
  the mach-integrator, mach-versatile, mach-realview and mach-vexpress

This new folder is for the latter, but the only *machine* using it in the
versatile family is the Integrator.

So far. I will likely convert mach-realview next, since I can test it.

I don't have the mach-versatile machine sadly. I think only
Catalin and Russell really runs it, except for the QEMU users
which are plentiful.

> I have a second question on this series.  The menu option for
> CLK_VERSATILE is exposed for everybody with these series.  Is that
> necessary?  I'd prefer that folks 'select' it from platform Kconfig
> instead of having it globally exposed.

That's OK, does something like the below make it? This shoves
them (well currently only one...) under a submenu that is
only be visible to folks like me. Tested on Integrator (visible)
and SPEAr (invisible). You'll have to hand-edit it for dropping
the deps on COMMON_CLK though...


>From adb168705793bbe3c2522eff068780bb0d9c833e Mon Sep 17 00:00:00 2001
From: Linus Walleij <linus.walleij@linaro.org>
Date: Thu, 5 Jul 2012 00:44:44 +0200
Subject: [PATCH] clk: hide Versatile clocks from the populace

This folds in and hides the Versatile Kconfig submenu unless
CONFIG_CLK_VERSATILE was explicitly selected by the platform(s)
in the current kernel.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/clk/versatile/Kconfig |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/drivers/clk/versatile/Kconfig b/drivers/clk/versatile/Kconfig
index 169b1bc..8796005 100644
--- a/drivers/clk/versatile/Kconfig
+++ b/drivers/clk/versatile/Kconfig
@@ -1,8 +1,16 @@
 config CLK_VERSATILE
-	bool "Clocks for the ARM Versatile family"
+	bool
 	depends on COMMON_CLK

+if CLK_VERSATILE
+
+menu  "Clocks for the ARM Versatile family"
+
 config CLK_ICST
 	bool "ICST307 VCO clock driver"
 	depends on COMMON_CLK
 	depends on ICST
+
+endmenu
+
+endif
-- 
1.7.10.4


Yours,
Linus Walleij

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [GIT PULL] Integrator common clock
  2012-07-04 22:52           ` Linus Walleij
@ 2012-07-04 23:30             ` Russell King - ARM Linux
  2012-07-04 23:36               ` Linus Walleij
  2012-07-07  0:13             ` Mike Turquette
  1 sibling, 1 reply; 15+ messages in thread
From: Russell King - ARM Linux @ 2012-07-04 23:30 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Jul 05, 2012 at 12:52:06AM +0200, Linus Walleij wrote:
> I don't have the mach-versatile machine sadly. I think only
> Catalin and Russell really runs it, except for the QEMU users
> which are plentiful.

I'm probably not going to be able to do it this side of going away,
especially as the Versatile board looks after the power switch for
booting the nightly test builds.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [GIT PULL] Integrator common clock
  2012-07-04 23:30             ` Russell King - ARM Linux
@ 2012-07-04 23:36               ` Linus Walleij
  0 siblings, 0 replies; 15+ messages in thread
From: Linus Walleij @ 2012-07-04 23:36 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Jul 5, 2012 at 1:30 AM, Russell King - ARM Linux
<linux@arm.linux.org.uk> wrote:
> On Thu, Jul 05, 2012 at 12:52:06AM +0200, Linus Walleij wrote:
>> I don't have the mach-versatile machine sadly. I think only
>> Catalin and Russell really runs it, except for the QEMU users
>> which are plentiful.
>
> I'm probably not going to be able to do it this side of going away,
> especially as the Versatile board looks after the power switch for
> booting the nightly test builds.

No big deal, we take this step by step, and Integrator can very well
pave the way for the others as a first step.

But I'm dying for you to post some pictures and text of you ARM
system array some day, it sounds like it's a pretty nice stack of
things you have there :-)

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [GIT PULL] Integrator common clock
  2012-07-03 21:15         ` Turquette, Mike
  2012-07-04 22:52           ` Linus Walleij
@ 2012-07-05 19:44           ` Linus Walleij
  2012-07-05 19:55             ` Turquette, Mike
  1 sibling, 1 reply; 15+ messages in thread
From: Linus Walleij @ 2012-07-05 19:44 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Jul 3, 2012 at 11:15 PM, Turquette, Mike <mturquette@ti.com> wrote:

> Thanks for the re-ping.  I've dropped the old ones and taken in these patches.

I can't see any of them in -next :-(

But now U300 is there though, you get one you loose one ;-)

Linus Walleij

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [GIT PULL] Integrator common clock
  2012-07-05 19:44           ` Linus Walleij
@ 2012-07-05 19:55             ` Turquette, Mike
  0 siblings, 0 replies; 15+ messages in thread
From: Turquette, Mike @ 2012-07-05 19:55 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Jul 5, 2012 at 12:44 PM, Linus Walleij <linus.walleij@linaro.org> wrote:
> On Tue, Jul 3, 2012 at 11:15 PM, Turquette, Mike <mturquette@ti.com> wrote:
>
>> Thanks for the re-ping.  I've dropped the old ones and taken in these patches.
>
> I can't see any of them in -next :-(
>
> But now U300 is there though, you get one you loose one ;-)
>

I dropped them yesterday (per your request), but I haven't taken in
your latest yet.  Will do shortly.

Regards,
Mike

> Linus Walleij

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [GIT PULL] Integrator common clock
  2012-07-04 22:52           ` Linus Walleij
  2012-07-04 23:30             ` Russell King - ARM Linux
@ 2012-07-07  0:13             ` Mike Turquette
  2012-07-08 19:06               ` Linus Walleij
  1 sibling, 1 reply; 15+ messages in thread
From: Mike Turquette @ 2012-07-07  0:13 UTC (permalink / raw)
  To: linux-arm-kernel

On 20120705-00:52, Linus Walleij wrote:
> Versatile is two things (just to add to the confusion):
> 
> 1) A machine named arch/arm/mach-versatile
> 2) A platform named arch/arm/plat-versatile encompassing
>   the mach-integrator, mach-versatile, mach-realview and mach-vexpress
> 
> This new folder is for the latter, but the only *machine* using it in the
> versatile family is the Integrator.
> 
> So far. I will likely convert mach-realview next, since I can test it.

Thanks for clearing that up.  I'm still curious to know whether the
Kconfig file is even necessary for your case.  In the interest of
delaying this conversation for even longer, can you look at the below
patch and let me know if it is OK for you?

If you do not like it then I will take your patches as-is, though I do
hope to get rid of the ugly Kconfig if possible.

Thanks,
Mike


From: Mike Turquette <mturquette@linaro.org>
Date: Fri, 6 Jul 2012 16:41:40 -0700
Subject: [PATCH] remove versatile common clk kconfig

---
 arch/arm/Kconfig               |    1 -
 drivers/clk/Kconfig            |    2 --
 drivers/clk/Makefile           |    2 +-
 drivers/clk/versatile/Kconfig  |    8 --------
 drivers/clk/versatile/Makefile |    2 +-
 5 files changed, 2 insertions(+), 13 deletions(-)
 delete mode 100644 drivers/clk/versatile/Kconfig

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 1c0d6b3..6f8cf40 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -258,7 +258,6 @@ config ARCH_INTEGRATOR
 	select CLK_VERSATILE
 	select HAVE_TCM
 	select ICST
-	select CLK_ICST
 	select GENERIC_CLOCKEVENTS
 	select PLAT_VERSATILE
 	select PLAT_VERSATILE_FPGA_IRQ
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index 85bffd2..3f99b90 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -41,6 +41,4 @@ config COMMON_CLK_WM831X
           Supports the clocking subsystem of the WM831x/2x series of
 	  PMICs from Wolfson Microlectronics.
 
-source "drivers/clk/versatile/Kconfig"
-
 endmenu
diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile
index 90ea91d..a4d67d7 100644
--- a/drivers/clk/Makefile
+++ b/drivers/clk/Makefile
@@ -6,7 +6,7 @@ obj-$(CONFIG_COMMON_CLK)	+= clk.o clk-fixed-rate.o clk-gate.o \
 obj-$(CONFIG_ARCH_MXS)		+= mxs/
 obj-$(CONFIG_PLAT_SPEAR)	+= spear/
 obj-$(CONFIG_ARCH_U300)		+= clk-u300.o
-obj-$(CONFIG_CLK_VERSATILE)	+= versatile/
+obj-$(CONFIG_ARCH_INTEGRATOR)	+= versatile/
 
 # Chip specific
 obj-$(CONFIG_COMMON_CLK_WM831X) += clk-wm831x.o
diff --git a/drivers/clk/versatile/Kconfig b/drivers/clk/versatile/Kconfig
deleted file mode 100644
index 169b1bc..0000000
--- a/drivers/clk/versatile/Kconfig
+++ /dev/null
@@ -1,8 +0,0 @@
-config CLK_VERSATILE
-	bool "Clocks for the ARM Versatile family"
-	depends on COMMON_CLK
-
-config CLK_ICST
-	bool "ICST307 VCO clock driver"
-	depends on COMMON_CLK
-	depends on ICST
diff --git a/drivers/clk/versatile/Makefile b/drivers/clk/versatile/Makefile
index ac47173..50cf6a2 100644
--- a/drivers/clk/versatile/Makefile
+++ b/drivers/clk/versatile/Makefile
@@ -1,3 +1,3 @@
 # Makefile for Versatile-specific clocks
-obj-$(CONFIG_CLK_ICST)		+= clk-icst.o
+obj-$(CONFIG_ICST)		+= clk-icst.o
 obj-$(CONFIG_ARCH_INTEGRATOR)	+= clk-integrator.o
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [GIT PULL] Integrator common clock
  2012-07-07  0:13             ` Mike Turquette
@ 2012-07-08 19:06               ` Linus Walleij
  0 siblings, 0 replies; 15+ messages in thread
From: Linus Walleij @ 2012-07-08 19:06 UTC (permalink / raw)
  To: linux-arm-kernel

On Sat, Jul 7, 2012 at 2:13 AM, Mike Turquette <mturquette@ti.com> wrote:

> Thanks for clearing that up.  I'm still curious to know whether the
> Kconfig file is even necessary for your case.  In the interest of
> delaying this conversation for even longer, can you look at the below
> patch and let me know if it is OK for you?

Yeah that's all fine, if I find I need more flexible menus down the
road I'll patch it :-)

Acked-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-07-08 19:06 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-19  6:53 [GIT PULL] Integrator common clock Linus Walleij
2012-06-20 21:20 ` Mike Turquette
2012-06-21  6:23   ` Linus Walleij
2012-06-22 21:58     ` Linus Walleij
2012-06-26  1:59       ` Turquette, Mike
2012-07-03 19:29       ` Linus Walleij
2012-07-03 21:15         ` Turquette, Mike
2012-07-04 22:52           ` Linus Walleij
2012-07-04 23:30             ` Russell King - ARM Linux
2012-07-04 23:36               ` Linus Walleij
2012-07-07  0:13             ` Mike Turquette
2012-07-08 19:06               ` Linus Walleij
2012-07-05 19:44           ` Linus Walleij
2012-07-05 19:55             ` Turquette, Mike
2012-07-03 22:40         ` Turquette, Mike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).