On Thu, Nov 19, 2009 at 7:33 PM, Mark Brown <broo...@opensource.wolfsonmicro.com> wrote: > On Thu, Nov 19, 2009 at 11:44:14AM +0900, jassi brar wrote: > >> Let each platform code(SoC specific) define names of all possible >> source clocks and let the board init code pass on the potential source >> clocks by some bit-mask(or some other mechanism) while setting the >> platform data. > > This is going to set off warnings from a clock API point of view - > passing clock names around in platform data is usually a sign that > something is very wrong. Keeping the mapping inside the clock API > (still controlled by the board driver but by telling the clock API that > device X should use clock Y). no clock pointer needs to be passed, just a pointer to an array of _strings_ There is no need to even include any clock header in platform code for the purpose. -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
- [PATCH 13/19] ARM: S5PC1XX: add support for s5pc1... Marek Szyprowski
- [PATCH 03/19] ARM: S5PC1XX: prepare common cpu&am... Marek Szyprowski
- [PATCH 15/19] ARM: S5PC1XX: add i2c platform help... Marek Szyprowski
- [PATCH 07/19] ARM: S5PC1XX: move s5pc100 specific... Marek Szyprowski
- [PATCH 19/19] ARM: S5PC1XX: add support for SMDKC... Marek Szyprowski
- [PATCH 09/19] drivers: serial: add support for Sa... Marek Szyprowski
- Re: [PATCH 09/19] drivers: serial: add suppo... jassi brar
- Re: [PATCH 09/19] drivers: serial: add s... Ben Dooks
- Re: [PATCH 09/19] drivers: serial: a... jassi brar
- Re: [PATCH 09/19] drivers: seria... Mark Brown
- Re: [PATCH 09/19] drivers: ... jassi brar
- Re: [PATCH 09/19] drive... Mark Brown
- Re: [PATCH 09/19] drive... jassi brar
- Re: [PATCH 09/19] drive... Mark Brown
- Re: [PATCH 09/19] drive... Russell King - ARM Linux
- Re: [PATCH 09/19] drive... Mark Brown
- Re: [PATCH 09/19] drive... Russell King - ARM Linux
- Re: [PATCH 09/19] drive... jassi brar
- RE: [PATCH 09/19] drive... Marek Szyprowski
- Re: [PATCH 09/19] drive... Mark Brown
- Re: [PATCH 09/19] drive... jassi brar