* [PATCH 2.6.17-rc6-mm2 4/8] intelfb: RESEND - add preliminary i2c support
@ 2006-06-20 18:55 Dennis Munsie
0 siblings, 0 replies; only message in thread
From: Dennis Munsie @ 2006-06-20 18:55 UTC (permalink / raw)
To: linux-fbdev-devel; +Cc: ehustvedt, airlied
From: Dennis Munsie <dmunsie@cecropia.com>
[04/07] intelfb: add intelfb_output_rec struct and the constants for it's
fields.
Signed-off-by: Dennis Munsie <dmunsie@cecropia.com>
---
drivers/video/intelfb/intelfb.h | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff -Naurp -X linux-2.6.17-rc6-patched/Documentation/dontdiff linux-2.6.17-rc6-patched/drivers/video/intelfb/intelfb.h linux/drivers/video/intelfb/intelfb.h
--- linux-2.6.17-rc6-patched/drivers/video/intelfb/intelfb.h 2006-06-14 11:13:02.000000000 -0500
+++ linux/drivers/video/intelfb/intelfb.h 2006-06-14 11:14:03.000000000 -0500
@@ -119,6 +119,24 @@
/* Intel agpgart driver */
#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 ***/
/* supported chipsets */
@@ -221,6 +239,17 @@ struct intelfb_i2c_chan {
};
#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 {
wait_queue_head_t wait;
unsigned int count;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-20 18:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-20 18:55 [PATCH 2.6.17-rc6-mm2 4/8] intelfb: RESEND - add preliminary i2c support Dennis Munsie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).