summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorNils Rothaug <nils.rothaug@gmx.de>2024-06-23 12:46:43 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-06-29 12:20:05 +0200
commit32c1935280f11ef03efdb069aa46c0bc631eab7d (patch)
tree35b22b77d29fe3d237b222c84e0c062b9be5a7be /drivers/media
parent4caf6d93d9f2c11d6441c64e1c549c445fa322ed (diff)
downloadlwn-32c1935280f11ef03efdb069aa46c0bc631eab7d.tar.gz
lwn-32c1935280f11ef03efdb069aa46c0bc631eab7d.zip
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>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/tuners/tuner-types.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/media/tuners/tuner-types.c b/drivers/media/tuners/tuner-types.c
index ff5a6c0acdd4..c26f1296e18f 100644
--- a/drivers/media/tuners/tuner-types.c
+++ b/drivers/media/tuners/tuner-types.c
@@ -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[] = {
@@ -1946,6 +1962,11 @@ struct tunertype tuners[] = {
.name = "Silicon Labs Si2157 tuner",
/* 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);