Commit 093cdc79 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab

[media] msi3101: changes for tuner PLL freq limits

I made some tuner freq limit tests against RF signal generator.
Adjust some PLL limits according to these test results.
Here are the results, taken from two different devices.
Ranges are measured RF limits + calculated VCO limits.
Mirics MSi3101 SDR Dongle:
VHF_MODE  52 - 132  1664 - 4224
B3_MODE  103 - 263  1648 - 4208
B45_MODE 413 - 960  1652 - 3840
Hauppauge WinTV 133559 LF:
VHF_MODE  49 - 130  1568 - 4160
B3_MODE   98 - 259  1568 - 4144
B45_MODE 391 - 960  1564 - 3840
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 8e2efac7
...@@ -1306,11 +1306,11 @@ static int msi3101_set_tuner(struct msi3101_state *s) ...@@ -1306,11 +1306,11 @@ static int msi3101_set_tuner(struct msi3101_state *s)
u8 mode; u8 mode;
u8 lo_div; u8 lo_div;
} band_lut[] = { } band_lut[] = {
{ 30000000, 0x01, 16}, /* AM_MODE1 */ { 47000000, 0x01, 16}, /* AM_MODE1 */
{108000000, 0x02, 32}, /* VHF_MODE */ {108000000, 0x02, 32}, /* VHF_MODE */
{240000000, 0x04, 16}, /* B3_MODE */ {330000000, 0x04, 16}, /* B3_MODE */
{960000000, 0x08, 4}, /* B45_MODE */ {960000000, 0x08, 4}, /* B45_MODE */
{167500000, 0x10, 2}, /* BL_MODE */ { ~0U, 0x10, 2}, /* BL_MODE */
}; };
static const struct { static const struct {
u32 freq; u32 freq;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment