m88ts2022_priv.h 920 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Montage M88TS2022 silicon tuner 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 M88TS2022_PRIV_H
  17. #define M88TS2022_PRIV_H
  18. #include "m88ts2022.h"
  19. #include <linux/regmap.h>
  20. struct m88ts2022_dev {
  21. struct m88ts2022_config cfg;
  22. struct i2c_client *client;
  23. struct regmap *regmap;
  24. u32 frequency_khz;
  25. };
  26. struct m88ts2022_reg_val {
  27. u8 reg;
  28. u8 val;
  29. };
  30. #endif