[PATCH v2] davinci: da850: add a .set_rate method to ref_clk
Nori, Sekhar
nsekhar at ti.com
Wed Jul 6 12:36:45 EDT 2011
Hi Christian,
On Tue, Jun 28, 2011 at 20:40:51, Christian Riesch wrote:
> This patch allows setting the input clock frequency of the SoC from
> the board specific code using the davinci_set_refclk_rate function.
>
> Suggested-by: Kevin Hilman <khilman at ti.com>
> Signed-off-by: Christian Riesch <christian.riesch at omicron.at>
> ---
>
> v2: fixed the commit message and indentation.
> Regards, Christian
>
> arch/arm/mach-davinci/da850.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
> index 133aac4..27fe3ac 100644
> --- a/arch/arm/mach-davinci/da850.c
> +++ b/arch/arm/mach-davinci/da850.c
> @@ -58,6 +58,7 @@ static struct pll_data pll0_data = {
> static struct clk ref_clk = {
> .name = "ref_clk",
> .rate = DA850_REF_FREQ,
> + .set_rate = davinci_simple_set_rate,
> };
>
> static struct clk pll0_clk = {
Thanks, will queue this as a 'feature' for
next merge window.
Thanks,
Sekhar
More information about the linux-arm-kernel
mailing list