summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
AgeCommit message (Collapse)Author
2007-10-31tda10021: Fix reported signal strengthOliver Endriss
From: Hartmut Birr <e9hack@googlemail.com> Fix reported signal strength value (higher value = higher signal strength). Signed-off-by: Hartmut Birr <e9hack@googlemail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-10-31tda10021: Bit error counting fixedOliver Endriss
From: Hartmut Birr <e9hack@googlemail.com> Bit error counting fixed for the tda10021. Signed-off-by: Hartmut Birr <e9hack@googlemail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-10-31ves1820: Change the acquisition range for clock recovery from 120 ppm to 240ppmOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Change the acquisition range for clock recovery from 120 ppm to 240ppm. Apparently, some cable providers in Germany are playing with their parameters, and the capture range of the ves1820 is too small to acquire a lock with the current setting... ;-( Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-10-24tda18271: clean up i2c_gate handlingMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Call analog_demod_ops->i2c_gate_ctrl when in analog tuning mode, and frontend_ops.i2c_gate_ctrl when in digital tuning mode. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/drivers/media/dvb/frontends/Makefile | 1 linux/drivers/media/dvb/frontends/tda18271.c | 33 ++++++++++++++++++++------- 2 files changed, 26 insertions(+), 8 deletions(-)
2007-10-24tda18271: clean up debug macrosMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/drivers/media/dvb/frontends/tda18271.c | 76 ++++++++++++--------------- 1 file changed, 35 insertions(+), 41 deletions(-)
2007-10-22move std if setting from tda8290 to tda827xMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/drivers/media/dvb/frontends/tda827x.c | 61 +++++++++++++++++++++++++--- linux/drivers/media/dvb/frontends/tda827x.h | 3 - linux/drivers/media/video/tda8290.c | 20 --------- 3 files changed, 57 insertions(+), 27 deletions(-)
2007-10-22tda8290: add support for NXP TDA18271 tuner and TDA8295 analog demodMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Add basic support for NXP TDA8295 analog demod and TDA18271 tuner silicon. TDA8295 + TDA8275a not yet tested. TDA8290 + TDA18271 not yet supported. Digital mode of TDA18271 not yet tested & needs more work. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/Documentation/video4linux/CARDLIST.tuner | 1 linux/drivers/media/Kconfig | 3 linux/drivers/media/dvb/frontends/Kconfig | 7 linux/drivers/media/dvb/frontends/Makefile | 1 linux/drivers/media/dvb/frontends/tda18271.c | 1062 +++++++++++++++++++++++++ linux/drivers/media/dvb/frontends/tda18271.h | 40 linux/drivers/media/video/tda8290.c | 339 +++++++ linux/drivers/media/video/tda8290.h | 8 linux/drivers/media/video/tuner-core.c | 5 linux/drivers/media/video/tuner-types.c | 3 linux/drivers/media/video/tveeprom.c | 2 linux/include/media/tuner.h | 2 v4l/versions.txt | 2 13 files changed, 1467 insertions(+), 8 deletions(-)
2007-10-21tda827x: fix GPL export on attach functionMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> EXPORT_SYMBOL should have been EXPORT_SYMBOL_GPL Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/drivers/media/dvb/frontends/tda827x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2007-08-25Move all tda8275/8275a tuning code from tda8290 module into tda827x moduleMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Add analog tuning support to tda827x dvb_frontend tuner module. Convert tda8290 module back to native tuner interface. The tda8290 analog demodulator will be handled the same way as tda9887. The tuner.ko module (tuner-core) will pass commands to tda8290 via the tuner_operations interface. tda8290 will communicate with tda827x via the dvb_frontend interface, while passing a pointer to a private data structure. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/drivers/media/Kconfig | 1 linux/drivers/media/dvb/frontends/tda827x.c | 307 ++++++++++++++- linux/drivers/media/dvb/frontends/tda827x.h | 10 linux/drivers/media/video/tda8290.c | 566 +++++----------------------- linux/drivers/media/video/tda8290.h | 30 - linux/drivers/media/video/tuner-core.c | 16 6 files changed, 424 insertions(+), 506 deletions(-)
2007-10-24mt2131: replace comma with semicolon fixSteven Toth
From: Steven Toth <stoth@hauppauge.com> Semicolon fix. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-10-24s5h1409: Fix broken QAM supportSteven Toth
From: Steven Toth <stoth@hauppauge.com> This patch enables QAM Annex-B support (US digital cable) for the s5h1409 VSB/QAM demodulator. Tested successfully with the mt2131 tuner, present on the following supported boards: Hauppauge WinTV-HVR-1250 Hauppauge WinTV-HVR-1800 Hauppauge WinTV-HVR-1800lp This patch is also known to work with an upcoming XC5000 tuner driver. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-27fix typo in DVB_PLL Kconfig help textMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> s/driver/drives/1 Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-27Backed out changeset 09fea8806b2fMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch was wrong. A better changeset follows. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-26 dvb: Fix kconfig help textMauro Carvalho Chehab
From: Uwe Bugla <uwe.bugla@gmx.de> This patch corrects some broken English in Kconfig. Signed-off-by: Uwe Bugla <uwe.bugla@gmx.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-09-09dvb-pll: report whether input rf will be autoselected or set via insmod optionMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-09dvb-pll: always show pll name if forced via insmod optionMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The name of the pll will be shown if forced via insmod option, or if debug is enabled. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-07dvb-pll: add module option to force dvb-pll desc id (for debug use only)Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Add a module option to force the dvb-pll module to use an alternate dvb-pll description without having to recompile the kernel. Having a module option like this is useful in some cases, where the vendor may release an alternate revision of the hardware using a different tuner, but without changing the pci subsystem / usb device ids. This option is intended for debugging purposes _only_. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-09dvb-pll: increase DVB_PLL_MAX to 64Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Increased DVB_PLL_MAX from 16 to a figure that would never be reached in a practical sense. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-07dvb-pll: add module option to specify rf inputMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Add a module option to dvb-pll, called "input" to specify which rf input to use on devices with multiple rf inputs. If the module option is not specified, then the driver will autoselect the rf input, as per previous behavior. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-07dvb-pll: store instance ID in dvb_pll_priv structureMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Store an instance ID in the dvb_pll_priv structure, so that module options specific to a given pll may be used by the functions within the driver. When debug is turned on, print a message indicating which pll was attached and it's instance id. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-07dvb-pll: pass fe pointer into dvb_pll_configure() and set() functionsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The pll-specific set() function will need access to the dvb_pll_priv structure for new functionality. This patch gives access to this structure to the required functions. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-04Removed unused function mt2131_set_gpo()Steven Toth
From: Steven Toth <stoth@hauppauge.com> Unused code is removed. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-08-21Cleanup: remove linux/moduleparam.h from drivers/media filesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Since at least kernel 2.6.12-rc2, module.h includes moduleparm.h. This patch removes all occurences of moduleparm.h from drivers/media files. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-08-16compat: Add missing compat.hTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> dvb_ca_en50221.c and dvb-pll.c were missing compat.h, and they used kzalloc which is something that compat.h takes care of. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-08-11dvb-pll: Set minimum and maximum frequency properlyTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The tuner maximum frequency wasn't being set, while the minimum frequency was set to what the maximum should have been. The recent patch to enforce the limits effectively broken any tuner using dvb-pll. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-08-09Fix the min/max frequencies of some DVB-C frontendsOliver Endriss
From: Hartmut Birr <e9hack@googlemail.com> The min frequencies of the DVB-C frontends are wrong. In Europe, the center frequency of the lowest channel is 50.5MHz and not 51MHz. All known cards with the stv0297/tda0002x/ves1820 frontend are able to tune to this frequency. I've changed the range to the lowest channel - 1/2 bandwidth and the highest channel + 1/2 bandwidth. For the design of the dvb driver, the frequency ranges must be part of the tuner and not of the frontend itself. The same frontend may be used for different tuners. The attached patch does only fix the ranges and not the design. Signed-off-by: Hartmut Birr <e9hack@googlemail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-08-06tda8083: fix frequency and symbolrate infoOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> The TDA8083 supports a symbol rate from 12..30 MSym/s. The Grundig 29504-451 tuner uses the TDA8060 down-converter, which has a frequency range from 920..2200MHz. Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Thanks-to: Lars Buerding <lindvb@metatux.net>
2007-08-03merge: http://linuxtv.org/hg/~tap/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-31mt2131 s5h1409: correct frontend selection logicTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> If a card driver is compiled into the kernel and mt2131 or s5h1409 are compiled as modules, the kernel won't link. A compiled in driver can't use a module, so in this case the mt2131 or s5h1409 are effectively disabled w.r.t the compiled in driver and the stub attach function should be used. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Acked-by: Michael Krufky <mkrufky@linuxtv.org>
2007-07-31Module parameter description for SFN workaroundPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Thanks to Matt Doran I found that there the module parameter description was not OK. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2007-07-31Fix support for DiB7000M-devicesPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Forgot to initialize the timf_default field. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2007-07-31Add module parameter to enable SFN workaroundPatrick Boettcher
From: Matt Doran <matt.doran@papercut.biz> In some areas in the world the broadcasters are not using the same cellid for each transmitter in a SFN. The DiBcom has problems with that setup. The module parameter buggy_sfn_workaround makes it re-usable. Signed-off-by: Matt Doran <matt.doran@papercut.biz> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2007-07-30merge: http://www.linuxtv.org/hg/~stoth/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-30Add support for DiB7070-based devicesPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> This changeset adds support for DiB7070P-based devices by adding the dib0070-driver and putting the appropriate layouts into dib0700_devices.c It also includes a new firmware for the dib0700 which is necessary to make the DiB7070-boards work and it also should fix the i2c-problems on some boards. Signed-off-by: Jean-Philippe Sibers <jpsibers@dibcom.fr> Signed-off-by: Patrick Boettcher <pboettcher@dibcom.fr>
2007-07-29dvb-pll: make struct dvb_pll_fcv1236d staticMichael Krufky
From: Adrian Bunk <bunk@stusta.de> The fcv1236d support patch was created before the "dvb: remove static dependencies on dvb-pll" patch was applied, but the fcv1236d patch didn't get merged until after the fact. struct dvb_pll_fcv1236d can become static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-07-28whitespace cleanup for mt2131 and s5h1409Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - trivial whitespace cleanups - add "c-basic-offset: 8" to enforce tabbing style in emacs Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-07-27merge: http://linuxtv.org/hg/~endriss/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-27Sync with DiBcom Driver Release 2.1.3 + some improvementsPatrick Boettcher
From: Patrick Boettcher <pboettcher@dibcom.fr> This changesets syncs the OpenSource driver for DiBcom demodulators with version 2.1.3 of DiBcom reference driver. There were some improvements since the last release for linux-dvb, e.g.: - stepped AGC startup - less space for initialization - diversity synchronization Furthermore this changeset contains the following things: - latest AGC settings for MT2266-based devices (namely Nova-TD and other) will improve the sensitivity - support for STK7700D reference design in dib0700-devices - remove some line-breaks when debugging is enabled - getting rid of layer between frontend_parameters and ofdm_channel used in dib*-drivers Signed-off-by: Patrick Boettcher <pboettcher@dibcom.fr>
2007-07-24tda10023: Remove range check of symbol rateOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Remove incorrect range check of symbol rate, spotted by the coverity checker and reported by Adrian Bunk. These range checks are performed by dvb_core now. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-07-26Forgotten mt2266 files addedPatrick Boettcher
From: Olivier DANET <odanet@caramail.com> In the previous commit I forgot to add the mt2266 files Signed-off-by: Olivier DANET <odanet@caramail.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2007-07-25Add initial support for Dual-DVB-T stick based on DiB7700 and MT2266Patrick Boettcher
From: Olivier DANET <odanet@caramail.com> - Microtune MT2266 driver. - Preliminary support for these dual tuner devices : - Pinnacle Dual DVB-T diversity - Terratec Cinergy DT USB XS diversity - Hauppauge Nova TD USB Signed-off-by: Olivier DANET <odanet@caramail.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2007-07-16fix dst and cx24123: tune() callback changed signess for delayMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> tune() dvb_frontend callback changed delay signess: int (*tune)(struct dvb_frontend* fe, struct dvb_frontend_parameters* params, unsigned int mode_flags, - int *delay, + unsigned int *delay, This change caused warnings on cx24123 and dst modules: /home/v4l/master/v4l/cx24123.c:1034: warning: initialization from incompatible pointer type /home/v4l/master/v4l/dst.c:1782: warning: initialization from incompatible pointer type /home/v4l/master/v4l/dst.c:1808: warning: initialization from incompatible pointer type /home/v4l/master/v4l/dst.c:1837: warning: initialization from incompatible pointer type /home/v4l/master/v4l/dst.c:1860: warning: initialization from incompatible pointer type This patch corrects the function prototype on both modules to follow the core change. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-13stv0299: Fix signedness warning (gcc 4.1.1, kernel 2.6.22)Oliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Fix signedness warning (gcc 4.1.1, kernel 2.6.22). Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-07-02Fix v4l-dvb backward compatibilityMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Due to several internal API changes on kernel, kernel backward compatibility were lost. Basically, compat.h should be the last include for it to work properly. This patch basically reorders kernel headers to allow backward compat to work fine. Also: Some includes were added after some non-include macros, on old drivers. Better to keep all includes at the beginning of the files. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-01unexport dvb_pll_configureMichael Krufky
From: Adrian Bunk <bunk@stusta.de> Now that it's static, it should no longer be exported to modules... Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-06-24or51211: remove hardcoded fcv1236d tuner programmingMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - Remove hardcoded fcv1236d tuner programmming from or51211.c - Alter dvb-bt8xx for the pcHDTV-2000 to use dvb-pll for fcv1236d support. Thanks to Jarom Hatch <jshatch@gmail.com> for testing this change. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Cc: Jarom Hatch <jshatch@gmail.com>
2007-03-21s5h1409: use ARRAY_SIZE macro when appropriateMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Use ARRAY_SIZE macro already defined in kernel.h Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-07-28Adding support for the S5H1409/CX24227 8VSB/QAM demodulator.Steven Toth
From: Steven Toth <stoth@hauppauge.com> This patch adds support for the Samsung S5H1409 demodulator, also known as the Conexant CX24227 demodulator. 8VSB mode has been tested and QAM has been implemented based on the spec, although it's untested. The S5H1409 / CX24227 appears on various Hauppauge boards. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2007-07-28Adding support for the MT2131 tuner.Steven Toth
From: Steven Toth <stoth@hauppauge.com> This adds support for the Microtune MT2131 tuner. 8VSB mode has been tested but QAM support will likely require more register work. Hauppauge have not announced any QAM devices using the MT2131 so QAM remains undone. For legal reasons, Microtune allowed us to write a GPL driver providing we did not document in significant detail any of the registers. This explains the lack of comments or defined on register names. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2006-10-13dvb-pll: add support for Philips fcv1236dMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch adds support to the dvb-pll library for the Philips fcv1236d tuner, based on the FCV1236D datasheet. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>