es705-i2c.h 617 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * es705-i2c.h -- Audience eS705 I2C interface
  3. *
  4. * Copyright 2011 Audience, Inc.
  5. *
  6. * Author: Greg Clemson <gclemson@audience.com>
  7. *
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License version 2 as
  11. * published by the Free Software Foundation.
  12. */
  13. #ifndef _ES705_I2C_H
  14. #define _ES705_I2C_H
  15. #include "es705.h"
  16. #define ES705_I2C_BOOT_CMD 0x0001
  17. #define ES705_I2C_BOOT_ACK 0x0101
  18. extern struct i2c_driver es705_i2c_driver;
  19. int es705_i2c_init(struct es705_priv *es705);
  20. extern struct es_stream_device i2c_streamdev;
  21. #endif