Re: [PATCH] cpm2: Rework baud rate generators configuration to support external clocks.

2008-07-28 Thread Kumar Gala
On Jul 22, 2008, at 11:00 AM, Laurent Pinchart wrote: The CPM2 BRG setup functions cpm_setbrg and cpm2_fastbrg don't support external clocks. This patch adds a new exported __cpm2_setbrg function that takes the clock rate and clock source as extra parameters, and moves cpm_setbrg and cpm2_

[PATCH] cpm2: Rework baud rate generators configuration to support external clocks.

2008-07-22 Thread Laurent Pinchart
The CPM2 BRG setup functions cpm_setbrg and cpm2_fastbrg don't support external clocks. This patch adds a new exported __cpm2_setbrg function that takes the clock rate and clock source as extra parameters, and moves cpm_setbrg and cpm2_fastbrg to include/asm-powerpc/cpm2.h where they become inline