# \[PATCH 2/7 2.6.17-rc6-mm2\] add preliminary i2c support to intelfb

- From: Dennis Munsie \<hidden\>
- Date: 2006-06-14 17:50:13 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2006/06/13456307
- Thread: https://ratatoskr.run/linux-fbdev/2006/06/13456307/t.md

```text
From: Dennis Munsie <redacted>

[02/07] intelfb: add GPIO registers.

Signed-off-by: Dennis Munsie <redacted>

---

drivers/video/intelfb/intelfbhw.h |    6 ++++++
1 file changed, 6 insertions(+)

diff -Naurp -X linux-2.6.17-rc6-patched/Documentation/dontdiff  
linux-2.6.17-rc6-patched/drivers/video/intelfb/intelfbhw.h linux/ 
drivers/video/intelfb/intelfbhw.h
--- linux-2.6.17-rc6-patched/drivers/video/intelfb/intelfbhw.h	 
2006-06-14 10:09:55.000000000 -0500
+++ linux/drivers/video/intelfb/intelfbhw.h	2006-06-14  
10:24:38.000000000 -0500
@@ -126,6 +126,12 @@
#define FW_DISPC_BL_SHIFT		8
#define FW_DISPC_BL_MASK		0x7
+#define GPIOA             0x5010
+#define GPIOB             0x5014
+#define GPIOC             0x5018 // this may be external DDC on i830
+#define GPIOD             0x501C // this is DVO DDC
+#define GPIOE             0x5020 // this is DVO i2C
+#define GPIOF             0x5024
/* PLL registers */
#define VGA0_DIVISOR		0x06000
```
