Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

V4L/DVB (7350): tuner-simple: enable digital tuning support for Thomson DTT 761X

Enable digital tuning support within tuner-simple. This will allow for a
single tuner module to manage the hardware, without having dvb-pll loaded.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

authored by

Michael Krufky and committed by
Mauro Carvalho Chehab
22ef8fc9 bed6d189

+14
+14
drivers/media/video/tuner-types.c
··· 855 855 { 16 * 999.99 , 0x8e, 0x3c, }, 856 856 }; 857 857 858 + static struct tuner_range tuner_thomson_dtt761x_atsc_ranges[] = { 859 + { 16 * 147.00 /*MHz*/, 0x8e, 0x39, }, 860 + { 16 * 417.00 /*MHz*/, 0x8e, 0x3a, }, 861 + { 16 * 999.99 , 0x8e, 0x3c, }, 862 + }; 858 863 859 864 static struct tuner_params tuner_thomson_dtt761x_params[] = { 860 865 { ··· 869 864 .has_tda9887 = 1, 870 865 .fm_gain_normal = 1, 871 866 .radio_if = 2, /* 41.3 MHz */ 867 + }, 868 + { 869 + .type = TUNER_PARAM_TYPE_DIGITAL, 870 + .ranges = tuner_thomson_dtt761x_atsc_ranges, 871 + .count = ARRAY_SIZE(tuner_thomson_dtt761x_atsc_ranges), 872 + .iffreq = 16 * 44.00, /*MHz*/ 872 873 }, 873 874 }; 874 875 ··· 1422 1411 .name = "Thomson DTT 761X (ATSC/NTSC)", 1423 1412 .params = tuner_thomson_dtt761x_params, 1424 1413 .count = ARRAY_SIZE(tuner_thomson_dtt761x_params), 1414 + .min = 16 * 57.00, 1415 + .max = 16 * 863.00, 1416 + .stepsize = 62500, 1425 1417 }, 1426 1418 [TUNER_TENA_9533_DI] = { /* Philips PAL */ 1427 1419 .name = "Tena TNF9533-D/IF/TNF9533-B/DF",