]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP4: DSS2: HDMI: Function pointer approach to call
authorMythri P K <mythripk@ti.com>
Thu, 8 Sep 2011 13:36:26 +0000 (19:06 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Sep 2011 13:16:34 +0000 (16:16 +0300)
commitf2e9f616bdb85d96a7f254f4ff3bd1454aac6a27
tree61f6c6f5b3ebf78bd69316d462d618d39b50697d
parent96efe376cfe0664ae554f7b7310a5e5eb43010f6
OMAP4: DSS2: HDMI: Function pointer approach to call

HDMI IP fundamentally has replaceable core PHY and PLL blocks.
These blocks might vary across OMAP's but the end functionality such as to
enable or disable PLL, PHY, function to read EDID would remain the same.

Thus to make the current hdmi DSS driver compatible with different OMAP's having
different IP blocks( A combination of different core, PHY, PLL blocks), function
pointer approach is introduced.

With function pointer, relevant IP dependent functions are mapped to the generic
functions used by DSS during the initialization based on the OMAP compiled.
Thus making hdmi DSS driver IP agnostic.

Signed-off-by: Mythri P K <mythripk@ti.com>
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/hdmi.c
drivers/video/omap2/dss/ti_hdmi.h