diff options
author | Taras Kondratiuk <taras@ti.com> | 2012-08-08 00:21:27 -0500 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2015-04-18 13:14:02 +0200 |
commit | 5048454e9af8262f70b161bbf3bb6092b90d22f2 (patch) | |
tree | 71b0228d8d0f4a2dfcefbf5a257bae969e80cc2b /arch/arm | |
parent | ca97ea9bdec8a9351d06e0cfc962890163ba6917 (diff) | |
download | kernel_samsung_tuna-5048454e9af8262f70b161bbf3bb6092b90d22f2.zip kernel_samsung_tuna-5048454e9af8262f70b161bbf3bb6092b90d22f2.tar.gz kernel_samsung_tuna-5048454e9af8262f70b161bbf3bb6092b90d22f2.tar.bz2 |
OMAPDSS: DSS: Scale DSS OPP according to pixel clock rate
Before enabling pixel clock DSS should set its OPP
for OPP framework to set correct VDD_CORE voltage level.
When pixel clock is disabled DSS can set the lowest OPP.
Change-Id: Ia1459614ae306dba9b048b149e474442e2880bba
Signed-off-by: Taras Kondratiuk <taras@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/display.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index dd91c20..417bd66 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch/arm/mach-omap2/display.c @@ -27,6 +27,8 @@ #include <plat/omap_device.h> #include <plat/omap-pm.h> +#include "dvfs.h" + static struct platform_device omap_display_device = { .name = "omapdss", .id = -1, @@ -97,7 +99,7 @@ int __init omap_display_init(struct omap_dss_board_info *board_data) } pdata.board_data = board_data; - + pdata.device_scale = omap_device_scale; for (i = 0; i < oh_count; i++) { oh = omap_hwmod_lookup(curr_dss_hwmod[i].oh_name); if (!oh) { |