aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include/mach/i2c.h
diff options
context:
space:
mode:
authorKomal Shah <komal_shah802003@yahoo.com>2008-09-08 02:41:28 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2008-09-17 03:31:42 -0400
commitd395e6ad98912b52a299999ab667de9a1f393c91 (patch)
tree1ce5767c12884c6326f702d9eeac998c0af4864c /arch/arm/mach-davinci/include/mach/i2c.h
parentdce1115bc32d66237102a4c925e1e0a5e82b9945 (diff)
ARM: DaVinci: i2c setup
Davinci I2C initialization infrastructure; will be used by EVM init. [ dbrownell@users.sourceforge.net: pass platform data into init code ] Signed-off-by: Komal Shah <komal_shah802003@yahoo.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/i2c.h')
-rw-r--r--arch/arm/mach-davinci/include/mach/i2c.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/include/mach/i2c.h b/arch/arm/mach-davinci/include/mach/i2c.h
index e2f54168abd1..c248e9b7e825 100644
--- a/arch/arm/mach-davinci/include/mach/i2c.h
+++ b/arch/arm/mach-davinci/include/mach/i2c.h
@@ -14,8 +14,11 @@
14 14
15/* All frequencies are expressed in kHz */ 15/* All frequencies are expressed in kHz */
16struct davinci_i2c_platform_data { 16struct davinci_i2c_platform_data {
17 unsigned int bus_freq; /* standard bus frequency */ 17 unsigned int bus_freq; /* standard bus frequency (kHz) */
18 unsigned int bus_delay; /* transaction delay */ 18 unsigned int bus_delay; /* post-transaction delay (usec) */
19}; 19};
20 20
21/* for board setup code */
22void davinci_init_i2c(struct davinci_i2c_platform_data *);
23
21#endif /* __ASM_ARCH_I2C_H */ 24#endif /* __ASM_ARCH_I2C_H */