Linux Samsung SOC development
 help / color / mirror / Atom feed
From: Ben Dooks <ben-linux@fluff.org>
To: Kukjin Kim <kgene.kim@samsung.com>
Cc: linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, ben-linux@fluff.org,
	Thomas Abraham <thomas.ab@samsung.com>
Subject: Re: [PATCH 2/4] ARM: S5PV210: Assign clock rate for clk_xusbxti clock.
Date: Fri, 28 May 2010 08:10:57 +0100	[thread overview]
Message-ID: <20100528071057.GX4720@trinity.fluff.org> (raw)
In-Reply-To: <1275014477-23133-3-git-send-email-kgene.kim@samsung.com>

On Fri, May 28, 2010 at 11:41:15AM +0900, Kukjin Kim wrote:
> From: Thomas Abraham <thomas.ab@samsung.com>
> 
> The input clock frequency for USB Phy is 24 Mhz on the S5PV210
> platform. This patch initializes the clk_xusbxti clock rate to 24Mhz.

is this all s5pv210/s5pc110 machines, or are there any current/likely
machines with non 24M clocks?
 
> Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
> ---
>  arch/arm/mach-s5pv210/clock.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-s5pv210/clock.c b/arch/arm/mach-s5pv210/clock.c
> index 154bca4..4ef09d4 100644
> --- a/arch/arm/mach-s5pv210/clock.c
> +++ b/arch/arm/mach-s5pv210/clock.c
> @@ -954,6 +954,8 @@ void __init_or_cpufreq s5pv210_setup_clocks(void)
>  
>  	printk(KERN_DEBUG "%s: registering clocks\n", __func__);
>  
> +	clk_xusbxti.rate = 24 * MHZ;
> +
>  	clkdiv0 = __raw_readl(S5P_CLK_DIV0);
>  	clkdiv1 = __raw_readl(S5P_CLK_DIV1);
>  
> -- 
> 1.6.3.3
> 

-- 
-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.

  reply	other threads:[~2010-05-28  7:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-28  2:41 [PATCH] Updates for S3C HSOTG driver Kukjin Kim
2010-05-28  2:41 ` [PATCH 1/4] ARM: S3C64XX: Add USB OTG HCLK to the list of clocks Kukjin Kim
2010-05-28  2:41 ` [PATCH 2/4] ARM: S5PV210: Assign clock rate for clk_xusbxti clock Kukjin Kim
2010-05-28  7:10   ` Ben Dooks [this message]
     [not found] ` <1275014477-23133-1-git-send-email-kgene.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2010-05-28  2:41   ` [PATCH 3/4] ARM: S5P: Add clk_xusbxti clock to the list of clocks to be registered Kukjin Kim
2010-05-28  2:41   ` [PATCH 4/4] usb: s3c-hsotg: Enable HCLK for the OTG module Kukjin Kim
2010-05-28  3:58     ` Ben Dooks
2010-05-28 10:22     ` Ben Dooks
2010-05-28 10:48       ` Sergei Shtylyov
     [not found]         ` <4BFF9F79.106-hkdhdckH98+B+jHODAdFcQ@public.gmane.org>
2010-05-31  0:39           ` Ben Dooks

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100528071057.GX4720@trinity.fluff.org \
    --to=ben-linux@fluff.org \
    --cc=kgene.kim@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=thomas.ab@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox