r820t: add DVBC profile in sysfreq_sel
Commit Message
Signed-off-by: Benjamin Larsson <benjamin@southpole.se>
---
drivers/media/tuners/r820t.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
Comments
Forgot to say that with this patch the Astrometa DVB-T/T2/C usb stick
now has working DVB-C reception at all the frequencies I have at home.
Before it was not working at around 290-314 MHz.
The current status of the Astrometa stick is that DVB-T and DVB-C (8MHz
tested, 6MHz testers wanted) should be working fine. DVB-T2 needs
working pid filters before it can work properly.
MvH
Benjamin Larsson
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
@@ -775,6 +775,19 @@ static int r820t_sysfreq_sel(struct r820t_priv *priv, u32 freq,
div_buf_cur = 0x30; /* 11, 150u */
filter_cur = 0x40; /* 10, low */
break;
+ case SYS_DVBC_ANNEX_A:
+ mixer_top = 0x24; /* mixer top:13 , top-1, low-discharge */
+ lna_top = 0xe5;
+ lna_vth_l = 0x62;
+ mixer_vth_l = 0x75;
+ air_cable1_in = 0x60;
+ cable2_in = 0x00;
+ pre_dect = 0x40;
+ lna_discharge = 14;
+ cp_cur = 0x38; /* 111, auto */
+ div_buf_cur = 0x30; /* 11, 150u */
+ filter_cur = 0x40; /* 10, low */
+ break;
default: /* DVB-T 8M */
mixer_top = 0x24; /* mixer top:13 , top-1, low-discharge */
lna_top = 0xe5; /* detect bw 3, lna top:4, predet top:2 */