diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2010-12-24 00:14:06 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:41:51 -0800 |
commit | f35f9094fee64871420b6a57cb1e859c30e79319 (patch) | |
tree | 2bb6466ed815826998f7bce45168931b09ccf663 /include/linux/i2c-tegra.h | |
parent | 0017a945ba2e0ecdb73657dac435fc83a74dd70e (diff) |
[ARM] tegra: Implementing i2c slave driver
Implementing i2c slave driver in the linux i2c framework.
This driver will support the slave functionality on tegra i2c
controller.
Original-Change-Id: Ia56e3299605ab8705f2f82bf512195e7736214b3
Reviewed-on: http://git-master/r/14208
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Alok Chauhan <alokc@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I01b742f2c9477f0df476330e49163eda43a8d14f
Rebase-Id: R0127682848aa0cf230cc63b29e8c2c712c4e28f3
Diffstat (limited to 'include/linux/i2c-tegra.h')
-rw-r--r-- | include/linux/i2c-tegra.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/i2c-tegra.h b/include/linux/i2c-tegra.h index b104504c0b9c..538234e7f1d4 100644 --- a/include/linux/i2c-tegra.h +++ b/include/linux/i2c-tegra.h @@ -34,4 +34,13 @@ struct tegra_i2c_platform_data { u16 slave_addr; }; +struct tegra_i2c_slave_platform_data { + int adapter_nr; + const struct tegra_pingroup_config *pinmux; + int bus_mux_len; + unsigned long bus_clk_rate; + int max_rx_buffer_size; + int max_tx_buffer_size; +}; + #endif /* _LINUX_I2C_TEGRA_H */ |