aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorDennis Munsie <dmunsie@cecropia.com>2006-06-20 14:55:55 -0400
committerDave Airlie <airlied@linux.ie>2006-07-03 05:04:37 -0400
commit1f6e8449e11fd79ee30456ce7ec973317b8dd6ae (patch)
treea795e58b085a515762ac494e6d06651b60a5336f /drivers/video
parent41c9480a1d22e8f28b8675a2d7ec7fd4c50bc900 (diff)
intelfb: add preliminary i2c support
[07/07] intelfb: adds an option to enable I2C support in the intelfb driver. Also adds the intel_i2c.c file to the Makefile. Signed-off-by: Dennis Munsie <dmunsie@cecropia.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/Kconfig20
-rw-r--r--drivers/video/intelfb/Makefile4
2 files changed, 21 insertions, 3 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 5a2840aeb547..743c853ad150 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -809,6 +809,8 @@ config FB_INTEL
809 depends on FB && EXPERIMENTAL && PCI && X86 809 depends on FB && EXPERIMENTAL && PCI && X86
810 select AGP 810 select AGP
811 select AGP_INTEL 811 select AGP_INTEL
812 select I2C_ALGOBIT if FB_INTEL_I2C
813 select I2C if FB_INTEL_I2C
812 select FB_MODE_HELPERS 814 select FB_MODE_HELPERS
813 select FB_CFB_FILLRECT 815 select FB_CFB_FILLRECT
814 select FB_CFB_COPYAREA 816 select FB_CFB_COPYAREA
@@ -818,17 +820,31 @@ config FB_INTEL
818 830M/845G/852GM/855GM/865G chipsets. 820 830M/845G/852GM/855GM/865G chipsets.
819 Say Y if you have and plan to use such a board. 821 Say Y if you have and plan to use such a board.
820 822
821 To compile this driver as a module, choose M here: the 823 If you say Y here and want DDC/I2C support you must first say Y to
824 "I2C support" and "I2C bit-banging support" in the character devices
825 section.
826
827 If you say M here then "I2C support" and "I2C bit-banging support"
828 can be build either as modules or built-in.
829
830 To compile this driver as a module, choose M here: the
822 module will be called intelfb. 831 module will be called intelfb.
823 832
824config FB_INTEL_DEBUG 833config FB_INTEL_DEBUG
825 bool "Intel driver Debug Messages" 834 bool "Intel driver Debug Messages"
826 depends on FB_INTEL 835 depends on FB_INTEL
827 ---help--- 836 ---help---
828 Say Y here if you want the Intel driver to output all sorts 837 Say Y here if you want the Intel driver to output all sorts
829 of debugging informations to provide to the maintainer when 838 of debugging informations to provide to the maintainer when
830 something goes wrong. 839 something goes wrong.
831 840
841config FB_INTEL_I2C
842 bool "DDC/I2C for Intel framebuffer support"
843 depends on FB_INTEL
844 default y
845 help
846 Say Y here if you want DDC/I2C support for your on-board Intel graphics.
847
832config FB_MATROX 848config FB_MATROX
833 tristate "Matrox acceleration" 849 tristate "Matrox acceleration"
834 depends on FB && PCI 850 depends on FB && PCI
diff --git a/drivers/video/intelfb/Makefile b/drivers/video/intelfb/Makefile
index 722d21d6e5cd..6c782d3ae1be 100644
--- a/drivers/video/intelfb/Makefile
+++ b/drivers/video/intelfb/Makefile
@@ -1,6 +1,8 @@
1obj-$(CONFIG_FB_INTEL) += intelfb.o 1obj-$(CONFIG_FB_INTEL) += intelfb.o
2 2
3intelfb-objs := intelfbdrv.o intelfbhw.o 3intelfb-y := intelfbdrv.o intelfbhw.o
4intelfb-$(CONFIG_FB_INTEL_I2C) += intelfb_i2c.o
5intelfb-objs := $(intelfb-y)
4 6
5ifdef CONFIG_FB_INTEL_DEBUG 7ifdef CONFIG_FB_INTEL_DEBUG
6#EXTRA_CFLAGS += -DDEBUG -DVERBOSE -DREGDUMP 8#EXTRA_CFLAGS += -DDEBUG -DVERBOSE -DREGDUMP