summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/stv0367.h
diff options
context:
space:
mode:
authorDaniel Scheller <d.scheller@gmx.net>2017-03-29 18:43:05 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-20 14:21:49 +0200
commit8a9c07359ce5eddb40da444a01aabe177d370b3a (patch)
tree2d356da65a1f6f3dfa9ba6821a274e3658dc40f8 /drivers/media/dvb-frontends/stv0367.h
parent[media] dvb-frontends/stv0367: move out tables, support multiple tab variants (diff)
downloadlinux-8a9c07359ce5eddb40da444a01aabe177d370b3a.tar.xz
linux-8a9c07359ce5eddb40da444a01aabe177d370b3a.zip
[media] dvb-frontends/stv0367: make PLLSETUP a function, add 58MHz IC speed
This moves the PLL SETUP code from stv0367ter_init() into a dedicated function, and also make it possible to configure 58Mhz IC speed at 27MHz Xtal (used on STV0367-based DDB cards/modules in QAM mode). Signed-off-by: Daniel Scheller <d.scheller@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/stv0367.h')
-rw-r--r--drivers/media/dvb-frontends/stv0367.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/stv0367.h b/drivers/media/dvb-frontends/stv0367.h
index 26c38a0503c8..aaa0236a9100 100644
--- a/drivers/media/dvb-frontends/stv0367.h
+++ b/drivers/media/dvb-frontends/stv0367.h
@@ -25,6 +25,9 @@
#include <linux/dvb/frontend.h>
#include "dvb_frontend.h"
+#define STV0367_ICSPEED_53125 53125000
+#define STV0367_ICSPEED_58000 58000000
+
struct stv0367_config {
u8 demod_address;
u32 xtal;