diff options
author | Paul Mundt <lethal@linux-sh.org> | 2011-03-22 01:27:36 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-03-22 01:27:36 -0400 |
commit | da49252fb0392d8196833ef3da92e48fb371f8d7 (patch) | |
tree | 1299899f7513a900b2229b8cde289bca8c41d2f5 /arch/arm/plat-omap | |
parent | eddecbb601c9ea3fab7e67d7892010fc9426d1e6 (diff) | |
parent | b295d6e593e02168fdafc5db11464b6d51cf239d (diff) |
Merge branch 'for-paul' of git://gitorious.org/linux-omap-dss2/linux
Conflicts:
arch/arm/mach-omap2/board-overo.c
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/plat/display.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/include/plat/display.h b/arch/arm/plat-omap/include/plat/display.h index 0f140ecedb01..5e04ddc18fa8 100644 --- a/arch/arm/plat-omap/include/plat/display.h +++ b/arch/arm/plat-omap/include/plat/display.h | |||
@@ -58,6 +58,7 @@ enum omap_display_type { | |||
58 | OMAP_DISPLAY_TYPE_SDI = 1 << 2, | 58 | OMAP_DISPLAY_TYPE_SDI = 1 << 2, |
59 | OMAP_DISPLAY_TYPE_DSI = 1 << 3, | 59 | OMAP_DISPLAY_TYPE_DSI = 1 << 3, |
60 | OMAP_DISPLAY_TYPE_VENC = 1 << 4, | 60 | OMAP_DISPLAY_TYPE_VENC = 1 << 4, |
61 | OMAP_DISPLAY_TYPE_HDMI = 1 << 5, | ||
61 | }; | 62 | }; |
62 | 63 | ||
63 | enum omap_plane { | 64 | enum omap_plane { |
@@ -237,6 +238,13 @@ static inline int omap_display_init(struct omap_dss_board_info *board_data) | |||
237 | } | 238 | } |
238 | #endif | 239 | #endif |
239 | 240 | ||
241 | struct omap_display_platform_data { | ||
242 | struct omap_dss_board_info *board_data; | ||
243 | /* TODO: Additional members to be added when PM is considered */ | ||
244 | |||
245 | bool (*opt_clock_available)(const char *clk_role); | ||
246 | }; | ||
247 | |||
240 | struct omap_video_timings { | 248 | struct omap_video_timings { |
241 | /* Unit: pixels */ | 249 | /* Unit: pixels */ |
242 | u16 x_res; | 250 | u16 x_res; |
@@ -396,8 +404,8 @@ struct omap_dss_device { | |||
396 | struct { | 404 | struct { |
397 | u16 regn; | 405 | u16 regn; |
398 | u16 regm; | 406 | u16 regm; |
399 | u16 regm3; | 407 | u16 regm_dispc; |
400 | u16 regm4; | 408 | u16 regm_dsi; |
401 | 409 | ||
402 | u16 lp_clk_div; | 410 | u16 lp_clk_div; |
403 | 411 | ||
@@ -555,6 +563,9 @@ int omap_dsi_update(struct omap_dss_device *dssdev, | |||
555 | int channel, | 563 | int channel, |
556 | u16 x, u16 y, u16 w, u16 h, | 564 | u16 x, u16 y, u16 w, u16 h, |
557 | void (*callback)(int, void *), void *data); | 565 | void (*callback)(int, void *), void *data); |
566 | int omap_dsi_request_vc(struct omap_dss_device *dssdev, int *channel); | ||
567 | int omap_dsi_set_vc_id(struct omap_dss_device *dssdev, int channel, int vc_id); | ||
568 | void omap_dsi_release_vc(struct omap_dss_device *dssdev, int channel); | ||
558 | 569 | ||
559 | int omapdss_dsi_display_enable(struct omap_dss_device *dssdev); | 570 | int omapdss_dsi_display_enable(struct omap_dss_device *dssdev); |
560 | void omapdss_dsi_display_disable(struct omap_dss_device *dssdev); | 571 | void omapdss_dsi_display_disable(struct omap_dss_device *dssdev); |