]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: DSI: Add code to disable PHY DCC
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 24 Sep 2012 12:15:57 +0000 (15:15 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 24 Sep 2012 13:50:10 +0000 (16:50 +0300)
commita20470942af37332400fb5a978f7d3b6feaccbaf
tree4804b50cc9e45739746311ea8cd2f8281ed37623
parentb531b40fb917af4d278958adfcf045a9872e2658
OMAPDSS: DSI: Add code to disable PHY DCC

OMAP5 DSI PHY has DCC (Duty Cycle Corrector) block, and by default DCC
is enabled and thus the PLL clock is divided by 2 to get the DSI DDR
clk. This divider has been 4 for all previous OMAPs, and changing it
needs some reorganization of the code. The DCC can be disabled, and in
that case the divider is back to the old 4.

This patch adds dss feature for the DCC, and adds code to always disable
the DCC.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dsi.c
drivers/video/omap2/dss/dss_features.c
drivers/video/omap2/dss/dss_features.h