diff options
-rw-r--r-- | Documentation/video4linux/CARDLIST.tuner | 1 | ||||
-rw-r--r-- | drivers/media/common/tuners/tuner-types.c | 23 | ||||
-rw-r--r-- | include/media/tuner.h | 1 |
3 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/video4linux/CARDLIST.tuner b/Documentation/video4linux/CARDLIST.tuner index ba9fa679e2d3..3561b09fb416 100644 --- a/Documentation/video4linux/CARDLIST.tuner +++ b/Documentation/video4linux/CARDLIST.tuner | |||
@@ -79,3 +79,4 @@ tuner=78 - Philips FMD1216MEX MK3 Hybrid Tuner | |||
79 | tuner=79 - Philips PAL/SECAM multi (FM1216 MK5) | 79 | tuner=79 - Philips PAL/SECAM multi (FM1216 MK5) |
80 | tuner=80 - Philips FQ1216LME MK3 PAL/SECAM w/active loopthrough | 80 | tuner=80 - Philips FQ1216LME MK3 PAL/SECAM w/active loopthrough |
81 | tuner=81 - Partsnic (Daewoo) PTI-5NF05 | 81 | tuner=81 - Partsnic (Daewoo) PTI-5NF05 |
82 | tuner=82 - Philips CU1216L | ||
diff --git a/drivers/media/common/tuners/tuner-types.c b/drivers/media/common/tuners/tuner-types.c index 5c6ef1e23c94..a2204df796ec 100644 --- a/drivers/media/common/tuners/tuner-types.c +++ b/drivers/media/common/tuners/tuner-types.c | |||
@@ -1320,6 +1320,23 @@ static struct tuner_params tuner_partsnic_pti_5nf05_params[] = { | |||
1320 | }, | 1320 | }, |
1321 | }; | 1321 | }; |
1322 | 1322 | ||
1323 | /* --------- TUNER_PHILIPS_CU1216L - DVB-C NIM ------------------------- */ | ||
1324 | |||
1325 | static struct tuner_range tuner_cu1216l_ranges[] = { | ||
1326 | { 16 * 160.25 /*MHz*/, 0xce, 0x01 }, | ||
1327 | { 16 * 444.25 /*MHz*/, 0xce, 0x02 }, | ||
1328 | { 16 * 999.99 , 0xce, 0x04 }, | ||
1329 | }; | ||
1330 | |||
1331 | static struct tuner_params tuner_philips_cu1216l_params[] = { | ||
1332 | { | ||
1333 | .type = TUNER_PARAM_TYPE_DIGITAL, | ||
1334 | .ranges = tuner_cu1216l_ranges, | ||
1335 | .count = ARRAY_SIZE(tuner_cu1216l_ranges), | ||
1336 | .iffreq = 16 * 36.125, /*MHz*/ | ||
1337 | }, | ||
1338 | }; | ||
1339 | |||
1323 | /* --------------------------------------------------------------------- */ | 1340 | /* --------------------------------------------------------------------- */ |
1324 | 1341 | ||
1325 | struct tunertype tuners[] = { | 1342 | struct tunertype tuners[] = { |
@@ -1778,6 +1795,12 @@ struct tunertype tuners[] = { | |||
1778 | .params = tuner_partsnic_pti_5nf05_params, | 1795 | .params = tuner_partsnic_pti_5nf05_params, |
1779 | .count = ARRAY_SIZE(tuner_partsnic_pti_5nf05_params), | 1796 | .count = ARRAY_SIZE(tuner_partsnic_pti_5nf05_params), |
1780 | }, | 1797 | }, |
1798 | [TUNER_PHILIPS_CU1216L] = { | ||
1799 | .name = "Philips CU1216L", | ||
1800 | .params = tuner_philips_cu1216l_params, | ||
1801 | .count = ARRAY_SIZE(tuner_philips_cu1216l_params), | ||
1802 | .stepsize = 62500, | ||
1803 | }, | ||
1781 | }; | 1804 | }; |
1782 | EXPORT_SYMBOL(tuners); | 1805 | EXPORT_SYMBOL(tuners); |
1783 | 1806 | ||
diff --git a/include/media/tuner.h b/include/media/tuner.h index c146f2f530b0..b1f57e175e9a 100644 --- a/include/media/tuner.h +++ b/include/media/tuner.h | |||
@@ -127,6 +127,7 @@ | |||
127 | #define TUNER_PHILIPS_FM1216MK5 79 | 127 | #define TUNER_PHILIPS_FM1216MK5 79 |
128 | #define TUNER_PHILIPS_FQ1216LME_MK3 80 /* Active loopthrough, no FM */ | 128 | #define TUNER_PHILIPS_FQ1216LME_MK3 80 /* Active loopthrough, no FM */ |
129 | #define TUNER_PARTSNIC_PTI_5NF05 81 | 129 | #define TUNER_PARTSNIC_PTI_5NF05 81 |
130 | #define TUNER_PHILIPS_CU1216L 82 | ||
130 | 131 | ||
131 | /* tv card specific */ | 132 | /* tv card specific */ |
132 | #define TDA9887_PRESENT (1<<0) | 133 | #define TDA9887_PRESENT (1<<0) |