1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 3 * Silicon Labs Si2146/2147/2148/2157/2158 silicon tuner driver 4 * 5 * Copyright (C) 2014 Antti Palosaari <crope@iki.fi> 6 */ 7 8 #ifndef SI2157_H 9 #define SI2157_H 10 11 #include <media/media-device.h> 12 #include <media/dvb_frontend.h> 13 14 /* 15 * I2C address 16 * 0x60 17 */ 18 struct si2157_config { 19 /* 20 * frontend 21 */ 22 struct dvb_frontend *fe; 23 24 #if defined(CONFIG_MEDIA_CONTROLLER) 25 struct media_device *mdev; 26 #endif 27 28 /* 29 * Spectral Inversion 30 */ 31 bool inversion; 32 33 /* 34 * Port selection 35 * Select the RF interface to use (pins 9+11 or 12+13) 36 */ 37 u8 if_port; 38 }; 39 40 #endif 41