summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/display.h
diff options
context:
space:
mode:
authorSemwal, Sumit <sumit.semwal@ti.com>2011-03-01 02:42:13 -0600
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-03-11 15:46:26 +0200
commitfd4b34f60736a20c5acd81cbb3083a0c60ae058e (patch)
treef1ad8b71aae0336de1e68727f795df8f20872ac8 /arch/arm/plat-omap/include/plat/display.h
parent4b6b7fa2d3677d1d86780c73fe2284147713e3b1 (diff)
downloadlinux-fd4b34f60736a20c5acd81cbb3083a0c60ae058e.tar.bz2
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/include/plat/display.h')
-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 {