diff options
author | Benjamin Larsson <benjamin@southpole.se> | 2015-03-15 18:57:46 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-02 20:49:53 -0400 |
commit | 7b7ef4b4a5997229a42c02435e1775623e4ab379 (patch) | |
tree | 1dc94caf6e0cd934ec779735cbc25b8a6615e560 /drivers/media/tuners | |
parent | f2272e1347c452fb6cc4cb6eeea8b7266cc87ae5 (diff) |
[media] r820t: add DVBC profile in sysfreq_sel
This will make the Astrometa DVB-T/T2/C usb stick be able to pick up
muxes around 290-314 MHz.
Signed-off-by: Benjamin Larsson <benjamin@southpole.se>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/tuners')
-rw-r--r-- | drivers/media/tuners/r820t.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index 8e040cf9cf13..639c22061dbd 100644 --- a/drivers/media/tuners/r820t.c +++ b/drivers/media/tuners/r820t.c | |||
@@ -775,6 +775,19 @@ static int r820t_sysfreq_sel(struct r820t_priv *priv, u32 freq, | |||
775 | div_buf_cur = 0x30; /* 11, 150u */ | 775 | div_buf_cur = 0x30; /* 11, 150u */ |
776 | filter_cur = 0x40; /* 10, low */ | 776 | filter_cur = 0x40; /* 10, low */ |
777 | break; | 777 | break; |
778 | case SYS_DVBC_ANNEX_A: | ||
779 | mixer_top = 0x24; /* mixer top:13 , top-1, low-discharge */ | ||
780 | lna_top = 0xe5; | ||
781 | lna_vth_l = 0x62; | ||
782 | mixer_vth_l = 0x75; | ||
783 | air_cable1_in = 0x60; | ||
784 | cable2_in = 0x00; | ||
785 | pre_dect = 0x40; | ||
786 | lna_discharge = 14; | ||
787 | cp_cur = 0x38; /* 111, auto */ | ||
788 | div_buf_cur = 0x30; /* 11, 150u */ | ||
789 | filter_cur = 0x40; /* 10, low */ | ||
790 | break; | ||
778 | default: /* DVB-T 8M */ | 791 | default: /* DVB-T 8M */ |
779 | mixer_top = 0x24; /* mixer top:13 , top-1, low-discharge */ | 792 | mixer_top = 0x24; /* mixer top:13 , top-1, low-discharge */ |
780 | lna_top = 0xe5; /* detect bw 3, lna top:4, predet top:2 */ | 793 | lna_top = 0xe5; /* detect bw 3, lna top:4, predet top:2 */ |