diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-21 06:07:52 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-31 05:27:27 -0500 |
commit | ce0e93a52a01d0074b2bd12c056cbbf7a8a300c4 (patch) | |
tree | eb278f05b0d0fa47ae375121ed93866ae6e03d90 | |
parent | 67ccfe3b9ed5287363d01820a06e18f9376d3802 (diff) |
[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>
-rw-r--r-- | drivers/media/common/tuners/tda18271-maps.c | 4 | ||||
-rw-r--r-- | drivers/media/common/tuners/tda18271.h | 1 |
2 files changed, 5 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 = { | |||
1213 | .if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1e */ | 1213 | .if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1e */ |
1214 | .qam_6 = { .if_freq = 4000, .fm_rfn = 0, .agc_mode = 3, .std = 5, | 1214 | .qam_6 = { .if_freq = 4000, .fm_rfn = 0, .agc_mode = 3, .std = 5, |
1215 | .if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1d */ | 1215 | .if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1d */ |
1216 | .qam_7 = { .if_freq = 4500, .fm_rfn = 0, .agc_mode = 3, .std = 6, | ||
1217 | .if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1e */ | ||
1216 | .qam_8 = { .if_freq = 5000, .fm_rfn = 0, .agc_mode = 3, .std = 7, | 1218 | .qam_8 = { .if_freq = 5000, .fm_rfn = 0, .agc_mode = 3, .std = 7, |
1217 | .if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1f */ | 1219 | .if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1f */ |
1218 | }; | 1220 | }; |
@@ -1244,6 +1246,8 @@ static struct tda18271_std_map tda18271c2_std_map = { | |||
1244 | .if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1d */ | 1246 | .if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1d */ |
1245 | .qam_6 = { .if_freq = 4000, .fm_rfn = 0, .agc_mode = 3, .std = 5, | 1247 | .qam_6 = { .if_freq = 4000, .fm_rfn = 0, .agc_mode = 3, .std = 5, |
1246 | .if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1d */ | 1248 | .if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1d */ |
1249 | .qam_7 = { .if_freq = 4500, .fm_rfn = 0, .agc_mode = 3, .std = 6, | ||
1250 | .if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1e */ | ||
1247 | .qam_8 = { .if_freq = 5000, .fm_rfn = 0, .agc_mode = 3, .std = 7, | 1251 | .qam_8 = { .if_freq = 5000, .fm_rfn = 0, .agc_mode = 3, .std = 7, |
1248 | .if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1f */ | 1252 | .if_lvl = 1, .rfagc_top = 0x37, }, /* EP3[4:0] 0x1f */ |
1249 | }; | 1253 | }; |
diff --git a/drivers/media/common/tuners/tda18271.h b/drivers/media/common/tuners/tda18271.h index 50cfa8cebb93..640bae4e6a5a 100644 --- a/drivers/media/common/tuners/tda18271.h +++ b/drivers/media/common/tuners/tda18271.h | |||
@@ -53,6 +53,7 @@ struct tda18271_std_map { | |||
53 | struct tda18271_std_map_item dvbt_7; | 53 | struct tda18271_std_map_item dvbt_7; |
54 | struct tda18271_std_map_item dvbt_8; | 54 | struct tda18271_std_map_item dvbt_8; |
55 | struct tda18271_std_map_item qam_6; | 55 | struct tda18271_std_map_item qam_6; |
56 | struct tda18271_std_map_item qam_7; | ||
56 | struct tda18271_std_map_item qam_8; | 57 | struct tda18271_std_map_item qam_8; |
57 | }; | 58 | }; |
58 | 59 | ||