tw9910.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * tw9910 Driver header
  3. *
  4. * Copyright (C) 2008 Renesas Solutions Corp.
  5. * Kuninori Morimoto <morimoto.kuninori@renesas.com>
  6. *
  7. * Based on ov772x.h
  8. *
  9. * Copyright (C) Kuninori Morimoto <morimoto.kuninori@renesas.com>
  10. *
  11. * This program is free software; you can redistribute it and/or modify
  12. * it under the terms of the GNU General Public License version 2 as
  13. * published by the Free Software Foundation.
  14. */
  15. #ifndef __TW9910_H__
  16. #define __TW9910_H__
  17. #include <media/soc_camera.h>
  18. /**
  19. * tw9910_mpout_pin - MPOUT (multi-purpose output) pin functions
  20. */
  21. enum tw9910_mpout_pin {
  22. TW9910_MPO_VLOSS,
  23. TW9910_MPO_HLOCK,
  24. TW9910_MPO_SLOCK,
  25. TW9910_MPO_VLOCK,
  26. TW9910_MPO_MONO,
  27. TW9910_MPO_DET50,
  28. TW9910_MPO_FIELD,
  29. TW9910_MPO_RTCO,
  30. };
  31. /**
  32. * tw9910_video_info - tw9910 driver interface structure
  33. * @buswidth: Parallel data bus width (8 or 16).
  34. * @mpout: Selected function of MPOUT (multi-purpose output) pin.
  35. * See &enum tw9910_mpout_pin
  36. */
  37. struct tw9910_video_info {
  38. unsigned long buswidth;
  39. enum tw9910_mpout_pin mpout;
  40. };
  41. #endif /* __TW9910_H__ */