i2c.h 730 B

123456789101112131415161718192021222324
  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. #ifndef __ASM_ARCH_I2C_H
  12. #define __ASM_ARCH_I2C_H
  13. /* All frequencies are expressed in kHz */
  14. struct davinci_i2c_platform_data {
  15. unsigned int bus_freq; /* standard bus frequency (kHz) */
  16. unsigned int bus_delay; /* post-transaction delay (usec) */
  17. };
  18. /* for board setup code */
  19. void davinci_init_i2c(struct davinci_i2c_platform_data *);
  20. #endif /* __ASM_ARCH_I2C_H */