summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/ves1820.c
AgeCommit message (Collapse)Author
2006-04-18Convert ves1820 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. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2005-11-21From: Denis Vlasenko <vda@ilport.com.ua>Johannes Stezenbach
Remove stray semicolons after if (foo); in ves1820_set_symbolrate(). Signed-off-by: Denis Vlasenko <vda@ilport.com.ua>
2005-07-24Reset acgconf register after tuning to improve locking, as suggestedJohannes Stezenbach
by Marco Schluessler. Minor cleanups in ves1820_init(). Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2005-04-07 - remove msleep(10) in writereg (suggested by Tony Glader)Kenneth Aafloy
2005-04-05 - remove unnecessary casts in frontendsKenneth Aafloy
2005-03-09 - kfree(NULL) is safeKenneth Aafloy
2005-03-02whitespace cleanup (remove ws at eol, sync with changes in mainline kernel)Johannes Stezenbach
2004-11-16 - MODULE_PARM -> module_paramKenneth Aafloy
2004-10-28Imported FE_REFACTORING to HEADAndrew 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-08-18- remove dvb i2c code (all drivers are ported to kernel i2c)Michael Hunold
- remove dvb i2c frontend (un)register code (all drivers use non-i2c frontend calls now) - add i2c driver ids for all frontends to dvb_frontend.h (should be submitted to i2c-id.h) - fix usage of i2c driver ids in dst, ves1x93, nxt6000 drivers - remove dvb i2c functionality from av7110 and budget drivers - remove dvb i2c functionality from Skystar2 driver - fix up kernel Makefile - add a FE_ATSC case to avoid compiler warning (print warning message instead)
2004-08-18- don't invent new return codes, but pass through the return code of the ↵Michael Hunold
function that failed
2004-08-09- add back per-device pwm setting support, now done via sysfs attributesMichael Hunold
1. Locate the pwm setting > find /sys/|grep "pwm" /sys/devices/platform/i2c-0/0-0061/pwm 2. Set your desired value echo "0x5c" > /sys/devices/platform/i2c-0/0-0061/pwm 3. Read the current value more /sys/devices/platform/i2c-0/0-0061/pwm
2004-08-09- convert to kernel i2cMichael Hunold
- whitespace and coding style cleanup - temporarily removed the possibility to set the initial pwm value via module parameters
2004-05-03Overhaul frontend i2c subsystem because of the recent discussion aboutMichael Hunold
the usage of the syscall interface to load binary firmware used by some frontend drivers. - add dvb_register_frontend_new() and dvb_unregister_frontend_new() which register a frontend driver using the kernel i2c interface instead of the dvb i2c interface. - register kernel i2c interface in av7110/budget driver properly - port stv0299 and ves1x93 to kernel i2c api Other DVB drivers and frontend drivers still can use the old DVB i2c interface.
2004-03-11Checked in experimental frontend patchAndrew de Quincy
Also some minimal budget-ci CI support implemented (just detection+IRQs)
2004-03-01remove FE_CAN_RECOVER as suggested by Torbjörn JanssonJohannes Stezenbach
2004-02-15- change AFC handling as suggested by Robert SchlabbachJohannes Stezenbach
- use bit 1 of the SYNC register for FE_HAS_SIGNAL
2004-02-15verbose-print AFC only if carrier has been recoveredJohannes Stezenbach
2004-02-13turn off ves1820 test output pins (don't know if this makesJohannes Stezenbach
any difference, but why have them turned on if nothing is connected to them?)
2004-02-07gcc-3.5 compatibilty patch from 2.6.3-rc1Johannes Stezenbach
2003-12-20increase mdelay from 30 to 50 to be more reliable with bad reception qualityAndreas Oberritter
2003-11-27- completed nokia board supportAndreas Oberritter
- increased delay before inversion change to 30ms to get constant results - added 30ms delay after FE_SET_FRONTEND for quick and stable tuning. don't know why it is that much faster with it, I noticed it by pure luck after adding a printk which delayed for about 4 jiffies. ;) maybe it avoids a bug or delay in some other part of the code (maybe dvb_frontend.c?). feedback by pci card users would be appreciated. - changed a c++ comment to c style
2003-11-27- set default pwm value to 0x48 for boards which don't have an eeprom at i2c ↵Andreas Oberritter
address 0x50 instead of using a random value of an uninitialized local variable. - don't bail out if no tuner could be detected, for compatibility with boards which don't have a tuner on the same bus as the demod.
2003-10-08- allow private data to be associated with i2c devicesAndreas Oberritter
- fixed some return values in i2c device attach functions
2003-09-24allow PWM (tuner calibaration) value from EEPROM to be overriddenJohannes Stezenbach
on command line (based on patch by Peter Bieringer) New module paramters: "pwm" (max 4 ints, range -1..0xff) and "verbose" (to print AFC value aftger tuning).
2003-09-24- patch by Peter Bieringer: nicer log outputJohannes Stezenbach
- removed whitespace at eol
2003-09-10C99 initializer fixes backported from 2.6.0-test5Michael Hunold
2003-08-21Patch from Lauri Pesonen: Use correct IF for TT-Budget card.Johannes Stezenbach
2003-06-19use Robert's suggestions for CLKCONF (0x03) and CARCONF (0x04)Holger Waechtler
please test in your local networks and report problems
2003-06-18When I submitted the last patchset for the 2.5 kernel series,Michael Hunold
Alan Cox reformatted the code to follow his coding style when he fixed the merge bugs. This patch now introduces these coding style changes, so that we don't wipe out his changes with the next patchset.
2003-05-27fixed c99 initializersAndreas Oberritter
2003-05-27- remove enumeration typedefsMichael Hunold
- change some includes
2003-05-27Use C99 initializers.Michael Hunold
2003-05-20changed AFC debug printk to output frequency offset in HzJohannes Stezenbach
2003-05-19patch from Jaakko Hyvatti http://hyvatti.iki.fi/~jaakko/dvb/dvb7.diffJohannes Stezenbach
to implement FE_GET_FRONTEND
2003-05-19more 64bit compile time warning fixesHolger Waechtler
2003-05-19apply patch by <jaakko@hyvatti.iki.fi> to distinguish different PLL/SynthesizerHolger Waechtler
combinations used by Siemens and Technotrend on their DVB-C cards
2003-05-13patch from Jaakko Hyvatti http://hyvatti.iki.fi/~jaakko/dvb/dvb6.diff:Johannes Stezenbach
- Makes zigzag to not change frequency for DVB-c at all. It only resets the parameters over and over again. - The IF of 35937500 might be better to be 36000000. This might be what the card designer meant. My card shows the AFC fine tuning offset to be closest to zero with 35937500 (one step below 36MHz). Some other cards might be different. I have not heard of any complaints about my patch not working for someone in this respect. - Has anyone ever tested this auto inversion thing? DVB-c is far too slow to tune and lock for this auto inversion code to work. Therefore you need to manually set it. Maybe zigzag changes above allow the auto inversion to work. - QAM registers have been tweaked to non-specification values. I do not know if someone has counterexamples, but this works for a lot of people.
2003-04-30- introduce dvb_functions.h in order to make the dvb subsystemMichael Hunold
less dependent on the linux kernel. here is the place to store additional dvb_* functions, which encapsulate linux kernel functionality which cannot be expressed as a one-liner - rename ddelay() to dvb_delay(), move it to dvb_functions.h - change all files to include dvb_functions.h instead of dvb_compat.h - compile fix for the saa7111 driver
2003-04-26Revert ddelay() cleanup, discuss this first with Holger.Michael Hunold
2003-04-25Lots of cosmetic changes in order to sync the CVS withMichael Hunold
the version that made it into the 2.5.68 kernel. - remove unnecessary c++-style comments - fixed some line breaks and the style function headers are formatted: please don't argue with me about these changes, I don't care how they are formatted. - remove newline breaks between memory allocation and the return value check Some more interesing stuff: - remove ddelay() functions completly, replace with set_current_state() and manual schedule_timeout() calls. - made some init data for the mxb driver static and global (patch already send to lkml) Some crucial changes: - inherit some return values Mr. Alan Cox has changed -- please review
2003-04-24- #include "compat.h" --> #include "dvb_compat.h"Holger Waechtler
- return POLL_ERR in case of filter timeout
2003-04-20moved definition of XIN to topAndreas Oberritter
2003-03-22more portability, now frontend modules build out of the boxHolger Waechtler
2003-03-21- more portability changes, move ddelay() into compat.hHolger Waechtler
- introduce kernel_thread_setup() function to encapsulate linux process model related stuff
2003-03-19add a flag FE_CAN_RECOVER to frontend capabilities. When you set this flagHolger Waechtler
kdvb-fe won't try to tune multiple times, it won't try to zigzag, nothing.
2003-03-12setup correct IF, reported by Dennis Noordsij <dennis.noordsij@wiral.com>Holger Waechtler
- div = (freq + 36250000 + 31250) / 62500; + div = (freq + 36125000 + 31250) / 62500;