1

media: tuner-simple: Add support for Tena TNF931D-DFDR1

Tuner ranges were determined by USB capturing the vendor driver of a
MyGica UTV3 video capture card.

Signed-off-by: Nils Rothaug <nils.rothaug@gmx.de>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
Nils Rothaug 2024-06-23 12:46:43 +02:00 committed by Hans Verkuil
parent 4caf6d93d9
commit 32c1935280
3 changed files with 24 additions and 0 deletions

View File

@ -97,4 +97,6 @@ Tuner number Card name
89 Sony BTF-PG472Z PAL/SECAM 89 Sony BTF-PG472Z PAL/SECAM
90 Sony BTF-PK467Z NTSC-M-JP 90 Sony BTF-PK467Z NTSC-M-JP
91 Sony BTF-PB463Z NTSC-M 91 Sony BTF-PB463Z NTSC-M
92 Silicon Labs Si2157 tuner
93 Tena TNF931D-DFDR1
============ ===================================================== ============ =====================================================

View File

@ -1434,6 +1434,22 @@ static struct tuner_params tuner_sony_btf_pg463z_params[] = {
}, },
}; };
/* ------------- TUNER_TENA_TNF_931D_DFDR1 - NXP TDA6509A ------------- */
static struct tuner_range tuner_tena_tnf_931d_dfdr1_ranges[] = {
{ 16 * 161.15 /*MHz*/, 0x8e, 0x01, },
{ 16 * 463.15 /*MHz*/, 0x8e, 0x02, },
{ 16 * 999.99 , 0x8e, 0x08, },
};
static struct tuner_params tuner_tena_tnf_931d_dfdr1_params[] = {
{
.type = TUNER_PARAM_TYPE_PAL,
.ranges = tuner_tena_tnf_931d_dfdr1_ranges,
.count = ARRAY_SIZE(tuner_tena_tnf_931d_dfdr1_ranges),
},
};
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */
struct tunertype tuners[] = { struct tunertype tuners[] = {
@ -1946,6 +1962,11 @@ struct tunertype tuners[] = {
.name = "Silicon Labs Si2157 tuner", .name = "Silicon Labs Si2157 tuner",
/* see si2157.c for details */ /* see si2157.c for details */
}, },
[TUNER_TENA_TNF_931D_DFDR1] = {
.name = "Tena TNF931D-DFDR1",
.params = tuner_tena_tnf_931d_dfdr1_params,
.count = ARRAY_SIZE(tuner_tena_tnf_931d_dfdr1_params),
}
}; };
EXPORT_SYMBOL(tuners); EXPORT_SYMBOL(tuners);

View File

@ -133,6 +133,7 @@
#define TUNER_SONY_BTF_PK467Z 90 /* NTSC_JP */ #define TUNER_SONY_BTF_PK467Z 90 /* NTSC_JP */
#define TUNER_SONY_BTF_PB463Z 91 /* NTSC */ #define TUNER_SONY_BTF_PB463Z 91 /* NTSC */
#define TUNER_SI2157 92 #define TUNER_SI2157 92
#define TUNER_TENA_TNF_931D_DFDR1 93
/* tv card specific */ /* tv card specific */
#define TDA9887_PRESENT (1<<0) #define TDA9887_PRESENT (1<<0)