summaryrefslogtreecommitdiffstats
path: root/drivers/media/common/tuners/tda18271-maps.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2011-12-21 12:07:52 +0100
committerMauro Carvalho Chehab2011-12-31 11:27:27 +0100
commitce0e93a52a01d0074b2bd12c056cbbf7a8a300c4 (patch)
treeeb278f05b0d0fa47ae375121ed93866ae6e03d90 /drivers/media/common/tuners/tda18271-maps.c
parent[media] tda18218: use DVBv5 parameters on set_params() (diff)
downloadkernel-qcow2-linux-ce0e93a52a01d0074b2bd12c056cbbf7a8a300c4.tar.gz
kernel-qcow2-linux-ce0e93a52a01d0074b2bd12c056cbbf7a8a300c4.tar.xz
kernel-qcow2-linux-ce0e93a52a01d0074b2bd12c056cbbf7a8a300c4.zip
[media] tda18271: add support for QAM 7 MHz map
This standard is not properly documented, but its settings are at the tda18271dd driver, and are somewhat obvious, as they follow the same logic as DVB-T 7MHz. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/tuners/tda18271-maps.c')
-rw-r--r--drivers/media/common/tuners/tda18271-maps.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/common/tuners/tda18271-maps.c b/drivers/media/common/tuners/tda18271-maps.c
index 3d5b6ab7e332..fb881c667c94 100644
--- a/drivers/media/common/tuners/tda18271-maps.c
+++ b/drivers/media/common/tuners/tda18271-maps.c
@@ -1213,6 +1213,8 @@ static struct tda18271_std_map tda18271c1_std_map = {
.if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1e */
.qam_6 = { .if_freq = 4000, .fm_rfn = 0, .agc_mode = 3, .std = 5,
.if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1d */
+ .qam_7 = { .if_freq = 4500, .fm_rfn = 0, .agc_mode = 3, .std = 6,
+ .if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1e */
.qam_8 = { .if_freq = 5000, .fm_rfn = 0, .agc_mode = 3, .std = 7,
.if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1f */
};
@@ -1244,6 +1246,8 @@ static struct tda18271_std_map tda18271c2_std_map = {
.if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1d */
.qam_6 = { .if_freq = 4000, .fm_rfn = 0, .agc_mode = 3, .std = 5,
.if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1d */
+ .qam_7 = { .if_freq = 4500, .fm_rfn = 0, .agc_mode = 3, .std = 6,
+ .if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1e */
.qam_8 = { .if_freq = 5000, .fm_rfn = 0, .agc_mode = 3, .std = 7,
.if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1f */
};