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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>-----Original Message-----
>From: Kevin Hilman [mailto:khilman@xxxxxxxxxxxxxxxxxxx] 
>Sent: Wednesday, October 14, 2009 1:02 AM
>To: Nayak, Rajendra
>Cc: linux-omap@xxxxxxxxxxxxxxx
>Subject: Re: [PATCH 0/3] OMAP3: PM: Make PRM setup times and 
>CPUidle latencies/threshold board specific
>
>"Nayak, Rajendra" <rnayak@xxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux