summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/vp.c
diff options
context:
space:
mode:
authorTaras Kondratiuk <taras@ti.com>2012-08-01 20:51:33 +0800
committerAndy Green <andy.green@linaro.org>2012-08-01 20:51:33 +0800
commit0b8ff05e6f463c728cdd91fed0a15d4344a6ecb3 (patch)
treeb40528cb569ddf7d0ad3eb76156cf6ad8febf8b7 /arch/arm/mach-omap2/vp.c
parent7c3f9ba7e014b5020af21f96cebbb15f0c78f56b (diff)
OMAP3+: PM: DVFS: Scale dependent domains to existing OPP
Currently dependent domain is scaled to: - dependent voltage that is got from voltage dependency table. - frequency that is got from OPP found for dependent voltage. OPP for dependent voltage is found by _volt_to_opp() function which looks for OPP with equal or _greater_ voltage. So if there is no OPP with exact voltage (or this OPP is disabled), then frequency from OPP with higher voltage will be used. As a result device will run at not supported combination of frequency and voltage. This may lead to instabilities. This patch scales dependent domain to a correct voltage-frequency tuple, by using both frequency and voltage from the matched OPP. Change-Id: Ieb14be32ce2f6f2971ca0530dd077bb445a7e2f7 Signed-off-by: Taras Kondratiuk <taras@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/vp.c')
0 files changed, 0 insertions, 0 deletions