tc90522.h 784 B

12345678910111213141516171819202122232425262728293031323334
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Toshiba TC90522 Demodulator
  4. *
  5. * Copyright (C) 2014 Akihiro Tsukada <tskd08@gmail.com>
  6. */
  7. /*
  8. * The demod has 4 input (2xISDB-T and 2xISDB-S),
  9. * and provides independent sub modules for each input.
  10. * As the sub modules work in parallel and have the separate i2c addr's,
  11. * this driver treats each sub module as one demod device.
  12. */
  13. #ifndef TC90522_H
  14. #define TC90522_H
  15. #include <linux/i2c.h>
  16. #include <media/dvb_frontend.h>
  17. /* I2C device types */
  18. #define TC90522_I2C_DEV_SAT "tc90522sat"
  19. #define TC90522_I2C_DEV_TER "tc90522ter"
  20. struct tc90522_config {
  21. /* [OUT] frontend returned by driver */
  22. struct dvb_frontend *fe;
  23. /* [OUT] tuner I2C adapter returned by driver */
  24. struct i2c_adapter *tuner_i2c;
  25. };
  26. #endif /* TC90522_H */