login
Header Space

 
 

Re: [PATCH 1/3] Clocklib: add generic framework for managing clocks.

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Haavard Skinnemoen <haavard.skinnemoen@...>
Cc: Dmitry Baryshkov <dbaryshkov@...>, <linux-kernel@...>, <akpm@...>, <hskinnemoen@...>, <domen.puncer@...>, <tony@...>, <rmk+kernel@...>, <paul@...>
Date: Wednesday, March 26, 2008 - 12:14 pm

On Wed, Mar 26, 2008 at 05:04:41PM +0100, Haavard Skinnemoen wrote:
Conversely it also has fields that I don't need. If struct clk could have
been done generically without growing to insane sizes, it would have been
done so in linux/clk.h a long time ago. The main thing there is API
consistency for drivers, leaving the details up to the architecture.

It's true that there is significant overlap between the different users
of the clock framework, but it's also not clear that there's any clean
way to share a common implementation (especially since struct clk means
totally different things on different architectures). I suspect everyone
in the CC list has been through this before, also.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3] Clocklib: generic clocks framework, Dmitry Baryshkov, (Wed Mar 26, 11:49 am)
[PATCH 4/4] Clocklib: support ARM pxa sub-arch., Dmitry Baryshkov, (Wed Mar 26, 12:17 pm)
[PATCH 3/3] Clocklib: support sa1100 sub-arch., Dmitry Baryshkov, (Wed Mar 26, 11:53 am)
[PATCH 2/3] Clocklib: debugfs support, Dmitry Baryshkov, (Wed Mar 26, 11:52 am)
[PATCH 1/3] Clocklib: add generic framework for managing clo..., Dmitry Baryshkov, (Wed Mar 26, 11:52 am)
Re: [PATCH 1/3] Clocklib: add generic framework for managing..., Haavard Skinnemoen, (Wed Mar 26, 12:04 pm)
Re: [PATCH 1/3] Clocklib: add generic framework for managing..., Haavard Skinnemoen, (Sat Mar 29, 8:36 am)
Re: [PATCH 1/3] Clocklib: add generic framework for managing..., Haavard Skinnemoen, (Thu Mar 27, 5:06 am)
Re: [PATCH 1/3] Clocklib: add generic framework for managing..., Haavard Skinnemoen, (Thu Mar 27, 5:26 am)
Re: [PATCH 1/3] Clocklib: add generic framework for managing..., Haavard Skinnemoen, (Thu Mar 27, 5:53 am)
Re: [PATCH 1/3] Clocklib: add generic framework for managing..., Haavard Skinnemoen, (Thu Mar 27, 6:20 am)
Re: [PATCH 1/3] Clocklib: add generic framework for managing..., Paul Mundt, (Wed Mar 26, 12:14 pm)
speck-geostationary