summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/cpu-tegra.c
AgeCommit message (Collapse)Author
2011-02-16ARM: tegra: cpufreq: finer values for emc scalingAmit Kamath
Added support for emc frequencies 75,100,25 Mhz scaling Change-Id: Id5f170a380c3acbc7a375ab5e5018628549b992f Reviewed-on: http://git-master/r/18340 Reviewed-by: Amit Kamath <akamath@nvidia.com> Tested-by: Amit Kamath <akamath@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-19ARM: tegra: cpufreq: Add cpu frequency table selectionAlex Frid
Define cpu frequency tables for different tegra2 CPU clock ranges, and add matching selection mechanism for scaling table as well as throttling limits. Change-Id: I06b13f150d72f8a80f879ecf80ed44cc1f63bad4 Reviewed-on: http://git-master/r/16076 Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-04ARM: tegra: cpufreq: Remove direct calls to localtimerColin Cross
The localtimer code will use a cpufreq notifier to update the prescalers. Change-Id: Ie0587d7eaec628ff11bf40636f78597574cd63ec Signed-off-by: Colin Cross <ccross@android.com>
2011-01-04ARM: tegra: cpufreq thermal throttling cleanupsTodd Poynor
Various review feedback, including: Keep a global throttling index that specifies a ceiling CPU speed, lowered by one at each delay interval (while the temperature alarm continues to be signalled). Avoid lowering the throttle too far based on a transitory lowering of speed requested by the governor. Restore governor-requested speed when throttling turned off. Add cpufreq sysfs attribute for checking throttling state. Make throttling workqueue high-priority. Cosmetic changes. Change-Id: I068bf32115927fa61282f17f4a8798f2aee0b530 Signed-off-by: Todd Poynor <toddpoynor@google.com>
2010-12-20ARM: tegra: cpufreq: Change function signature for CPU speed throttlingTodd Poynor
The NCT1008 driver is now passed a function pointer from the board file's platform data to be called when alarms are asserted or deasserted. Switch to a single function for throttling enable/disable suitable for calling via the temperature alarm callback. Change-Id: Ic0eb1566a68e151216e26dfb6ed6f4bc7a273ddb Signed-off-by: Todd Poynor <toddpoynor@google.com>
2010-12-20ARM: tegra: Make CPU thermal throttling configurableTodd Poynor
Based on work by Dmitriy Gruzman and Varun Wadekar. Change-Id: I64d765628223b7ef1ec493b9e409ea11e9391b94 Signed-off-by: Todd Poynor <toddpoynor@google.com>
2010-12-08ARM: tegra: cpufreq: Adjust memory frequency with cpu frequencyColin Cross
Change-Id: I08c64f64a12bcb11e7c0e466fa77fe971e4b2cba Signed-off-by: Colin Cross <ccross@android.com>
2010-12-03[ARM] tegra: cpufreq: Support for tegra cpu throttlingDmitriy Gruzman
Change-Id: I28d69d22437b6ba2d22e4ce12746630786006071 Signed-off-by: Dmitriy Gruzman <dmitriy.gruzman@motorola.com>
2010-10-25ARM: tegra: cpufreq: Fix compile issues with CONFIG_SMP=nColin Cross
Change-Id: Id678df6299adfc23a4321ddaff10b4c64a4ed895 Signed-off-by: Colin Cross <ccross@android.com>
2010-10-25[ARM] tegra: cpufreq: Remove cansleep from clk apiColin Cross
Change-Id: I97614cac27da66a95664664143952f376fc5462e Signed-off-by: Colin Cross <ccross@android.com>
2010-10-06[ARM] tegra: cpufreq: Adjust twds on frequency scalingColin Cross
Change-Id: I8d187b861e18dfefcbf4566f4c695dfd1e17fe98 Signed-off-by: Colin Cross <ccross@google.com>
2010-10-06[ARM] tegra: cpufreq: Disable cpufreq during suspendColin Cross
Adds a SUSPEND_PREPARE notification hook to drop the frequency to the lowest possible during suspend. This prevents the cpufreq driver from attempting regulator calls after suspend has started - the regulator api can call into drivers that have already been suspended. Also adds 216MHz (off of PLLP) as the lowest CPU frequency, which allows PLLX to be turned off. Change-Id: I46a7f88610ce35b6f761a557905861f79bc4df0b Signed-off-by: Colin Cross <ccross@google.com>
2010-09-29[ARM] tegra: Add cpufreq supportColin Cross
Implement cpufreq support for the Tegra SOC. DVFS is handled by the core virtual cpu clock. The frequencies of the two cores are tied together, the highest frequency requested by either core determines the actual frequency. Signed-off-by: Colin Cross <ccross@android.com>