From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ondrej Zary Date: Fri, 13 Aug 2010 16:36:16 +0000 Subject: [PATCH v2] s3fb: add DDC support Message-Id: <201008131836.18835.linux@rainbow-software.org> List-Id: References: <201008112218.11535.linux@rainbow-software.org> <20100812131421.bb2839f8.akpm@linux-foundation.org> In-Reply-To: <20100812131421.bb2839f8.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andrew Morton Cc: Ondrej Zajicek , linux-fbdev@vger.kernel.org, Kernel development list Add I2C support for the DDC bus to s3fb driver. This is only bus support, driver does not use EDID. Tested on Trio64V+, Trio64V2/DX, Virge (2 cards), Virge/DX (4 cards) and Trio3D/2X (3 cards) with i2cdetect and decode-edid. Will probably not work on Trio32 - my 2 cards have DDC support in BIOS that looks different from the other cards but the DDC pins on the VGA connector are not connected. Virge/GX, Virge/GX2 and Virge/VX are untested. Signed-off-by: Ondrej Zary --- This time with Kconfig part present. --- linux-2.6.35-rc2/drivers/video/s3fb.c 2010-06-06 05:43:24.000000000 +0200 +++ linux-2.6.35-rc3/drivers/video/s3fb.c 2010-08-10 19:42:38.000000000 +0200 @@ -25,6 +25,10 @@ #include /* Why should fb driver call console functions? because acquire_console_sem() */ #include