diff options
author | Komal Shah <komal_shah802003@yahoo.com> | 2008-09-07 23:41:28 -0700 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2008-09-17 00:31:42 -0700 |
commit | d395e6ad98912b52a299999ab667de9a1f393c91 (patch) | |
tree | 1ce5767c12884c6326f702d9eeac998c0af4864c /arch/arm/mach-davinci/include/mach | |
parent | dce1115bc32d66237102a4c925e1e0a5e82b9945 (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')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/i2c.h | 7 |
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 e2f54168abd..c248e9b7e82 100644 --- a/arch/arm/mach-davinci/include/mach/i2c.h +++ b/arch/arm/mach-davinci/include/mach/i2c.h @@ -14,8 +14,11 @@ /* All frequencies are expressed in kHz */ struct davinci_i2c_platform_data { - unsigned int bus_freq; /* standard bus frequency */ - unsigned int bus_delay; /* transaction delay */ + unsigned int bus_freq; /* standard bus frequency (kHz) */ + unsigned int bus_delay; /* post-transaction delay (usec) */ }; +/* for board setup code */ +void davinci_init_i2c(struct davinci_i2c_platform_data *); + #endif /* __ASM_ARCH_I2C_H */ |