OMAP: DSS2: Add FEAT_VENC_REQUIRES_TV_DAC_CLK
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 18 May 2011 08:59:21 +0000 (11:59 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 1 Jul 2011 09:06:43 +0000 (12:06 +0300)
commit525dae613638320c880afcc0d8d6dd27141fc4e4
treed4e863cef4a21775576ae6896a1e18ee50059399
parent8ef0e614b3ed2e2daf7e9cefd9a2f12652f824bc
OMAP: DSS2: Add FEAT_VENC_REQUIRES_TV_DAC_CLK

OMAP3430 requires an 96MHz clock to VENC's DAC, but no other OMAP needs
it.

Add a new feature, FEAT_VENC_REQUIRES_TV_DAC_CLK, which tells if the
clock is needed on this platform, and use that feature in venc.c to
decide if the clock needs enabling.

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