mt9t112.h 690 B

123456789101112131415161718192021222324252627282930
  1. /* mt9t112 Camera
  2. *
  3. * Copyright (C) 2009 Renesas Solutions Corp.
  4. * Kuninori Morimoto <morimoto.kuninori@renesas.com>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #ifndef __MT9T112_H__
  11. #define __MT9T112_H__
  12. #define MT9T112_FLAG_PCLK_RISING_EDGE (1 << 0)
  13. #define MT9T112_FLAG_DATAWIDTH_8 (1 << 1) /* default width is 10 */
  14. struct mt9t112_pll_divider {
  15. u8 m, n;
  16. u8 p1, p2, p3, p4, p5, p6, p7;
  17. };
  18. /*
  19. * mt9t112 camera info
  20. */
  21. struct mt9t112_camera_info {
  22. u32 flags;
  23. struct mt9t112_pll_divider divider;
  24. };
  25. #endif /* __MT9T112_H__ */