All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: "Marek Vašut" <marek.vasut@gmail.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH 1/4] PalmZ71 - OMAP310 Clocks
Date: Wed, 25 Oct 2006 21:07:35 +0300	[thread overview]
Message-ID: <20061025180733.GJ4852@atomide.com> (raw)
In-Reply-To: <200610241719.59561.marek.vasut@gmail.com>

* Marek Vašut <marek.vasut@gmail.com> [061024 18:22]:
> Hi,
> this patch enables some clock on omap310.

> diff -Naur linux-omap/arch/arm/mach-omap1/clock.h linux-omap-z71/arch/arm/mach-omap1/clock.h
> --- linux-omap/arch/arm/mach-omap1/clock.h	2006-10-15 16:09:10.000000000 +0200
> +++ linux-omap-z71/arch/arm/mach-omap1/clock.h	2006-10-20 21:56:49.000000000 +0200
> @@ -282,7 +282,7 @@
>  static struct clk dsp_ck = {
>  	.name		= "dsp_ck",
>  	.parent		= &ck_dpll1,
> -	.flags		= CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX |
> +	.flags		= CLOCK_IN_OMAP310 | CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX |
>  			  RATE_CKCTL,
>  	.enable_reg	= (void __iomem *)ARM_CKCTL,
>  	.enable_bit	= EN_DSPCK,
> @@ -295,7 +295,7 @@
>  static struct clk dspmmu_ck = {
>  	.name		= "dspmmu_ck",
>  	.parent		= &ck_dpll1,
> -	.flags		= CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX |
> +	.flags		= CLOCK_IN_OMAP310 | CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX |
>  			  RATE_CKCTL | ALWAYS_ENABLED,
>  	.rate_offset	= CKCTL_DSPMMUDIV_OFFSET,
>  	.recalc		= &omap1_ckctl_recalc,
> @@ -306,7 +306,7 @@
>  static struct clk dspper_ck = {
>  	.name		= "dspper_ck",
>  	.parent		= &ck_dpll1,
> -	.flags		= CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX |
> +	.flags		= CLOCK_IN_OMAP310 | CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX |
>  			  RATE_CKCTL | VIRTUAL_IO_ADDRESS,
>  	.enable_reg	= (void __iomem *)DSP_IDLECT2,
>  	.enable_bit	= EN_PERCK,
> @@ -320,7 +320,7 @@
>  static struct clk dspxor_ck = {
>  	.name		= "dspxor_ck",
>  	.parent		= &ck_ref,
> -	.flags		= CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX |
> +	.flags		= CLOCK_IN_OMAP310 | CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX |
>  			  VIRTUAL_IO_ADDRESS,
>  	.enable_reg	= (void __iomem *)DSP_IDLECT2,
>  	.enable_bit	= EN_XORPCK,
> @@ -332,7 +332,7 @@
>  static struct clk dsptim_ck = {
>  	.name		= "dsptim_ck",
>  	.parent		= &ck_ref,
> -	.flags		= CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX |
> +	.flags		= CLOCK_IN_OMAP310 | CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX |
>  			  VIRTUAL_IO_ADDRESS,
>  	.enable_reg	= (void __iomem *)DSP_IDLECT2,
>  	.enable_bit	= EN_DSPTIMCK,
> @@ -374,7 +374,7 @@
>  
>  static struct clk tipb_ck = {
>  	/* No-idle controlled by "tc_ck" */
> -	.name		= "tibp_ck",
> +	.name		= "tipb_ck",
>  	.parent		= &tc_ck.clk,
>  	.flags		= CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP310 |
>  			  ALWAYS_ENABLED,
> @@ -733,7 +733,7 @@
>  static struct clk i2c_fck = {
>  	.name		= "i2c_fck",
>  	.id		= 1,
> -	.flags		= CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX |
> +	.flags		= CLOCK_IN_OMAP310 | CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX |
>  			  VIRTUAL_CLOCK | CLOCK_NO_IDLE_PARENT |
>  			  ALWAYS_ENABLED,
>  	.parent		= &armxor_ck.clk,

Hmm, I thought 310 did not have a DSP? Or is it only 710 that does not
have a DSP?

Tony

  reply	other threads:[~2006-10-25 18:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-24 15:19 [PATCH 1/4] PalmZ71 - OMAP310 Clocks Marek Vašut
2006-10-25 18:07 ` Tony Lindgren [this message]
2006-10-25 20:17   ` andrzej zaborowski
2006-10-25 23:45     ` Marek Vašut
2006-10-25 23:54 ` Marek Vašut
2006-10-26 21:22   ` Tony Lindgren
  -- strict thread matches above, loose matches on Subject: below --
2006-10-25 19:38 Woodruff, Richard
2006-10-25 20:08 ` Tony Lindgren

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=20061025180733.GJ4852@atomide.com \
    --to=tony@atomide.com \
    --cc=linux-omap-open-source@linux.omap.com \
    --cc=marek.vasut@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.