From: tskd08@gmail.com
To: linux-media@vger.kernel.org
Cc: mchehab@s-opensource.com, Akihiro Tsukada <tskd08@gmail.com>
Subject: [PATCH v3 2/5] dvb-frontends/dvb-pll: add tua6034 ISDB-T tuner used in Friio
Date: Tue, 27 Mar 2018 03:06:49 +0900 [thread overview]
Message-ID: <20180326180652.5385-3-tskd08@gmail.com> (raw)
In-Reply-To: <20180326180652.5385-1-tskd08@gmail.com>
From: Akihiro Tsukada <tskd08@gmail.com>
This driver already contains tua6034-based device settings,
but they are not for ISDB-T and have different parameters.
Signed-off-by: Akihiro Tsukada <tskd08@gmail.com>
---
Changes since v2:
(patch #27927 dvb: tua6034: add a new driver for Infineon tua6034 tuner)
- extends dvb-pll instead of creating a new driver
drivers/media/dvb-frontends/dvb-pll.c | 18 ++++++++++++++++++
drivers/media/dvb-frontends/dvb-pll.h | 1 +
2 files changed, 19 insertions(+)
diff --git a/drivers/media/dvb-frontends/dvb-pll.c b/drivers/media/dvb-frontends/dvb-pll.c
index 614a5ea3b00..76c091b2cb1 100644
--- a/drivers/media/dvb-frontends/dvb-pll.c
+++ b/drivers/media/dvb-frontends/dvb-pll.c
@@ -533,6 +533,23 @@ static const struct dvb_pll_desc dvb_pll_alps_tdee4 = {
}
};
+/* Infineon TUA6034 ISDB-T, used in Friio */
+/* CP cur. 50uA, AGC takeover: 103dBuV, PORT3 on */
+static const struct dvb_pll_desc dvb_pll_tua6034_friio = {
+ .name = "Infineon TUA6034 ISDB-T (Friio)",
+ .min = 90000000,
+ .max = 770000000,
+ .iffreq = 57000000,
+ .initdata = (u8[]){ 4, 0x9a, 0x50, 0xb2, 0x08 },
+ .sleepdata = (u8[]){ 4, 0x9a, 0x70, 0xb3, 0x0b },
+ .count = 3,
+ .entries = {
+ { 170000000, 142857, 0xba, 0x09 },
+ { 470000000, 142857, 0xba, 0x0a },
+ { 770000000, 142857, 0xb2, 0x08 },
+ }
+};
+
/* ----------------------------------------------------------- */
static const struct dvb_pll_desc *pll_list[] = {
@@ -556,6 +573,7 @@ static const struct dvb_pll_desc *pll_list[] = {
[DVB_PLL_SAMSUNG_TDTC9251DH0] = &dvb_pll_samsung_tdtc9251dh0,
[DVB_PLL_SAMSUNG_TBDU18132] = &dvb_pll_samsung_tbdu18132,
[DVB_PLL_SAMSUNG_TBMU24112] = &dvb_pll_samsung_tbmu24112,
+ [DVB_PLL_TUA6034_FRIIO] = &dvb_pll_tua6034_friio,
};
/* ----------------------------------------------------------- */
diff --git a/drivers/media/dvb-frontends/dvb-pll.h b/drivers/media/dvb-frontends/dvb-pll.h
index 15bda0d0c15..f1f3ea4c0d5 100644
--- a/drivers/media/dvb-frontends/dvb-pll.h
+++ b/drivers/media/dvb-frontends/dvb-pll.h
@@ -29,6 +29,7 @@
#define DVB_PLL_SAMSUNG_TBMU24112 17
#define DVB_PLL_TDEE4 18
#define DVB_PLL_THOMSON_DTT7520X 19
+#define DVB_PLL_TUA6034_FRIIO 20
struct dvb_pll_config {
struct dvb_frontend *fe;
--
2.16.2
next prev parent reply other threads:[~2018-03-26 18:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-26 18:06 [PATCH v3 0/5] dvb-usb-friio: decompose friio and merge with gl861 tskd08
2018-03-26 18:06 ` [PATCH v3 1/5] dvb-frontends/dvb-pll: add i2c driver support tskd08
2018-03-27 23:55 ` Antti Palosaari
2018-03-26 18:06 ` tskd08 [this message]
2018-03-26 18:06 ` [PATCH v3 3/5] dvb-usb/friio, dvb-usb-v2/gl861: decompose friio tskd08
2018-03-27 15:18 ` [RFC PATCH] dvb-usb/friio, dvb-usb-v2/gl861: friio_props can be static kbuild test robot
2018-03-27 15:18 ` [PATCH v3 3/5] dvb-usb/friio, dvb-usb-v2/gl861: decompose friio kbuild test robot
2018-03-26 18:06 ` [PATCH v3 4/5] dvb-usb-v2/gl861: use usleep_range() for short delay tskd08
2018-03-26 18:06 ` [PATCH v3 5/5] dvb-usb-v2/gl861: ensure USB message buffers DMA'able tskd08
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180326180652.5385-3-tskd08@gmail.com \
--to=tskd08@gmail.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@s-opensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.