Commit 399fb431 authored by Dennis Munsie's avatar Dennis Munsie Committed by Dave Airlie

intelfb: add preliminary i2c support

[04/07] intelfb: add intelfb_output_rec struct and the constants for it's
fields.
Signed-off-by: default avatarDennis Munsie <dmunsie@cecropia.com>
parent 183b1214
...@@ -119,6 +119,24 @@ ...@@ -119,6 +119,24 @@
/* Intel agpgart driver */ /* Intel agpgart driver */
#define AGP_PHYSICAL_MEMORY 2 #define AGP_PHYSICAL_MEMORY 2
/* these are outputs from the chip - integrated only
external chips are via DVO or SDVO output */
#define INTELFB_OUTPUT_UNUSED 0
#define INTELFB_OUTPUT_ANALOG 1
#define INTELFB_OUTPUT_DVO 2
#define INTELFB_OUTPUT_SDVO 3
#define INTELFB_OUTPUT_LVDS 4
#define INTELFB_OUTPUT_TVOUT 5
#define INTELFB_DVO_CHIP_NONE 0
#define INTELFB_DVO_CHIP_LVDS 1
#define INTELFB_DVO_CHIP_TMDS 2
#define INTELFB_DVO_CHIP_TVOUT 4
#define INTELFB_OUTPUT_PIPE_NC 0
#define INTELFB_OUTPUT_PIPE_A 1
#define INTELFB_OUTPUT_PIPE_B 2
/*** Data Types ***/ /*** Data Types ***/
/* supported chipsets */ /* supported chipsets */
...@@ -221,6 +239,17 @@ struct intelfb_i2c_chan { ...@@ -221,6 +239,17 @@ struct intelfb_i2c_chan {
}; };
#endif #endif
struct intelfb_output_rec {
int type;
int pipe;
int flags;
#ifdef CONFIG_FB_INTEL_I2C
struct intelfb_i2c_chan i2c_bus;
struct intelfb_i2c_chan ddc_bus;
#endif
};
struct intelfb_vsync { struct intelfb_vsync {
wait_queue_head_t wait; wait_queue_head_t wait;
unsigned int count; unsigned int count;
......
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