summaryrefslogtreecommitdiff
path: root/drivers/media/tuners/si2157.h
diff options
context:
space:
mode:
authorOlli Salonen <olli.salonen@iki.fi>2015-05-05 16:54:17 (GMT)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-12 16:20:55 (GMT)
commitee3c3e46885946cc041f08ec68e7c5b91b087cbe (patch)
tree2a892ccba55536e6ef5e3cbd71c6bbcdf2f72424 /drivers/media/tuners/si2157.h
parent7adf99d20ce0e96a70755f452e3a63824b14060f (diff)
downloadlinux-ee3c3e46885946cc041f08ec68e7c5b91b087cbe.tar.xz
[media] si2157: support selection of IF interface
The chips supported by the si2157 driver have two IF outputs (either pins 12+13 or pins 9+11). Instead of hardcoding the output to be used add an option to choose which output shall be used. As this patch changes the default behaviour, the IF interface is specified in each driver currently using si2157 driver. This is to keep bisectability. Signed-off-by: Olli Salonen <olli.salonen@iki.fi> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/tuners/si2157.h')
-rw-r--r--drivers/media/tuners/si2157.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/tuners/si2157.h b/drivers/media/tuners/si2157.h
index a564c4a..4db97ab 100644
--- a/drivers/media/tuners/si2157.h
+++ b/drivers/media/tuners/si2157.h
@@ -34,6 +34,12 @@ struct si2157_config {
* Spectral Inversion
*/
bool inversion;
+
+ /*
+ * Port selection
+ * Select the RF interface to use (pins 9+11 or 12+13)
+ */
+ u8 if_port;
};
#endif