[PATCH] fbdev: Add generic ddc read functionality
authorDennis Munsie <dmunsie@cecropia.com>
Tue, 3 Oct 2006 08:14:42 +0000 (01:14 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 3 Oct 2006 15:04:09 +0000 (08:04 -0700)
commitfc5891c8a3ba284f13994d7bc1f1bfa8283982de
treea9361f04236b60e0c1a8b1158e490b505c0961f4
parent66cf75121b1c8128ef9ab2d772c5654ae00c4284
[PATCH] fbdev: Add generic ddc read functionality

Adds functionality to read the EDID information over the DDC bus in a generic
way.  This code is based on the DDC implementation in the radeon driver.

[adaplas]
- separate from fbmon.c and place in new file fb_ddc.c
- remove dependency to CONFIG_I2C and CONFIG_I2C_ALGOBIT, otherwise, feature
  will not compile if i2c support is compiled as a module
- feature is selectable only by drivers needing it. It must have a
  'select FB_DDC if xxx' in Kconfig
- change printk's to dev_*, the i2c people prefers it

Signed-off-by: Dennis Munsie <dmunsie@cecropia.com>
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/Kconfig
drivers/video/Makefile
drivers/video/fb_ddc.c [new file with mode: 0644]
include/linux/fb.h