summaryrefslogtreecommitdiff
path: root/crypto/cast6.c
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2011-10-05 21:20:21 -0700
committerVarun Wadekar <vwadekar@nvidia.com>2011-12-08 18:08:31 +0530
commit33c9bbe38a93f618c543754b06d05f976b88c0f2 (patch)
treee5f05d582473ad4a42a44e974ce242631dce674b /crypto/cast6.c
parent62ac221dc0af840669df22aa2646c26baed4cb6f (diff)
ARM: tegra: power: Limit CPU rate on system EDP alarm
System electrical design point (EDP) alarm is generated when system power source (battery) over-current is detected. Part of the system EDP management is CPU frequency capping added by this commit. Maximum CPU clock frequency is pre-determined depending on number of CPU cores on-line. It is combined with CPU regulator EDP limit and applied to final CPU rate; CPU voltage is scaled down by DVFS, respectively. The system EDP limit of CPU rate is removed after alarm is canceled. EDP event can be emulated via debugfs entry /d/cpu-tegra/edp_alarm. (cherry picked from commit fa673d27766ff9513139e94a498e4c24827d7c57) arm: tegra: power: Removed erroneous ';' (cherry picked from commit b4b404381b2d1823b7c127858950f853428fe3b5) Change-Id: I60ec0e87f9442b698a8824895aac0a1f955565b4 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/67823 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'crypto/cast6.c')
0 files changed, 0 insertions, 0 deletions