[PATCH v3 3/3] davinci: da850: move input frequency to board specific files

2011-06-05 Thread Sekhar Nori
From: Bob Dunlop bob.dun...@xyzzy.org.uk Currently the input frequency of the SoC is hardcoded in the SoC specific da850.c file to 24 MHz. Since the SoC accepts input frequencies in a wide range from 12 to 50 MHz, boards with different oscillator/crystal frequencies may be built. This patch

[PATCH v2 2/3] davinci: dm6467/T EVM: pass reference clock rate to dm646x_init()

2011-06-05 Thread Sekhar Nori
From: Bob Dunlop bob.dun...@xyzzy.org.uk The DM6467 and DM6467T EVMs use different reference clock frequencies. This difference is currently supported by having the SoC code call a public board routine which sets up the reference clock frequency. This does not scale as more boards are added.

[PATCH 1/3] davinci: dm646x.h: include header files under mach/ after those in linux/

2011-06-05 Thread Sekhar Nori
The general header file inclusion order followed in the kernel is to include files under linux/ first and then under mach/. The dm646x.h file has the opposite of this. Fix it. Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/include/mach/dm646x.h |5 +++-- 1 files

RE: [PATCH 2/3] davinci: dm6467/T EVM: pass reference clock rate to dm646x_init()

2011-06-05 Thread Nori, Sekhar
On Fri, Jun 03, 2011 at 22:29:26, Olof Johansson wrote: Only change I would like to request in that case (sorry, not commenting on the patch directly here), is to mark dm646x_evm __initdata (or even make it a local variable in the function), so for multiboard kernels you won't need to keep

[PATCH] davinci: make PCM platform devices static

2011-06-05 Thread Sekhar Nori
Make the PCM device structures used in devices.c and devices-da8xx.c static as they are used only in the respective files. This was found when trying to build a single image for DaVinci and DA8x devices using runtime P2V support. Signed-off-by: Sekhar Nori nsek...@ti.com ---

Re: [PATCH 2/3] davinci: dm6467/T EVM: pass reference clock rate to dm646x_init()

2011-06-05 Thread Sergei Shtylyov
Hello. On 02-06-2011 21:11, Sekhar Nori wrote: From: Bob Dunlopbob.dun...@xyzzy.org.uk The DM6467 and DM6467T EVMs use different reference clock frequencies. This difference is currently supported by having the SoC code call a public board routine which sets up the reference clock