Merge branch 'for-l-o-3.5'
Conflicts: drivers/video/omap2/displays/panel-taal.c Merge OMAP DSS related board file changes. The branch will also be merged through linux-omap tree to solve conflicts.
This commit is contained in:
@@ -11,6 +11,7 @@ struct omap_dss_device;
|
||||
* @esd_interval: interval of ESD checks, 0 = disabled (ms)
|
||||
* @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 nokia_dsi_panel_data {
|
||||
const char *name;
|
||||
@@ -24,6 +25,8 @@ struct nokia_dsi_panel_data {
|
||||
unsigned ulps_timeout;
|
||||
|
||||
bool use_dsi_backlight;
|
||||
|
||||
struct omap_dsi_pin_config pin_config;
|
||||
};
|
||||
|
||||
#endif /* __OMAP_NOKIA_DSI_PANEL_H */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Header for DVI output driver
|
||||
* Header for TFP410 chip driver
|
||||
*
|
||||
* Copyright (C) 2011 Texas Instruments Inc
|
||||
* Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
|
||||
@@ -17,21 +17,19 @@
|
||||
* this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __OMAP_PANEL_DVI_H
|
||||
#define __OMAP_PANEL_DVI_H
|
||||
#ifndef __OMAP_PANEL_TFP410_H
|
||||
#define __OMAP_PANEL_TFP410_H
|
||||
|
||||
struct omap_dss_device;
|
||||
|
||||
/**
|
||||
* struct panel_dvi_platform_data - panel driver configuration data
|
||||
* @platform_enable: platform specific panel enable function
|
||||
* @platform_disable: platform specific panel disable function
|
||||
* struct tfp410_platform_data - panel driver configuration data
|
||||
* @i2c_bus_num: i2c bus id for the panel
|
||||
* @power_down_gpio: gpio number for PD pin (or -1 if not available)
|
||||
*/
|
||||
struct panel_dvi_platform_data {
|
||||
int (*platform_enable)(struct omap_dss_device *dssdev);
|
||||
void (*platform_disable)(struct omap_dss_device *dssdev);
|
||||
struct tfp410_platform_data {
|
||||
u16 i2c_bus_num;
|
||||
int power_down_gpio;
|
||||
};
|
||||
|
||||
#endif /* __OMAP_PANEL_DVI_H */
|
||||
#endif /* __OMAP_PANEL_TFP410_H */
|
||||
+17
-11
@@ -469,6 +469,21 @@ struct omap_overlay_manager {
|
||||
int (*wait_for_vsync)(struct omap_overlay_manager *mgr);
|
||||
};
|
||||
|
||||
/* 22 pins means 1 clk lane and 10 data lanes */
|
||||
#define OMAP_DSS_MAX_DSI_PINS 22
|
||||
|
||||
struct omap_dsi_pin_config {
|
||||
int num_pins;
|
||||
/*
|
||||
* pin numbers in the following order:
|
||||
* clk+, clk-
|
||||
* data1+, data1-
|
||||
* data2+, data2-
|
||||
* ...
|
||||
*/
|
||||
int pins[OMAP_DSS_MAX_DSI_PINS];
|
||||
};
|
||||
|
||||
struct omap_dss_device {
|
||||
struct device dev;
|
||||
|
||||
@@ -491,17 +506,6 @@ struct omap_dss_device {
|
||||
} sdi;
|
||||
|
||||
struct {
|
||||
u8 clk_lane;
|
||||
u8 clk_pol;
|
||||
u8 data1_lane;
|
||||
u8 data1_pol;
|
||||
u8 data2_lane;
|
||||
u8 data2_pol;
|
||||
u8 data3_lane;
|
||||
u8 data3_pol;
|
||||
u8 data4_lane;
|
||||
u8 data4_pol;
|
||||
|
||||
int module;
|
||||
|
||||
bool ext_te;
|
||||
@@ -690,6 +694,8 @@ int omap_dsi_update(struct omap_dss_device *dssdev, int channel,
|
||||
int omap_dsi_request_vc(struct omap_dss_device *dssdev, int *channel);
|
||||
int omap_dsi_set_vc_id(struct omap_dss_device *dssdev, int channel, int vc_id);
|
||||
void omap_dsi_release_vc(struct omap_dss_device *dssdev, int channel);
|
||||
int omapdss_dsi_configure_pins(struct omap_dss_device *dssdev,
|
||||
const struct omap_dsi_pin_config *pin_cfg);
|
||||
|
||||
int omapdss_dsi_display_enable(struct omap_dss_device *dssdev);
|
||||
void omapdss_dsi_display_disable(struct omap_dss_device *dssdev,
|
||||
|
||||
Reference in New Issue
Block a user