blackfin: i2c-lcd: change default clock rate
authorAaron Wu <Aaron.Wu@analog.com>
Mon, 12 Dec 2011 10:04:54 +0000 (18:04 +0800)
committerBob Liu <lliubbo@gmail.com>
Mon, 9 Jan 2012 02:26:16 +0000 (10:26 +0800)
Change default clock rate of GPIO based I2C operation for BF533
and BF561 to bring up the I2C interface LCD display

Signed-off-by: Aaron Wu <Aaron.Wu@analog.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
arch/blackfin/mach-bf533/boards/stamp.c
arch/blackfin/mach-bf561/boards/ezkit.c

index edd057d25e22b17baba8a8f232360bacdd170433..ce88a7165b62a99dfbea8adcfbe59bc356760209 100644 (file)
@@ -472,7 +472,7 @@ static struct i2c_gpio_platform_data i2c_gpio_data = {
        .scl_pin                = GPIO_PF3,
        .sda_is_open_drain      = 0,
        .scl_is_open_drain      = 0,
-       .udelay                 = 40,
+       .udelay                 = 10,
 };
 
 static struct platform_device i2c_gpio_device = {
index 5ade37d04483dfe84c29699e19a74ae97e896eac..c60638fb2e0138160e426fb1486549564f5ad7be 100644 (file)
@@ -383,7 +383,7 @@ static struct i2c_gpio_platform_data i2c_gpio_data = {
        .scl_pin                = GPIO_PF0,
        .sda_is_open_drain      = 0,
        .scl_is_open_drain      = 0,
-       .udelay                 = 40,
+       .udelay                 = 10,
 };
 
 static struct platform_device i2c_gpio_device = {