aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/samsung_duallcd/extension/s5p_fimd_lite.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/samsung_duallcd/extension/s5p_fimd_lite.h')
-rw-r--r--drivers/video/samsung_duallcd/extension/s5p_fimd_lite.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/drivers/video/samsung_duallcd/extension/s5p_fimd_lite.h b/drivers/video/samsung_duallcd/extension/s5p_fimd_lite.h
new file mode 100644
index 0000000..a8ef492
--- /dev/null
+++ b/drivers/video/samsung_duallcd/extension/s5p_fimd_lite.h
@@ -0,0 +1,37 @@
+/* linux/arch/arm/plat-s5p/s5p_fimd_lite.h
+ *
+ * FIMD Lite Platform Specific Header Definitions.
+ *
+ * Copyright (c) 2010 Samsung Electronics
+ * InKi Dae <inki.dae@samsung.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef _S5P_FIMD_LITE_H_
+#define _S5P_FIMD_LITE_H_
+
+#include <drm/exynos_drm.h>
+
+struct s5p_fimd_lite_platform_data {
+ unsigned int reg_base;
+ unsigned int reg_map_size;
+ unsigned int irq;
+};
+
+struct s5p_fimd_lite {
+ struct device *dev;
+ struct clk *clk;
+ void __iomem *iomem_base;
+ unsigned int irq;
+ unsigned int dynamic_refresh;
+
+ struct exynos_drm_fimd_pdata *lcd;
+};
+
+void s5p_fimd_lite_get_vsync_interrupt(struct s5p_fimd_lite *fimd_lite,
+ unsigned int enable);
+
+#endif /* _S5P_FIMD_LITE_H_ */