ARM: tegra: t114/t148: increase camera i2c speed
Charlie Huang [Mon, 25 Feb 2013 20:42:11 +0000 (12:42 -0800)]
to 400K on camera i2c bus on these platforms:
dalmore
pluto
ceres
macallan

bug 1234944

Change-Id: I6ac5369d03e5f7a8ac95ecdc7bfea33ef9c16f95
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/203928
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

arch/arm/boot/dts/tegra114-dalmore.dts
arch/arm/boot/dts/tegra114-macallan.dts
arch/arm/mach-tegra/board-dalmore.c
arch/arm/mach-tegra/board-macallan.c
arch/arm/mach-tegra/board-pluto.c

index f654619..eebda30 100644 (file)
 
        i2c@7000c500 {
                status = "okay";
-               clock-frequency = <100000>;
+               clock-frequency = <400000>;
        };
 
        i2c@7000c700 {
index 9461396..ddcd77e 100644 (file)
 
        i2c@7000c500 {
                status = "okay";
-               clock-frequency = <100000>;
+               clock-frequency = <400000>;
        };
 
        i2c@7000c700 {
index 15bbcac..8a6767f 100644 (file)
@@ -237,7 +237,7 @@ static struct tegra_i2c_platform_data dalmore_i2c2_platform_data = {
 };
 
 static struct tegra_i2c_platform_data dalmore_i2c3_platform_data = {
-       .bus_clk_rate   = 100000,
+       .bus_clk_rate   = 400000,
        .scl_gpio       = TEGRA_GPIO_I2C3_SCL,
        .sda_gpio       = TEGRA_GPIO_I2C3_SDA,
 };
index a9cf521..e5e69c8 100644 (file)
@@ -230,7 +230,7 @@ static struct tegra_i2c_platform_data macallan_i2c2_platform_data = {
 };
 
 static struct tegra_i2c_platform_data macallan_i2c3_platform_data = {
-       .bus_clk_rate   = 100000,
+       .bus_clk_rate   = 400000,
        .scl_gpio       = TEGRA_GPIO_I2C3_SCL,
        .sda_gpio       = TEGRA_GPIO_I2C3_SDA,
 };
index 8e72157..a8c51ab 100644 (file)
@@ -257,7 +257,7 @@ static struct tegra_i2c_platform_data pluto_i2c2_platform_data = {
 };
 
 static struct tegra_i2c_platform_data pluto_i2c3_platform_data = {
-       .bus_clk_rate   = 100000,
+       .bus_clk_rate   = 400000,
        .scl_gpio       = TEGRA_GPIO_I2C3_SCL,
        .sda_gpio       = TEGRA_GPIO_I2C3_SDA,
 };