public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Abhijit.Pagare@india.ti.com
Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	Paul Walmsley <paul@pwsan.com>, Rajendra Nayak <rnayak@ti.com>,
	Abhijit Pagare <abhijitpagare@ti.com>,
	Benoit Cousson <b-cousson@ti.com>
Subject: Re: [PATCH 1/5] ARM: OMAP4: PM: OMAP4 essential basic initialisations.
Date: Mon, 28 Dec 2009 15:33:31 -0800	[thread overview]
Message-ID: <20091228233331.GR3512@atomide.com> (raw)
In-Reply-To: <1260528356-11621-1-git-send-email-a0393848@linfarm476.(none)>

* Abhijit.Pagare@india.ti.com <Abhijit.Pagare@india.ti.com> [091211 02:50]:
> From: Abhijit Pagare <abhijitpagare@ti.com>
> 
> Some of the OMAP4 specific chip level initialisations are taken care of.

Here's yet another series of patches with "PM" in the subject
for no obvious reason.

Please repost all with with sensible subjects.

Tony

 
> Signed-off-by: Abhijit Pagare <abhijitpagare@ti.com>
> Cc: Paul Walmsley <paul@pwsan.com>
> Cc: Benoit Cousson <b-cousson@ti.com>
> Cc: Rajendra Nayak <rnayak@ti.com>
> ---
>  arch/arm/mach-omap2/id.c              |    8 +++++++-
>  arch/arm/plat-omap/include/plat/cpu.h |    6 +++++-
>  2 files changed, 12 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
> index 4fad192..52aca5f 100644
> --- a/arch/arm/mach-omap2/id.c
> +++ b/arch/arm/mach-omap2/id.c
> @@ -336,8 +336,12 @@ void __init omap2_check_revision(void)
>  		omap3_check_features();
>  		omap3_cpuinfo();
>  	} else if (cpu_is_omap44xx()) {
> +		/*
> +		 * omap44xx_check_revision() should
> +		 * be defined above and then called
> +		 * from here.
> +		 */
>  		printk(KERN_INFO "FIXME: CPU revision = OMAP4430\n");
> -		return;
>  	} else {
>  		pr_err("OMAP revision unknown, please fix!\n");
>  	}
> @@ -367,6 +371,8 @@ void __init omap2_check_revision(void)
>  			omap_chip.oc |= CHIP_IS_OMAP3430ES3_1;
>  		else if (omap_rev() == OMAP3630_REV_ES1_0)
>  			omap_chip.oc |= CHIP_IS_OMAP3630ES1;
> +	} else if (cpu_is_omap44xx()) {
> +		omap_chip.oc |= CHIP_IS_OMAP4430;
>  	} else {
>  		pr_err("Uninitialized omap_chip, please fix!\n");
>  	}
> diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h
> index 2e17890..6a296b8 100644
> --- a/arch/arm/plat-omap/include/plat/cpu.h
> +++ b/arch/arm/plat-omap/include/plat/cpu.h
> @@ -154,6 +154,7 @@ unsigned int omap_rev(void);
>   * cpu_is_omap242x():	True for OMAP2420, OMAP2422, OMAP2423
>   * cpu_is_omap243x():	True for OMAP2430
>   * cpu_is_omap343x():	True for OMAP3430
> + * cpu_is_omap443x():	True for OMAP4430
>   */
>  #define GET_OMAP_CLASS	(omap_rev() & 0xff)
>  
> @@ -284,6 +285,7 @@ IS_OMAP_SUBCLASS(363x, 0x363)
>   * cpu_is_omap2423():	True for OMAP2423
>   * cpu_is_omap2430():	True for OMAP2430
>   * cpu_is_omap3430():	True for OMAP3430
> + * cpu_is_omap4430():	True for OMAP4430
>   * cpu_is_omap3505():	True for OMAP3505
>   * cpu_is_omap3517():	True for OMAP3517
>   */
> @@ -332,6 +334,7 @@ IS_OMAP_TYPE(3517, 0x3517)
>  #define cpu_is_omap3505()		0
>  #define cpu_is_omap3517()		0
>  #define cpu_is_omap3430()		0
> +#define cpu_is_omap4430()		0
>  #define cpu_is_omap3630()		0
>  
>  /*
> @@ -443,7 +446,7 @@ IS_OMAP_TYPE(3517, 0x3517)
>  #define OMAP3505_REV(v)		(OMAP35XX_CLASS | (0x3505 << 16) | (v << 12))
>  #define OMAP3517_REV(v)		(OMAP35XX_CLASS | (0x3517 << 16) | (v << 12))
>  
> -#define OMAP443X_CLASS		0x44300034
> +#define OMAP443X_CLASS		0x44300044
>  
>  /*
>   * omap_chip bits
> @@ -467,6 +470,7 @@ IS_OMAP_TYPE(3517, 0x3517)
>  #define CHIP_IS_OMAP3430ES3_0		(1 << 5)
>  #define CHIP_IS_OMAP3430ES3_1		(1 << 6)
>  #define CHIP_IS_OMAP3630ES1		(1 << 7)
> +#define CHIP_IS_OMAP4430		(1 << 8)
>  
>  #define CHIP_IS_OMAP24XX		(CHIP_IS_OMAP2420 | CHIP_IS_OMAP2430)
>  
> -- 
> 1.5.4.7
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2009-12-28 23:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1260528356-11621-1-git-send-email-a0393848@linfarm476.(none)>
2009-12-11 10:45 ` [PATCH 2/5] ARM: OMAP4: PM: OMAP4 Power Domain Porting Related Clean-up Abhijit.Pagare
     [not found] ` <1260528356-11621-2-git-send-email-a0393848@linfarm476.(none)>
2009-12-11 10:45   ` [PATCH 3/5] ARM: OMAP4: PM: Add the Autogenerated OMAP4 specific power domain framework Abhijit.Pagare
     [not found]   ` <1260528356-11621-3-git-send-email-a0393848@linfarm476.(none)>
2009-12-11 10:45     ` [PATCH 4/5] ARM: OMAP4: PM: Adapt the existing OMAP2/3 and common Power Domain Frameworks Abhijit.Pagare
     [not found]     ` <1260528356-11621-4-git-send-email-a0393848@linfarm476.(none)>
2009-12-11 10:45       ` [PATCH 5/5] ARM: OMAP4: PM: Refine the APIs to support OMAP4 features Abhijit.Pagare
2009-12-28 23:33 ` Tony Lindgren [this message]
2009-12-30  6:25   ` [PATCH 1/5] ARM: OMAP4: PM: OMAP4 essential basic initialisations Pagare, Abhijit
2009-12-11 10:45 Abhijit.Pagare

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=20091228233331.GR3512@atomide.com \
    --to=tony@atomide.com \
    --cc=Abhijit.Pagare@india.ti.com \
    --cc=abhijitpagare@ti.com \
    --cc=b-cousson@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=paul@pwsan.com \
    --cc=rnayak@ti.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