mv643xx_i2c.h 545 B

12345678910111213141516171819202122
  1. /*
  2. * This program is free software; you can redistribute it and/or modify it
  3. * under the terms of the GNU General Public License as published by the
  4. * Free Software Foundation; either version 2 of the License, or (at your
  5. * option) any later version.
  6. */
  7. #ifndef _MV64XXX_I2C_H_
  8. #define _MV64XXX_I2C_H_
  9. #include <linux/types.h>
  10. #define MV64XXX_I2C_CTLR_NAME "mv64xxx_i2c"
  11. /* i2c Platform Device, Driver Data */
  12. struct mv64xxx_i2c_pdata {
  13. u32 freq_m;
  14. u32 freq_n;
  15. u32 timeout; /* In milliseconds */
  16. };
  17. #endif /*_MV64XXX_I2C_H_*/