summaryrefslogtreecommitdiff
path: root/include/linux/i2c-tegra.h
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2011-02-17 16:37:09 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:41:51 -0800
commit3d6207d9466d462ae377d2f1cff0eefb3b74e21d (patch)
tree8fb372369d4fedacf395906b1db98f9e883fcd6c /include/linux/i2c-tegra.h
parentf35f9094fee64871420b6a57cb1e859c30e79319 (diff)
i2c: tegra: suppporting clock enable always through platform data.
To make the response fast from i2c, providing the option to enable clock of i2c always through platform data. Original-Change-Id: I89c9156fc97f92a45ce72626ccd77920e02ca356 Reviewed-on: http://git-master/r/19880 Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com> Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com> Original-Change-Id: Ifaab9d7e052fb377abe27afdeb5c9cb4d19a6320 Rebase-Id: R15e2cfa9080024d9e2bbc8d966f5145766ee9e1a
Diffstat (limited to 'include/linux/i2c-tegra.h')
-rw-r--r--include/linux/i2c-tegra.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/i2c-tegra.h b/include/linux/i2c-tegra.h
index 538234e7f1d4..7a70e64872f7 100644
--- a/include/linux/i2c-tegra.h
+++ b/include/linux/i2c-tegra.h
@@ -29,6 +29,7 @@ struct tegra_i2c_platform_data {
int bus_mux_len[TEGRA_I2C_MAX_BUS];
unsigned long bus_clk_rate[TEGRA_I2C_MAX_BUS];
bool is_dvc;
+ bool is_clkon_always;
int retries;
int timeout; /* in jiffies */
u16 slave_addr;