summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-08-05 08:22:48 +0200
committerThierry Reding <treding@nvidia.com>2014-11-13 10:44:41 +0100
commit8446956ed2e877f8d725d7e3b59cbf35ee1081f0 (patch)
tree5682290a043fd84c8c557d3de7c01d4af17f2a5e /drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.h
parent2f7633125a1ca8a03b63bf91b5eca60551141ddb (diff)
downloadblackbird-op-linux-8446956ed2e877f8d725d7e3b59cbf35ee1081f0.tar.gz
blackbird-op-linux-8446956ed2e877f8d725d7e3b59cbf35ee1081f0.zip
drm/gma500: mdfld: Reuse video/mipi_display.h
The GMA500 driver redefines many constants already found in the generic header. Replace uses of the custom defines by the standard ones and get rid of the duplicate defininitions. Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.h')
-rw-r--r--drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.h b/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.h
index 459cd7ea8b81..0478a21c15d5 100644
--- a/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.h
+++ b/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.h
@@ -62,18 +62,6 @@ struct mdfld_dsi_pkg_sender {
u32 mipi_cmd_len_reg;
};
-/* DCS definitions */
-#define DCS_SOFT_RESET 0x01
-#define DCS_ENTER_SLEEP_MODE 0x10
-#define DCS_EXIT_SLEEP_MODE 0x11
-#define DCS_SET_DISPLAY_OFF 0x28
-#define DCS_SET_DISPLAY_ON 0x29
-#define DCS_SET_COLUMN_ADDRESS 0x2a
-#define DCS_SET_PAGE_ADDRESS 0x2b
-#define DCS_WRITE_MEM_START 0x2c
-#define DCS_SET_TEAR_OFF 0x34
-#define DCS_SET_TEAR_ON 0x35
-
extern int mdfld_dsi_pkg_sender_init(struct mdfld_dsi_connector *dsi_connector,
int pipe);
extern void mdfld_dsi_pkg_sender_destroy(struct mdfld_dsi_pkg_sender *sender);
OpenPOWER on IntegriCloud