summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNitin Kumbhar <nkumbhar@nvidia.com>2011-04-01 19:46:09 +0530
committerVarun Colbert <vcolbert@nvidia.com>2011-04-04 17:59:11 -0700
commitbfc02b9759f1610d9f30bdef4f1a4ada75f38a37 (patch)
tree1700869c369ee6f66578a9359c38f7cbfe5b5e2a
parentbdf0b4ce59907edd0523c5fb29a02e53a8e66a13 (diff)
arm: ventana: i2c addresses for new i2c slaves
Assign 0xFC as i2c slave address for all new i2c slaves BUG 788286 Reviewed-on: http://git-master/r/25101 (cherry picked from commit 32390e01c72732272c933883d0921a80d369c82f) Change-Id: Id1d19c7b03ff5ce6b4150f2a84ce2885e8edb44c Reviewed-on: http://git-master/r/25224 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/board-ventana.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-ventana.c b/arch/arm/mach-tegra/board-ventana.c
index 959cd3512f52..6473838686c9 100644
--- a/arch/arm/mach-tegra/board-ventana.c
+++ b/arch/arm/mach-tegra/board-ventana.c
@@ -367,6 +367,7 @@ static struct tegra_i2c_platform_data ventana_i2c1_platform_data = {
.adapter_nr = 0,
.bus_count = 1,
.bus_clk_rate = { 400000, 0 },
+ .slave_addr = 0x00FC,
};
static const struct tegra_pingroup_config i2c2_ddc = {
@@ -385,12 +386,14 @@ static struct tegra_i2c_platform_data ventana_i2c2_platform_data = {
.bus_clk_rate = { 400000, 10000 },
.bus_mux = { &i2c2_ddc, &i2c2_gen2 },
.bus_mux_len = { 1, 1 },
+ .slave_addr = 0x00FC,
};
static struct tegra_i2c_platform_data ventana_i2c3_platform_data = {
.adapter_nr = 3,
.bus_count = 1,
.bus_clk_rate = { 400000, 0 },
+ .slave_addr = 0x00FC,
};
static struct tegra_i2c_platform_data ventana_dvc_platform_data = {