|
@@ -0,0 +1,44 @@
|
|
|
+/*
|
|
|
+ * OMAP2plus display device setup / initialization.
|
|
|
+ *
|
|
|
+ * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
|
|
|
+ * Senthilvadivu Guruswamy
|
|
|
+ * Sumit Semwal
|
|
|
+ *
|
|
|
+ * 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.
|
|
|
+ *
|
|
|
+ * This program is distributed "as is" WITHOUT ANY WARRANTY of any
|
|
|
+ * kind, whether express or implied; without even the implied warranty
|
|
|
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
+ * GNU General Public License for more details.
|
|
|
+ */
|
|
|
+
|
|
|
+#include <linux/string.h>
|
|
|
+#include <linux/kernel.h>
|
|
|
+#include <linux/init.h>
|
|
|
+#include <linux/platform_device.h>
|
|
|
+#include <linux/io.h>
|
|
|
+#include <linux/clk.h>
|
|
|
+#include <linux/err.h>
|
|
|
+#include <linux/delay.h>
|
|
|
+
|
|
|
+#include <video/omapdss.h>
|
|
|
+#include "omap_hwmod.h"
|
|
|
+#include "omap_device.h"
|
|
|
+#include "omap-pm.h"
|
|
|
+#include "common.h"
|
|
|
+
|
|
|
+#include "soc.h"
|
|
|
+#include "iomap.h"
|
|
|
+#include "mux.h"
|
|
|
+#include "control.h"
|
|
|
+#include "display.h"
|
|
|
+#include "prm.h"
|
|
|
+
|
|
|
+#define DISPC_CONTROL 0x0040
|
|
|
+#define DISPC_CONTROL2 0x0238
|
|
|
+#define DISPC_CONTROL3 0x0848
|
|
|
+#define DISPC_IRQSTATUS 0x0018
|
|
|
+
|