]> git.baikalelectronics.ru Git - kernel.git/commit
omapdss: DISPC: add max pixel clock limits for LCD and TV managers
authorArchit Taneja <archit@ti.com>
Tue, 26 Mar 2013 13:45:22 +0000 (19:15 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 10 Apr 2013 12:02:52 +0000 (15:02 +0300)
commitbbd34905d2e791c839a6e55e968281d02f1c3856
tree2d867a4aa8029380636ce140a326f6bc9a771744
parent7a390230e5b1e9d6ad8c97a1379f4a60dfccf4cf
omapdss: DISPC: add max pixel clock limits for LCD and TV managers

Each version of OMAP has a limitation on the maximum pixel clock frequency
supported by an overlay manager. This limit isn't checked by omapdss. Add
dispc feats for lcd and tv managers and check whether the target timings can
be supported or not.

The pixel clock limitations are actually more complex. They depend on which OPP
OMAP is in, and they also depend on which encoder is the manager connected to.
The OPP dependence is ignored as DSS forces the PM framework to be on OPP100
when DSS is enabled, and the encoder dependencies are ignored by DISPC for now.
These limits should come from the encoder driver.

The OMAP2 TRM doesn't mention the maximum pixel clock limit. This value is left
as half of DSS_FCLK, as OMAP2 requires the PCD to be atleast 2.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c