diff mbox

davinci: da850: add a .set_rate method to ref_clk

Message ID 1308073157-22993-1-git-send-email-christian.riesch@omicron.at (mailing list archive)
State Changes Requested
Headers show

Commit Message

Christian Riesch June 14, 2011, 5:39 p.m. UTC
This patch allows setting the input clock frequency of the SoC from
the board specific using the davinci_set_refclk_rate function.

Suggested-by: Kevin Hilman <khilman@ti.com>
Cc: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Christian Riesch <christian.riesch@omicron.at>
---

This patch applies on top of Sekhar's patch.
Best regards, Christian

 arch/arm/mach-davinci/da850.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Sekhar Nori June 28, 2011, 11:23 a.m. UTC | #1
Hi Christian,

On Tue, Jun 14, 2011 at 23:09:17, Christian Riesch wrote:
> This patch allows setting the input clock frequency of the SoC from
> the board specific using the davinci_set_refclk_rate function.

"board specific code"

> 
> Suggested-by: Kevin Hilman <khilman@ti.com>
> Cc: Sekhar Nori <nsekhar@ti.com>
> Signed-off-by: Christian Riesch <christian.riesch@omicron.at>
> ---
> 
> This patch applies on top of Sekhar's patch.
> Best 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,

Please use tabs for indentation.

Thanks,
Sekhar
diff mbox

Patch

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 = {