diff options
author | 2015-03-23 14:14:40 -0300 | |
---|---|---|
committer | 2015-04-02 22:24:03 -0300 | |
commit | abd9025b95619c02f83583c9659298bc65dcdf50 (patch) | |
tree | fda949142bd0c14253c6928169237e65bdf8a631 /drivers/media/dvb-frontends/ts2020.h | |
parent | [media] dw2102: TechnoTrend TT-connect S2-4600 DVB-S/S2 tuner (diff) | |
download | linux-abd9025b95619c02f83583c9659298bc65dcdf50.tar.gz linux-abd9025b95619c02f83583c9659298bc65dcdf50.tar.bz2 linux-abd9025b95619c02f83583c9659298bc65dcdf50.zip |
[media] ts2020: add support for TS2022
TS2022 is slightly newer and different version of same tuner, which
could be supported with rather small changes. Tuner type is
auto-detected.
Tested-by: David Howells <dhowells@redhat.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/ts2020.h')
-rw-r--r-- | drivers/media/dvb-frontends/ts2020.h | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/ts2020.h b/drivers/media/dvb-frontends/ts2020.h index b2fe6bb3a38b..8a08dccc217f 100644 --- a/drivers/media/dvb-frontends/ts2020.h +++ b/drivers/media/dvb-frontends/ts2020.h @@ -27,8 +27,31 @@ struct ts2020_config { u8 tuner_address; - u8 clk_out_div; u32 frequency_div; + + /* + * RF loop-through + */ + u8 loop_through:1; + + /* + * clock output + */ +#define TS2020_CLK_OUT_DISABLED 0 +#define TS2020_CLK_OUT_ENABLED 1 +#define TS2020_CLK_OUT_ENABLED_XTALOUT 2 + u8 clk_out:2; + + /* + * clock output divider + * 1 - 31 + */ + u8 clk_out_div:5; + + /* + * pointer to DVB frontend + */ + struct dvb_frontend *fe; }; #if IS_ENABLED(CONFIG_DVB_TS2020) |