[pkg-fso-commits] [SCM] linux-2.6-openmoko, the Linux 2.6 kernel tree from Openmoko branch, andy-tracking, updated. upstream/20090303.gitb9de904e-140-g23b564c

Andy Green agreen at octopus.localdomain
Mon Jun 8 17:29:14 UTC 2009


The following commit has been merged in the andy-tracking branch:
commit 15ca3dafb2662db4d9a5aca5f022497395436503
Author: Werner Almesberger <werner at openmoko.org>
Date:   Sat Mar 7 16:08:17 2009 +0000

    Increase camera IO drive strength from 2 mA to 8 mA
    
    The camera driver reduced all IO drivers from their reset defaults of
    6 mA to only 2 mA, which caused severe signal distortion at higher
    speeds. This patch sets them to 8 mA and also removes apparently
    useless repetitions of the setting.
    
    Note that the correct setting of the I2C pullups still needs to be
    verified.
    
    Signed-off-by: Werner Almesberger <werner at openmoko.org>

diff --git a/drivers/media/video/samsung/4xa_sensor.h b/drivers/media/video/samsung/4xa_sensor.h
index 8d571a6..7b390b4 100644
--- a/drivers/media/video/samsung/4xa_sensor.h
+++ b/drivers/media/video/samsung/4xa_sensor.h
@@ -223,14 +223,8 @@ s5k4xa_t s5k4ba_reg[] =
 	{0x62,0x0a},	// Mirror Option
 
 	{0xfc,0x02},
-	{0x4e,0x00},	// IO current 8mA set
-	{0x4e,0x00},	// IO current 8mA set
-	{0x4e,0x00},	// IO current 8mA set
-	{0x4e,0x00},	// IO current 8mA set
-	{0x4f,0x0a},	// 2a IO current 48mA set
-	{0x4f,0x0a},	// IO current 48mA set
-	{0x4f,0x0a},	// IO current 48mA set
-	{0x4f,0x0a},	// IO current 48mA set
+	{0x4e,0x1b},	// Enable SDA and SCL pull-up; drive 8 mA
+	{0x4f,0xf0},	// PCLK and YC: 8 mA, AF and ZM (AZ): 2 mA
 
 	{0xfc,0x01},
 	{0x0c,0x03},	// Full YC Enable

-- 
linux-2.6-openmoko, the Linux 2.6 kernel tree from Openmoko



More information about the pkg-fso-commits mailing list