]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] tda18271: add support for QAM 7 MHz map
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 21 Dec 2011 11:07:52 +0000 (08:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 31 Dec 2011 10:27:27 +0000 (08:27 -0200)
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>
drivers/media/common/tuners/tda18271-maps.c
drivers/media/common/tuners/tda18271.h

index 3d5b6ab7e3322630814036cf65654f545cc7e095..fb881c667c9401aa355681816a5a7045d271183e 100644 (file)
@@ -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 */
 };
index 50cfa8cebb9309043e63059c350d7091e877e24c..640bae4e6a5a85c6db5274e9654b1d02f61c419b 100644 (file)
@@ -53,6 +53,7 @@ struct tda18271_std_map {
        struct tda18271_std_map_item dvbt_7;
        struct tda18271_std_map_item dvbt_8;
        struct tda18271_std_map_item qam_6;
+       struct tda18271_std_map_item qam_7;
        struct tda18271_std_map_item qam_8;
 };