Commit dbc23840 authored by Tomi Valkeinen's avatar Tomi Valkeinen

OMAPDSS: Add new DSI Command Mode panel driver

Add DSI Command Mode panel driver which uses the new DSS device model
and DSS ops. This driver only supports a very basic set of features
which should be common to all DSI command mode panels.
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 04f0ff02
...@@ -33,4 +33,9 @@ config DISPLAY_PANEL_DPI ...@@ -33,4 +33,9 @@ config DISPLAY_PANEL_DPI
help help
Driver for generic DPI panels. Driver for generic DPI panels.
config DISPLAY_PANEL_DSI_CM
tristate "Generic DSI Command Mode Panel"
help
Driver for generic DSI command mode panels.
endmenu endmenu
...@@ -4,3 +4,4 @@ obj-$(CONFIG_DISPLAY_CONNECTOR_DVI) += connector-dvi.o ...@@ -4,3 +4,4 @@ obj-$(CONFIG_DISPLAY_CONNECTOR_DVI) += connector-dvi.o
obj-$(CONFIG_DISPLAY_CONNECTOR_HDMI) += connector-hdmi.o obj-$(CONFIG_DISPLAY_CONNECTOR_HDMI) += connector-hdmi.o
obj-$(CONFIG_DISPLAY_CONNECTOR_ANALOG_TV) += connector-analog-tv.o obj-$(CONFIG_DISPLAY_CONNECTOR_ANALOG_TV) += connector-analog-tv.o
obj-$(CONFIG_DISPLAY_PANEL_DPI) += panel-dpi.o obj-$(CONFIG_DISPLAY_PANEL_DPI) += panel-dpi.o
obj-$(CONFIG_DISPLAY_PANEL_DSI_CM) += panel-dsi-cm.o
This diff is collapsed.
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#ifndef __OMAP_PANEL_DATA_H #ifndef __OMAP_PANEL_DATA_H
#define __OMAP_PANEL_DATA_H #define __OMAP_PANEL_DATA_H
#include <video/omapdss.h>
#include <video/display_timing.h> #include <video/display_timing.h>
struct omap_dss_device; struct omap_dss_device;
...@@ -236,4 +237,31 @@ struct panel_dpi_platform_data { ...@@ -236,4 +237,31 @@ struct panel_dpi_platform_data {
int enable_gpio; int enable_gpio;
}; };
/**
* panel_dsicm platform data
* @name: name for this display entity
* @source: name of the display entity used as a video source
* @reset_gpio: gpio to reset the panel (or -1)
* @use_ext_te: use external TE GPIO
* @ext_te_gpio: external TE GPIO
* @ulps_timeout: time to wait before entering ULPS, 0 = disabled (ms)
* @use_dsi_backlight: true if panel uses DSI command to control backlight
* @pin_config: DSI pin configuration
*/
struct panel_dsicm_platform_data {
const char *name;
const char *source;
int reset_gpio;
bool use_ext_te;
int ext_te_gpio;
unsigned ulps_timeout;
bool use_dsi_backlight;
struct omap_dsi_pin_config pin_config;
};
#endif /* __OMAP_PANEL_DATA_H */ #endif /* __OMAP_PANEL_DATA_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment