提交 62d9e44e 编写于 作者: P Peter Ujfalusi

omapfb: Create new header file for omapfb DSS implementation

Copy the content of video/omapdss.h to a new (video/omapfb_dss.h) header
file and convert the omapfb drivers to use this new file.

The new header file is needed to complete the separation of omapdrm and
omapfb implementation of DSS.
Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
上级 32043da7
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/of.h> #include <linux/of.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include <video/omap-panel-data.h> #include <video/omap-panel-data.h>
struct panel_drv_data { struct panel_drv_data {
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
static const struct omap_video_timings dvic_default_timings = { static const struct omap_video_timings dvic_default_timings = {
.x_res = 640, .x_res = 640,
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
static const struct omap_video_timings hdmic_default_timings = { static const struct omap_video_timings hdmic_default_timings = {
.x_res = 640, .x_res = 640,
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/of_gpio.h> #include <linux/of_gpio.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
struct panel_drv_data { struct panel_drv_data {
struct omap_dss_device dssdev; struct omap_dss_device dssdev;
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/of_gpio.h> #include <linux/of_gpio.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
struct panel_drv_data { struct panel_drv_data {
struct omap_dss_device dssdev; struct omap_dss_device dssdev;
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/gpio/consumer.h> #include <linux/gpio/consumer.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
struct panel_drv_data { struct panel_drv_data {
struct omap_dss_device dssdev; struct omap_dss_device dssdev;
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <linux/of.h> #include <linux/of.h>
#include <linux/of_gpio.h> #include <linux/of_gpio.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include <video/omap-panel-data.h> #include <video/omap-panel-data.h>
#include <video/of_display_timing.h> #include <video/of_display_timing.h>
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <linux/of_device.h> #include <linux/of_device.h>
#include <linux/of_gpio.h> #include <linux/of_gpio.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include <video/mipi_display.h> #include <video/mipi_display.h>
/* DSI Virtual channel. Hardcoded for now. */ /* DSI Virtual channel. Hardcoded for now. */
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/gpio.h> #include <linux/gpio.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
static struct omap_video_timings lb035q02_timings = { static struct omap_video_timings lb035q02_timings = {
.x_res = 320, .x_res = 320,
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/of_gpio.h> #include <linux/of_gpio.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
struct panel_drv_data { struct panel_drv_data {
struct omap_dss_device dssdev; struct omap_dss_device dssdev;
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/regulator/consumer.h> #include <linux/regulator/consumer.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
struct panel_drv_data { struct panel_drv_data {
struct omap_dss_device dssdev; struct omap_dss_device dssdev;
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#include <linux/of.h> #include <linux/of.h>
#include <linux/of_gpio.h> #include <linux/of_gpio.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include <video/omap-panel-data.h> #include <video/omap-panel-data.h>
#define MIPID_CMD_READ_DISP_ID 0x04 #define MIPID_CMD_READ_DISP_ID 0x04
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include <linux/gpio.h> #include <linux/gpio.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
struct panel_drv_data { struct panel_drv_data {
struct omap_dss_device dssdev; struct omap_dss_device dssdev;
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/of_gpio.h> #include <linux/of_gpio.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#define TPO_R02_MODE(x) ((x) & 7) #define TPO_R02_MODE(x) ((x) & 7)
#define TPO_R02_MODE_800x480 7 #define TPO_R02_MODE_800x480 7
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/jiffies.h> #include <linux/jiffies.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
#include "dss_features.h" #include "dss_features.h"
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <linux/suspend.h> #include <linux/suspend.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
#include "dss_features.h" #include "dss_features.h"
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
#include "dss_features.h" #include "dss_features.h"
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
#include <linux/of.h> #include <linux/of.h>
#include <linux/component.h> #include <linux/component.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
#include "dss_features.h" #include "dss_features.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dispc.h" #include "dispc.h"
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/sysfs.h> #include <linux/sysfs.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
static ssize_t display_name_show(struct omap_dss_device *dssdev, char *buf) static ssize_t display_name_show(struct omap_dss_device *dssdev, char *buf)
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/of.h> #include <linux/of.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
#include "dss_features.h" #include "dss_features.h"
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/component.h> #include <linux/component.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
#include "dss_features.h" #include "dss_features.h"
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#include <linux/of_platform.h> #include <linux/of_platform.h>
#include <linux/component.h> #include <linux/component.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include <video/mipi_display.h> #include <video/mipi_display.h>
#include "dss.h" #include "dss.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <linux/of.h> #include <linux/of.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
#include <linux/suspend.h> #include <linux/suspend.h>
#include <linux/component.h> #include <linux/component.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
#include "dss_features.h" #include "dss_features.h"
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <linux/err.h> #include <linux/err.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
#include "dss_features.h" #include "dss_features.h"
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <linux/io.h> #include <linux/io.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/hdmi.h> #include <linux/hdmi.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include <sound/omap-hdmi-audio.h> #include <sound/omap-hdmi-audio.h>
#include "dss.h" #include "dss.h"
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/regulator/consumer.h> #include <linux/regulator/consumer.h>
#include <linux/component.h> #include <linux/component.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include <sound/omap-hdmi-audio.h> #include <sound/omap-hdmi-audio.h>
#include "hdmi4_core.h" #include "hdmi4_core.h"
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/regulator/consumer.h> #include <linux/regulator/consumer.h>
#include <linux/component.h> #include <linux/component.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include <sound/omap-hdmi-audio.h> #include <sound/omap-hdmi-audio.h>
#include "hdmi5_core.h" #include "hdmi5_core.h"
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/err.h> #include <linux/err.h>
#include <linux/of.h> #include <linux/of.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "hdmi.h" #include "hdmi.h"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <linux/io.h> #include <linux/io.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
#include "hdmi.h" #include "hdmi.h"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/clk.h> #include <linux/clk.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
#include "hdmi.h" #include "hdmi.h"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include <linux/err.h> #include <linux/err.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
#include "hdmi.h" #include "hdmi.h"
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/jiffies.h> #include <linux/jiffies.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
#include "dss_features.h" #include "dss_features.h"
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/jiffies.h> #include <linux/jiffies.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
#include "dss_features.h" #include "dss_features.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/of.h> #include <linux/of.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <linux/kobject.h> #include <linux/kobject.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
#include "dss_features.h" #include "dss_features.h"
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
#include "dss_features.h" #include "dss_features.h"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <linux/regulator/consumer.h> #include <linux/regulator/consumer.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
#include <linux/pm_runtime.h> #include <linux/pm_runtime.h>
#include <linux/component.h> #include <linux/component.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
struct rfbi_reg { u16 idx; }; struct rfbi_reg { u16 idx; };
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include <linux/of.h> #include <linux/of.h>
#include <linux/component.h> #include <linux/component.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
static struct { static struct {
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#include <linux/of.h> #include <linux/of.h>
#include <linux/component.h> #include <linux/component.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
#include "dss_features.h" #include "dss_features.h"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include "dss.h" #include "dss.h"
#include "dss_features.h" #include "dss_features.h"
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <linux/export.h> #include <linux/export.h>
#include <linux/sizes.h> #include <linux/sizes.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include <video/omapvrfb.h> #include <video/omapvrfb.h>
#include "omapfb.h" #include "omapfb.h"
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/omapfb.h> #include <linux/omapfb.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include <video/omapvrfb.h> #include <video/omapvrfb.h>
#include "omapfb.h" #include "omapfb.h"
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/omapfb.h> #include <linux/omapfb.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#include <video/omapvrfb.h> #include <video/omapvrfb.h>
#include "omapfb.h" #include "omapfb.h"
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include <linux/dma-attrs.h> #include <linux/dma-attrs.h>
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
#include <video/omapdss.h> #include <video/omapfb_dss.h>
#ifdef DEBUG #ifdef DEBUG
extern bool omapfb_debug; extern bool omapfb_debug;
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册