summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGary King <gking@nvidia.com>2009-12-09 16:00:52 -0800
committerGary King <gking@nvidia.com>2009-12-09 19:45:00 -0800
commit874c3d779eb69fbac28e9e4bfbed51610176ad34 (patch)
tree1b9c67687c4395a3a7569188d6aa483728ff7f82 /include
parent6fad4f8b483a4ba5e5723ecfdf5744f55dca59f2 (diff)
tegra: add I2C adapter-class driver
Driver implementation uses NvRm, NvDdk and NvOdm APIs to implement standard I2C bus interface. Change-Id: I29fbd39bd7fae95d70f1a1b9b552e34cc045371c
Diffstat (limited to 'include')
-rw-r--r--include/linux/tegra_devices.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/tegra_devices.h b/include/linux/tegra_devices.h
index d3fd49fa0684..a890e0276a79 100644
--- a/include/linux/tegra_devices.h
+++ b/include/linux/tegra_devices.h
@@ -27,7 +27,9 @@
#include "nvrm_gpio.h"
#include "nvddk_usbphy.h"
#include "nvodm_query.h"
+#include "nvodm_query_pinmux.h"
+/* Platform data for EHCI HCD driver */
struct tegra_hcd_platform_data {
NvU32 instance;
NvRmGpioPinHandle hGpioIDpin;
@@ -42,4 +44,12 @@ struct tegra_hcd_platform_data {
NvDdkUsbPhyHandle hUsbPhy;
};
+/* Platfrom data for I2C bus driver */
+struct tegra_i2c_platform_data {
+ NvU32 IoModuleID;
+ NvU32 Instance;
+ NvU32 ClockInKHz;
+ NvOdmI2cPinMap PinMuxConfig;
+};
+
#endif