summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/tda1004x.c
AgeCommit message (Collapse)Author
2006-04-19Fix tda10046 tuningAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> I'd missed the i2c gate ctrl function out of the tda10046, so tuning didn't work Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-18Convert tda1004x to refactored tuner codeAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Convert to tuner_ops calls. Remove pll function pointers from structure. Remove unneeded tuner calls. Add i2c gate control function. Remove europa specific hack (moved into appropriate card driver) Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-03-30Fix budget-av CAM resetAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Unfortunately on the budget-av board, the CAM reset line is tied to the frontend reset line, so resetting the CAM also zaps the frontend. This breaks the tda1004x at least, and causes it to fail to tune until the budget-av module is reloaded. This patch adds an exported function to dvb_frontend that allows a card to forcibly reinitialise a frontend. The budget-av now does this on CAM reset, which corrects this problem. Note: other CA interface implementations (e.g. budget-ci) do not need this since they do not tie the CAM reset line to the frontend reset line. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-02-03TDA10046 Driver updateHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> - Set outputs to tristate in sleep mode - Reduce dangerously high firmware download speed with 16MHz xtal - added tda827x configuration with GPIOs low - added comments to stupid looking IIC reads that work around bugs in the tda10046. - some minor updates Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2005-12-27make the firmware dir documentation and comments consistent in the v4l-dvb tree.Michael Krufky
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-11-26Whitespaces cleanups.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-07[PATCH] fix missing includesMichael Krufky
I recently picked up my older work to remove unnecessary #includes of sched.h, starting from a patch by Dave Jones to not include sched.h from module.h. This reduces the number of indirect includes of sched.h by ~300. Another ~400 pointless direct includes can be removed after this disentangling (patch to follow later). However, quite a few indirect includes need to be fixed up for this. In order to feed the patches through -mm with as little disturbance as possible, I've split out the fixes I accumulated up to now (complete for i386 and x86_64, more archs to follow later) and post them before the real patch. This way this large part of the patch is kept simple with only adding #includes, and all hunks are independent of each other. So if any hunk rejects or gets in the way of other patches, just drop it. My scripts will pick it up again in the next round. Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-11-02 - fixed oddities at firmware downloadHartmut Hackmann
- more tolerant vs crystal frequency offset - lower sampling clock Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t.online.de>
2005-09-12strip trailing whitespaceMichael Krufky
2005-09-11- leave I2C bride open at pll_sleep to support Philips EUROPA based cards.Hartmut Hackmann
- give an error message if the communication with the pll fails. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2005-07-24Fix SNR readingAndrew de Quincy
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2005-06-13- added preliminary support for tda827x tunersHartmut Hackmann
- set parameters for drift compensation to 0 makes no sense for DVB-T but can prevent lock Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2005-05-28add missing release_firmware() calls to fix memory leakJohannes Stezenbach
Signed-off-by: Anssi Hannula <anssi.hannula@gmail.com>
2005-05-23bugfix: limit for firmware version check was too low for tda10045Hartmut Hackmann
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2005-05-18- added config options for IF frequency and AGCHartmut Hackmann
- support DSP boot from on board eeprom - added pll sleep call
2005-04-25added support for different tda10046 firmware versions.Andreas Oberritter
tested with v20, v21 and v25.
2005-04-25allow N_I2C to be overridden by the card driverAndreas Oberritter
2005-03-26mostly formatting cleanups, no functional changeAndreas Oberritter
2005-03-09 - kfree(NULL) is safeKenneth Aafloy
2005-03-02whitespace cleanup (remove ws at eol, sync with changes in mainline kernel)Johannes Stezenbach
2005-01-25clarify firmware upload messagesJohannes Stezenbach
2004-12-02Forgot to include tune_settings for tda1004xAndrew de Quincy
2004-11-20Fixed firmware upload problems.Andrew de Quincy
2004-11-20Added setting to allow inversion of OCLKAndrew de Quincy
2004-11-19Only hardcode to AUTO for tda10045Andrew de Quincy
2004-11-09Fixed chipid for tda10046Andrew de Quincy
2004-11-09Forgot to unset initialised flag after sleepAndrew de Quincy
2004-10-28Imported FE_REFACTORING to HEADAndrew de Quincy
2004-08-26Added comment about forcing AUTO on 'cos of TDA10045 problemsAndrew de Quincy
2004-08-26Update everything to point to the new firmware download scriptAndrew de Quincy
2004-08-24- replace dvb_unregister_frontend_new() with dvb_unregister_frontend()Michael Hunold
2004-08-18- forgot to remove all occurences of "#include "dvb_functions.h" which is ↵Michael Hunold
included just everywhere - remove dvb_i2c.[ch], it's not needed anymore - rename dvb_register_frontend_new() to dvb_register_frontend() -
2004-08-18- nuke dvb functions stuffMichael Hunold
2004-07-31merge back various cleanups from mainline kernel:Johannes Stezenbach
- sparse annotiations (viro) - NULL noise removal (viro) - #if where #ifdef should've been (saa7146) (viro) - convert private ABS() to kernel's abs() (rddunlap) - dvb_register_i2c_device() locking fix for -ENOMEM (akpm) - dvb_register_i2c_bus() locking fix for -ENOMEM (akpm)
2004-07-17 - Add missing #include <linux/moduleparam.h>Kenneth Aafloy
2004-07-16 - Adding I2C_DRIVERID for all frontends to dvb_i2c.hKenneth Aafloy
- dvb_dummy_fe conversion to Kernel I2C - Conversion from deprecated MODULE_PARM* to module_param* - Adding/renaming existing *debug* parameter to debug. - Common naming scheme for debug/I2C: dvbfe_*
2004-07-15reject code_rate_LP == FEC_NONE with EINVALJohannes Stezenbach
2004-07-12 - Properly lock the frontend module on open/close.Kenneth Aafloy
- Remove module ref count changes to av7110 and budget-core, as they did not do the right thing.
2004-05-13- change default fw name to tda1004x.bin until someone comes up with a ↵Michael Hunold
better name - change the error message
2004-05-05#include <linux/device.h> to fix compile warningJohannes Stezenbach
2004-05-04- restructured firmware loadingMichael Hunold
- code cleanup - whitespace and comment cleanup
2004-05-04- compile fix, remove debugging printkMichael Hunold
2004-05-04- code cleanup, no functional changesMichael Hunold
2004-05-04- fixed and tested firmware loading. works like this if you want to do it by ↵Michael Hunold
hand: TT Budget-CI with tda10045h: mount -t sysfs none /sys/ echo "255" > /sys/class/firmware/timeout depmod -ae;modprobe budget-ci;modprobe tda1004x <change to another console> cd /sys/class/firmware/0-0008/ echo "1" > loading ; cat /tmp/tda1004x.bin > data ;echo "0" > loading
2004-05-03- fix include file order in ttpci-driverMichael Hunold
- convert tda1004x driver to kernel i2c, implement untested firmware loading
2004-05-01revert last change, errno is needed for __KERNEL_SYSCALLS__Johannes Stezenbach
2004-05-01- remove unused "errno" variableMichael Hunold
2004-04-23Updated timeout to 800ms at suggestion from Damian IvereighAndrew de Quincy
2004-03-24Implemented FE_SLEEPAndrew de Quincy
2004-03-14Converted 8space->1tabs (formatting)Andrew de Quincy