diff options
author | Colin Cross <ccross@android.com> | 2011-02-20 17:14:21 -0800 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2011-02-23 00:53:26 +0000 |
commit | db811ca0f48578f9940f49f284ac81e336b264ad (patch) | |
tree | 5df593fbcc910071e8a30e650f08cf62ac9f6849 /include/linux/i2c-tegra.h | |
parent | d8204a37baf5474d3154eb536c936369be2bd5c0 (diff) | |
download | blackbird-op-linux-db811ca0f48578f9940f49f284ac81e336b264ad.tar.gz blackbird-op-linux-db811ca0f48578f9940f49f284ac81e336b264ad.zip |
i2c: tegra: Add i2c support
Adds I2C bus driver for nVidia Tegra SoCs. Tegra includes 4 I2C
controllers, one of which is inside the Dynamic Voltage Controller
and has a slightly different register map.
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'include/linux/i2c-tegra.h')
-rw-r--r-- | include/linux/i2c-tegra.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/i2c-tegra.h b/include/linux/i2c-tegra.h new file mode 100644 index 000000000000..9c85da49857a --- /dev/null +++ b/include/linux/i2c-tegra.h @@ -0,0 +1,25 @@ +/* + * drivers/i2c/busses/i2c-tegra.c + * + * Copyright (C) 2010 Google, Inc. + * Author: Colin Cross <ccross@android.com> + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#ifndef _LINUX_I2C_TEGRA_H +#define _LINUX_I2C_TEGRA_H + +struct tegra_i2c_platform_data { + unsigned long bus_clk_rate; +}; + +#endif /* _LINUX_I2C_TEGRA_H */ |