V4L/DVB (11775): tuner: add support Philips MK5 tuner
authorDmitri Belimov <d.belimov@gmail.com>
Mon, 11 May 2009 11:16:06 +0000 (08:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:21:04 +0000 (18:21 -0300)
Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/video4linux/CARDLIST.tuner
drivers/media/common/tuners/tuner-types.c
include/media/tuner.h

index 691d2f37dc57f49267f263d89bb11e985ada7cf7..22c1c55979c19e5f8c88cea1f6c9fc7ec2967b5c 100644 (file)
@@ -76,3 +76,4 @@ tuner=75 - Philips TEA5761 FM Radio
 tuner=76 - Xceive 5000 tuner
 tuner=77 - TCL tuner MF02GIP-5N-E
 tuner=78 - Philips FMD1216MEX MK3 Hybrid Tuner
+tuner=79 - Philips PAL/SECAM multi (FM1216 MK5)
index 7c0bc064c008966b05316c842657dec7ae0972c7..a9ce5b2ce08287bf113b0348cd773dc1482fd2bd 100644 (file)
@@ -578,6 +578,31 @@ static struct tuner_params tuner_fm1216me_mk3_params[] = {
        },
 };
 
+/* ------------ TUNER_PHILIPS_FM1216MK5 - Philips PAL ------------ */
+
+static struct tuner_range tuner_fm1216mk5_pal_ranges[] = {
+       { 16 * 158.00 /*MHz*/, 0xce, 0x01, },
+       { 16 * 441.00 /*MHz*/, 0xce, 0x02, },
+       { 16 * 864.00        , 0xce, 0x04, },
+};
+
+static struct tuner_params tuner_fm1216mk5_params[] = {
+       {
+               .type   = TUNER_PARAM_TYPE_PAL,
+               .ranges = tuner_fm1216mk5_pal_ranges,
+               .count  = ARRAY_SIZE(tuner_fm1216mk5_pal_ranges),
+               .cb_first_if_lower_freq = 1,
+               .has_tda9887 = 1,
+               .port1_active = 1,
+               .port2_active = 1,
+               .port2_invert_for_secam_lc = 1,
+               .port1_fm_high_sensitivity = 1,
+               .default_top_mid = -2,
+               .default_top_secam_mid = -2,
+               .default_top_secam_high = -2,
+       },
+};
+
 /* ------------ TUNER_LG_NTSC_NEW_TAPC - LGINNOTEK NTSC ------------ */
 
 static struct tuner_params tuner_lg_ntsc_new_tapc_params[] = {
@@ -1694,6 +1719,11 @@ struct tunertype tuners[] = {
                .initdata = tua603x_agc112,
                .sleepdata = (u8[]){ 4, 0x9c, 0x60, 0x85, 0x54 },
        },
+               [TUNER_PHILIPS_FM1216MK5] = { /* Philips PAL */
+               .name   = "Philips PAL/SECAM multi (FM1216 MK5)",
+               .params = tuner_fm1216mk5_params,
+               .count  = ARRAY_SIZE(tuner_fm1216mk5_params),
+       },
 };
 EXPORT_SYMBOL(tuners);
 
index 7d4e2db780767709579367fe6e50cb15ee825c85..735a2a94116605f4ba7b91b7a2c8ce6d25138e2a 100644 (file)
 #define TUNER_XC5000                   76      /* Xceive Silicon Tuner */
 #define TUNER_TCL_MF02GIP_5N           77      /* TCL MF02GIP_5N */
 #define TUNER_PHILIPS_FMD1216MEX_MK3   78
+#define TUNER_PHILIPS_FM1216MK5                79
 
 /* tv card specific */
 #define TDA9887_PRESENT                (1<<0)
This page took 0.04276 seconds and 5 git commands to generate.