mn88472.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. * Panasonic MN88472 DVB-T/T2/C demodulator driver
  3. *
  4. * Copyright (C) 2013 Antti Palosaari <crope@iki.fi>
  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 as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. */
  16. #ifndef MN88472_H
  17. #define MN88472_H
  18. #include <linux/dvb/frontend.h>
  19. enum ts_clock {
  20. VARIABLE_TS_CLOCK,
  21. FIXED_TS_CLOCK,
  22. };
  23. enum ts_mode {
  24. SERIAL_TS_MODE,
  25. PARALLEL_TS_MODE,
  26. };
  27. struct mn88472_config {
  28. /*
  29. * Max num of bytes given I2C adapter could write at once.
  30. * Default: none
  31. */
  32. u16 i2c_wr_max;
  33. /* Everything after that is returned by the driver. */
  34. /*
  35. * DVB frontend.
  36. */
  37. struct dvb_frontend **fe;
  38. /*
  39. * Xtal frequency.
  40. * Hz
  41. */
  42. u32 xtal;
  43. int ts_mode;
  44. int ts_clock;
  45. };
  46. #endif