All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] OMAP4: HWMOD: Do omap_hwmod_late_init for OMAP4
@ 2010-08-06 12:31 Charulatha V
  2010-08-06 12:35 ` Shilimkar, Santosh
  2010-08-06 12:35 ` Cousson, Benoit
  0 siblings, 2 replies; 4+ messages in thread
From: Charulatha V @ 2010-08-06 12:31 UTC (permalink / raw)
  To: linux-omap; +Cc: paul, khilman, b-cousson, rnayak, Charulatha V, Basak, Partha

This patch includes "cpu_is" check for omap44xx cpu inorder to do
omap_hwmod_late_init() without which hwmods initialization does not
happen for omap4.

Signed-off-by: Charulatha V <charu@ti.com>
Signed-off-by: Basak, Partha <p-basak2@ti.com>
---
 arch/arm/mach-omap2/io.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
index b89e678..9b15f46 100644
--- a/arch/arm/mach-omap2/io.c
+++ b/arch/arm/mach-omap2/io.c
@@ -345,7 +345,7 @@ void __init omap2_init_common_hw(struct omap_sdrc_params *sdrc_cs0,
 #ifndef CONFIG_PM_RUNTIME
 	skip_setup_idle = 1;
 #endif
-	if (cpu_is_omap24xx() || cpu_is_omap34xx())   /* FIXME: OMAP4 */
+	if (cpu_is_omap24xx() || cpu_is_omap34xx() || cpu_is_omap44xx())
 		omap_hwmod_late_init(skip_setup_idle);
 
 	if (cpu_is_omap24xx() || cpu_is_omap34xx()) {
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: [PATCH] OMAP4: HWMOD: Do omap_hwmod_late_init for OMAP4
  2010-08-06 12:31 [PATCH] OMAP4: HWMOD: Do omap_hwmod_late_init for OMAP4 Charulatha V
@ 2010-08-06 12:35 ` Shilimkar, Santosh
  2010-08-06 12:35 ` Cousson, Benoit
  1 sibling, 0 replies; 4+ messages in thread
From: Shilimkar, Santosh @ 2010-08-06 12:35 UTC (permalink / raw)
  To: Varadarajan, Charulatha, linux-omap@vger.kernel.org
  Cc: paul@pwsan.com, khilman@deeprootsystems.com, Cousson, Benoit,
	Nayak, Rajendra, Basak, Partha



> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> owner@vger.kernel.org] On Behalf Of Varadarajan, Charulatha
> Sent: Friday, August 06, 2010 6:01 PM
> To: linux-omap@vger.kernel.org
> Cc: paul@pwsan.com; khilman@deeprootsystems.com; Cousson, Benoit; Nayak,
> Rajendra; Varadarajan, Charulatha; Basak, Partha
> Subject: [PATCH] OMAP4: HWMOD: Do omap_hwmod_late_init for OMAP4
> 
> This patch includes "cpu_is" check for omap44xx cpu inorder to do
> omap_hwmod_late_init() without which hwmods initialization does not
> happen for omap4.
> 
> Signed-off-by: Charulatha V <charu@ti.com>
> Signed-off-by: Basak, Partha <p-basak2@ti.com>
> ---
>  arch/arm/mach-omap2/io.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
> index b89e678..9b15f46 100644
> --- a/arch/arm/mach-omap2/io.c
> +++ b/arch/arm/mach-omap2/io.c
> @@ -345,7 +345,7 @@ void __init omap2_init_common_hw(struct
> omap_sdrc_params *sdrc_cs0,
>  #ifndef CONFIG_PM_RUNTIME
>  	skip_setup_idle = 1;
>  #endif
> -	if (cpu_is_omap24xx() || cpu_is_omap34xx())   /* FIXME: OMAP4 */
> +	if (cpu_is_omap24xx() || cpu_is_omap34xx() || cpu_is_omap44xx())
Rather use now ....
	if (cpu_class_is_omap2())

>  		omap_hwmod_late_init(skip_setup_idle);
> 
>  	if (cpu_is_omap24xx() || cpu_is_omap34xx()) {
> --
> 1.6.3.3
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] OMAP4: HWMOD: Do omap_hwmod_late_init for OMAP4
  2010-08-06 12:31 [PATCH] OMAP4: HWMOD: Do omap_hwmod_late_init for OMAP4 Charulatha V
  2010-08-06 12:35 ` Shilimkar, Santosh
@ 2010-08-06 12:35 ` Cousson, Benoit
  2010-08-09 12:35   ` Varadarajan, Charulatha
  1 sibling, 1 reply; 4+ messages in thread
From: Cousson, Benoit @ 2010-08-06 12:35 UTC (permalink / raw)
  To: Varadarajan, Charulatha
  Cc: linux-omap@vger.kernel.org, paul@pwsan.com,
	khilman@deeprootsystems.com, Nayak, Rajendra, Basak, Partha

Hi Charu,

On 8/6/2010 2:31 PM, Varadarajan, Charulatha wrote:
> This patch includes "cpu_is" check for omap44xx cpu inorder to do
> omap_hwmod_late_init() without which hwmods initialization does not
> happen for omap4.
>
> Signed-off-by: Charulatha V<charu@ti.com>
> Signed-off-by: Basak, Partha<p-basak2@ti.com>
> ---
>   arch/arm/mach-omap2/io.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
> index b89e678..9b15f46 100644
> --- a/arch/arm/mach-omap2/io.c
> +++ b/arch/arm/mach-omap2/io.c
> @@ -345,7 +345,7 @@ void __init omap2_init_common_hw(struct omap_sdrc_params *sdrc_cs0,
>   #ifndef CONFIG_PM_RUNTIME
>   	skip_setup_idle = 1;
>   #endif
> -	if (cpu_is_omap24xx() || cpu_is_omap34xx())   /* FIXME: OMAP4 */
> +	if (cpu_is_omap24xx() || cpu_is_omap34xx() || cpu_is_omap44xx())
>   		omap_hwmod_late_init(skip_setup_idle);
>
>   	if (cpu_is_omap24xx() || cpu_is_omap34xx()) {

This is already done in this patch:
[PATCH v3 1/7] OMAP4: hwmod: Add initial data for OMAP4430 ES1 & ES2
https://patchwork.kernel.org/patch/117347/

Benoit

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH] OMAP4: HWMOD: Do omap_hwmod_late_init for OMAP4
  2010-08-06 12:35 ` Cousson, Benoit
@ 2010-08-09 12:35   ` Varadarajan, Charulatha
  0 siblings, 0 replies; 4+ messages in thread
From: Varadarajan, Charulatha @ 2010-08-09 12:35 UTC (permalink / raw)
  To: Cousson, Benoit
  Cc: linux-omap@vger.kernel.org, paul@pwsan.com,
	khilman@deeprootsystems.com, Nayak, Rajendra, Basak, Partha

 

> -----Original Message-----
> From: Cousson, Benoit 
> Sent: Friday, August 06, 2010 6:06 PM
> To: Varadarajan, Charulatha
> Cc: linux-omap@vger.kernel.org; paul@pwsan.com; 
> khilman@deeprootsystems.com; Nayak, Rajendra; Basak, Partha
> Subject: Re: [PATCH] OMAP4: HWMOD: Do omap_hwmod_late_init for OMAP4
> 
> Hi Charu,
> 
> On 8/6/2010 2:31 PM, Varadarajan, Charulatha wrote:
> > This patch includes "cpu_is" check for omap44xx cpu inorder to do
> > omap_hwmod_late_init() without which hwmods initialization does not
> > happen for omap4.
> >
> > Signed-off-by: Charulatha V<charu@ti.com>
> > Signed-off-by: Basak, Partha<p-basak2@ti.com>
> > ---
> >   arch/arm/mach-omap2/io.c |    2 +-
> >   1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
> > index b89e678..9b15f46 100644
> > --- a/arch/arm/mach-omap2/io.c
> > +++ b/arch/arm/mach-omap2/io.c
> > @@ -345,7 +345,7 @@ void __init omap2_init_common_hw(struct 
> omap_sdrc_params *sdrc_cs0,
> >   #ifndef CONFIG_PM_RUNTIME
> >   	skip_setup_idle = 1;
> >   #endif
> > -	if (cpu_is_omap24xx() || cpu_is_omap34xx())   /* FIXME: OMAP4 */
> > +	if (cpu_is_omap24xx() || cpu_is_omap34xx() || cpu_is_omap44xx())
> >   		omap_hwmod_late_init(skip_setup_idle);
> >
> >   	if (cpu_is_omap24xx() || cpu_is_omap34xx()) {
> 
> This is already done in this patch:
> [PATCH v3 1/7] OMAP4: hwmod: Add initial data for OMAP4430 ES1 & ES2
> https://patchwork.kernel.org/patch/117347/

Okay. I found omap_hwmod_late_init() call missing for OMAP4 in
origin/pm-wip/hwmods-omap4 and sent this patch without noticing your
above mentioned patch. Please ignore this patch.

> 
> Benoit
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-09 12:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-06 12:31 [PATCH] OMAP4: HWMOD: Do omap_hwmod_late_init for OMAP4 Charulatha V
2010-08-06 12:35 ` Shilimkar, Santosh
2010-08-06 12:35 ` Cousson, Benoit
2010-08-09 12:35   ` Varadarajan, Charulatha

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.