home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / arm / mach-davinci / include / mach / i2c.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  730 b   |  25 lines

  1. /*
  2.  * DaVinci I2C controller platfrom_device info
  3.  *
  4.  * Author: Vladimir Barinov, MontaVista Software, Inc. <source@mvista.com>
  5.  *
  6.  * 2007 (c) MontaVista Software, Inc. This file is licensed under
  7.  * the terms of the GNU General Public License version 2. This program
  8.  * is licensed "as is" without any warranty of any kind, whether express
  9.  * or implied.
  10. */
  11.  
  12. #ifndef __ASM_ARCH_I2C_H
  13. #define __ASM_ARCH_I2C_H
  14.  
  15. /* All frequencies are expressed in kHz */
  16. struct davinci_i2c_platform_data {
  17.     unsigned int    bus_freq;    /* standard bus frequency (kHz) */
  18.     unsigned int    bus_delay;    /* post-transaction delay (usec) */
  19. };
  20.  
  21. /* for board setup code */
  22. void davinci_init_i2c(struct davinci_i2c_platform_data *);
  23.  
  24. #endif /* __ASM_ARCH_I2C_H */
  25.