* [PATCH 0/3] OMAP3: PM: Make PRM setup times and CPUidle latencies/threshold board specific
@ 2009-10-12 13:41 Nayak, Rajendra
2009-10-13 19:31 ` Kevin Hilman
0 siblings, 1 reply; 3+ messages in thread
From: Nayak, Rajendra @ 2009-10-12 13:41 UTC (permalink / raw)
To: linux-omap@vger.kernel.org; +Cc: Kevin Hilman
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 0/3] OMAP3: PM: Make PRM setup times and CPUidle latencies/threshold board specific
2009-10-12 13:41 [PATCH 0/3] OMAP3: PM: Make PRM setup times and CPUidle latencies/threshold board specific Nayak, Rajendra
@ 2009-10-13 19:31 ` Kevin Hilman
2009-10-14 12:10 ` Nayak, Rajendra
0 siblings, 1 reply; 3+ messages in thread
From: Kevin Hilman @ 2009-10-13 19:31 UTC (permalink / raw)
To: Nayak, Rajendra; +Cc: linux-omap@vger.kernel.org
"Nayak, Rajendra" <rnayak@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH 0/3] OMAP3: PM: Make PRM setup times and CPUidle latencies/threshold board specific
2009-10-13 19:31 ` Kevin Hilman
@ 2009-10-14 12:10 ` Nayak, Rajendra
0 siblings, 0 replies; 3+ messages in thread
From: Nayak, Rajendra @ 2009-10-14 12:10 UTC (permalink / raw)
To: Kevin Hilman; +Cc: linux-omap@vger.kernel.org
>-----Original Message-----
>From: Kevin Hilman [mailto:khilman@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" <rnayak@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
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-10-14 12:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-12 13:41 [PATCH 0/3] OMAP3: PM: Make PRM setup times and CPUidle latencies/threshold board specific Nayak, Rajendra
2009-10-13 19:31 ` Kevin Hilman
2009-10-14 12:10 ` Nayak, Rajendra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox