summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap
diff options
context:
space:
mode:
authorSemwal, Sumit <sumit.semwal@ti.com>2011-03-01 09:42:13 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-03-11 14:46:26 +0100
commitfd4b34f60736a20c5acd81cbb3083a0c60ae058e (patch)
treef1ad8b71aae0336de1e68727f795df8f20872ac8 /arch/arm/plat-omap
parentOMAP: DSS2: DSI: remove unused function (diff)
downloadlinux-fd4b34f60736a20c5acd81cbb3083a0c60ae058e.tar.xz
linux-fd4b34f60736a20c5acd81cbb3083a0c60ae058e.zip
OMAP2PLUS:DSS2: add opt_clock_available in pdata
Provide a function in pdata to allow dss submodules to check if a given clock is available on a platform as an optional clock. Signed-off-by: Senthilvadivu Guruswamy <svadivu@ti.com> (based on implementation from Senthil) Signed-off-by: Sumit Semwal <sumit.semwal@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r--arch/arm/plat-omap/include/plat/display.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/display.h b/arch/arm/plat-omap/include/plat/display.h
index 2fb057e1cb98..4101bcd2133e 100644
--- a/arch/arm/plat-omap/include/plat/display.h
+++ b/arch/arm/plat-omap/include/plat/display.h
@@ -240,6 +240,8 @@ static inline int omap_display_init(struct omap_dss_board_info *board_data)
struct omap_display_platform_data {
struct omap_dss_board_info *board_data;
/* TODO: Additional members to be added when PM is considered */
+
+ bool (*opt_clock_available)(const char *clk_role);
};
struct omap_video_timings {