Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758606Ab0HKUSY (ORCPT ); Wed, 11 Aug 2010 16:18:24 -0400 Received: from mail1-out1.atlantis.sk ([80.94.52.55]:59824 "EHLO mail.atlantis.sk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756965Ab0HKUSW (ORCPT ); Wed, 11 Aug 2010 16:18:22 -0400 From: Ondrej Zary To: Ondrej Zajicek Subject: [PATCH] s3fb: add DDC support Date: Wed, 11 Aug 2010 22:18:09 +0200 User-Agent: KMail/1.9.10 Cc: linux-fbdev@vger.kernel.org, Kernel development list MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201008112218.11535.linux@rainbow-software.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6241 Lines: 228 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 --- 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