RE: [PATCH 0/3] OMAP3: PM: Make PRM setup times and CPUidle latencies/threshold board specific

2009-10-14 Thread Nayak, Rajendra

-Original Message-
From: Kevin Hilman [mailto:khil...@deeprootsystems.com] 
Sent: Wednesday, October 14, 2009 1:02 AM
To: Nayak, Rajendra
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH 0/3] OMAP3: PM: Make PRM setup times and 
CPUidle latencies/threshold board specific

Nayak, Rajendra rna...@ti.com writes:

 The setup times to be programmed in the PRM module on OMAP (for
 clksetup, voltsetup etc) are board specific. They depend heavily on
 the PMIC used and even on different boards with the same PMIC, they
 vary based on the sleep/wake sequence used, system clock speed et
 al.

 The CPUidle latencies and hence thresholds (derived from latencies
 and Power consumption numbers) and very much dependent on these
 setup values and hence also need to be board specific.

 This patchset makes it possible for the PRM setup times and the
 CPUidle latencies/threshold numbers to be configured from board
 files, and some default values are used if nothing gets passed from
 board files.

 Only the 3430SDP board file is currently been modifed to pass these
 values and the rest of the 3430 based board's still pass NULL and
 hence use the default values defined.

Hi Rajendra,

Thanks for making these changes.  I'm very much for the approach
you've taken in these patches to make these more configurable.

One other comment that would require one more spin:

Since we may be moving the OPP tables from board code to SoC 
common code,
let's separate the rate tables from the VC and cpudle parameters.

Ok, I'll drop those changes from my patch-set.


How about an optional omap3_pm_init_vc() for the setup times. and
omap3_pm_init_cpuidle() for the CPUidle values.  This way only the
board files that don't want the defaults have to call them.

The other benefit of having optional calls is that we don't have to
keep touching every single board file to make these kinds of changes.

Yes, makes sense. I will repost the updated patchset.


Thanks,

Kevin



--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 0/3] OMAP3: PM: Make PRM setup times and CPUidle latencies/threshold board specific

2009-10-13 Thread Kevin Hilman
Nayak, Rajendra rna...@ti.com writes:

 The setup times to be programmed in the PRM module on OMAP (for
 clksetup, voltsetup etc) are board specific. They depend heavily on
 the PMIC used and even on different boards with the same PMIC, they
 vary based on the sleep/wake sequence used, system clock speed et
 al.

 The CPUidle latencies and hence thresholds (derived from latencies
 and Power consumption numbers) and very much dependent on these
 setup values and hence also need to be board specific.

 This patchset makes it possible for the PRM setup times and the
 CPUidle latencies/threshold numbers to be configured from board
 files, and some default values are used if nothing gets passed from
 board files.

 Only the 3430SDP board file is currently been modifed to pass these
 values and the rest of the 3430 based board's still pass NULL and
 hence use the default values defined.

Hi Rajendra,

Thanks for making these changes.  I'm very much for the approach
you've taken in these patches to make these more configurable.

One other comment that would require one more spin:

Since we may be moving the OPP tables from board code to SoC common code,
let's separate the rate tables from the VC and cpudle parameters.

How about an optional omap3_pm_init_vc() for the setup times. and
omap3_pm_init_cpuidle() for the CPUidle values.  This way only the
board files that don't want the defaults have to call them.

The other benefit of having optional calls is that we don't have to
keep touching every single board file to make these kinds of changes.

Thanks,

Kevin


--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 0/3] OMAP3: PM: Make PRM setup times and CPUidle latencies/threshold board specific

2009-10-12 Thread Nayak, Rajendra
Hi,

The setup times to be programmed in the PRM module on OMAP (for clksetup, 
voltsetup etc)
are board specific. They depend heavily on the PMIC used and even on different 
boards
with the same PMIC, they vary based on the sleep/wake sequence used, system 
clock speed et al.

The CPUidle latencies and hence thresholds (derived from latencies and Power 
consumption numbers)
and very much dependent on these setup values and hence also need to be board 
specific.

This patchset makes it possible for the PRM setup times and the CPUidle 
latencies/threshold numbers to be
configured from board files, and some default values are used if nothing gets 
passed from board files.

Only the 3430SDP board file is currently been modifed to pass these values and 
the rest of the 3430
based board's still pass NULL and hence use the default values defined.

regards,
Rajendra


--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html