tw9910.h 876 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * tw9910 Driver header
  4. *
  5. * Copyright (C) 2008 Renesas Solutions Corp.
  6. * Kuninori Morimoto <[email protected]>
  7. *
  8. * Based on ov772x.h
  9. *
  10. * Copyright (C) Kuninori Morimoto <[email protected]>
  11. */
  12. #ifndef __TW9910_H__
  13. #define __TW9910_H__
  14. /* MPOUT (multi-purpose output) pin functions */
  15. enum tw9910_mpout_pin {
  16. TW9910_MPO_VLOSS,
  17. TW9910_MPO_HLOCK,
  18. TW9910_MPO_SLOCK,
  19. TW9910_MPO_VLOCK,
  20. TW9910_MPO_MONO,
  21. TW9910_MPO_DET50,
  22. TW9910_MPO_FIELD,
  23. TW9910_MPO_RTCO,
  24. };
  25. /**
  26. * struct tw9910_video_info - tw9910 driver interface structure
  27. * @buswidth: Parallel data bus width (8 or 16).
  28. * @mpout: Selected function of MPOUT (multi-purpose output) pin.
  29. * See enum tw9910_mpout_pin
  30. */
  31. struct tw9910_video_info {
  32. unsigned long buswidth;
  33. enum tw9910_mpout_pin mpout;
  34. };
  35. #endif /* __TW9910_H__ */