OMAP2PLUS: DSS2: Use dss features to get clock source names of current OMAP
authorArchit Taneja <archit@ti.com>
Wed, 2 Mar 2011 06:27:25 +0000 (11:57 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 11 Mar 2011 13:46:27 +0000 (15:46 +0200)
commit067a57e48e302863eb2d5ac0900ae9ae65dbc8c3
tree7118ff6757fcd6358547a24b9d2c5d09ba43a868
parent88134fa138b90518819b750891ffecc13f5f4886
OMAP2PLUS: DSS2: Use dss features to get clock source names of current OMAP

Clock source names vary across OMAP2/3 and OMAP4, the clock source enum
names have been made generic in the driver, but for purposes of debugging
and dumping clock sources, it is better to preserve the actual TRM name of
the clock.

Introduce a dss feature function 'dss_feat_get_clk_source_name()' which
returns a string with the TRM clock name for the current OMAP in use. The OMAP
specific name is printed along the generic name within brackets.

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