aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWerner Almesberger <werner@openmoko.org>2009-03-07 16:08:17 +0000
committerAndy Green <agreen@octopus.localdomain>2009-03-07 16:08:17 +0000
commit15ca3dafb2662db4d9a5aca5f022497395436503 (patch)
tree3813b8cdda40d0610aa81f186daee8109bb6e09c /drivers
parentdc662e340f793df1ce1ca7c356f91232348aa91a (diff)
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@openmoko.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/samsung/4xa_sensor.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/media/video/samsung/4xa_sensor.h b/drivers/media/video/samsung/4xa_sensor.h
index 8d571a654bd..7b390b42c25 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