summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
AgeCommit message (Collapse)Author
2008-03-09Make delivery system standalone.Manu Abraham
Eventhough the delivery system is made standalone, DVBFE_SET_DELSYS needs to be set as the very first operation, for a multistandard frontend Splitting delivery system out as a new ioctl, makes things a bit more easier to understand. From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2008-03-05Optimizations galore: Blistering barnacles! The KNC1 and friendsManu Abraham
like 90 Mhz clock much better rather than running at a higher throttle, for almost similar hardware. he exact cause unknown, possibly due to a lower voltage applied for the demod power supply. From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2008-03-01Code SimplificationManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2008-02-24We can now reduce the debug levels, just need to look at errors only.Manu Abraham
(Hope so) From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2008-02-24Bugfix: gate control needs to be handledManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2008-02-04Optimization, Fix a BugManu Abraham
* cut down some I/O operations by disabling "disable gate" * budget_av was left with the gate open, thereby more susceptible to RF interference due to I/O operations From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2008-01-26Cleanup: remove some superfluous stuff and dead commented out codeManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2008-01-26Fix a compile warningManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2008-01-26Cleanup/Optimization:Manu Abraham
* Fix compile warnings * The compile warnings helped to identify 2 unnecessary I/O operations From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2008-01-26Fix invalid GCT modeManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2008-01-26Bug! F/3 Clock domain was incorrectly usedManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2008-01-26Code Review: #4 Consolidate configurationsManu Abraham
* Better readability * Avoids duplication Comments from Oliver Endriss <o.endriss@gmx.de> From: Manu Abraham <manu@linuxtv.org> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2008-01-21Code Simplification: use do_div() insteadManu Abraham
From: Reinhard Nissl <rnissl@gmx.de> Signed-off-by: Reinhard Nissl <rnissl@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2008-01-21Bug: a string which contains 4 digits needs an arrayManu Abraham
of size 5. The fifth character will hold the terminating '\0' From: Reinhard Nissl <rnissl@gmx.de> Signed-off-by: Reinhard Nissl <rnissl@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2008-01-21Optimization: Round the requested value to achieve aManu Abraham
+/-1MHz error instead of +0/-2MHz From: Reinhard Nissl <rnissl@gmx.de> Signed-off-by: Reinhard Nissl <rnissl@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2008-01-19Bug Fix an overflow in bandwidth calculationManu Abraham
From: Reinhard Nissl <rnissl@gmx.de> Signed-off-by: Reinhard Nissl <rnissl@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2008-01-18Bug: Bandwidth calculation at upper and lower boundariesManu Abraham
From: Reinhard Nissl <rnissl@gmx.de> Signed-off-by: Reinhard Nissl <rnissl@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2008-01-18Initialize post process events to NULLManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2008-01-18Bug: Bandwidth calculationManu Abraham
Bug #1: The 5 tap equaliser is set to correct simple perturbations like reflections on the IF cable for DVB-S. In the case of DVB-S2 a more powerful equalizer is used to correct the filter group delay allowing the bandwidth to be reduced by a factor of 1/3 Bug #2: The ZIF tuner takes badwidth to be set in Hz From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-11-19Revert back previous change to 90MHzManu Abraham
Note: * At High Symbol Rates we do not have enouph machine cycles to handle the incoming symbols and hence might run into problems at the very end of the specified definition * Most of the equations have been calculated for a master clock of 99 MHz, running at 90MHz, raises lot of issues such as the need to recalculate all of them , which is eventually very painful. From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-11-10Code simplification: clock is already initialized,Manu Abraham
no need to initialize again. Thanks to Marko Schluessler <marco@lordzodiac.de> for pointing it out From: Manu Abraham <manu@linuxtv.org> Signed-off-by: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-11-10Bug in previous commitManu Abraham
From: Arvo Jarve <arvo@softshark.ee> Signed-off-by: Arvo Jarve <arvo@softshark.ee> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-11-10Bug! SFRL nibble got swappedManu Abraham
The Bug was found by Arvo Jarve <arvo@softshark.ee> It was a wonder how it worked in the case with this bug, STM verified this that this nibble was in fact insignificant and can be ignored. But still we need to fix all inconsistencies. From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-11-10Bug! RTF is signedManu Abraham
From: Arvo Jarve <arvo@softshark.ee> Signed-off-by: Arvo Jarve <arvo@softshark.ee> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-11-01Disable Symbol rate auto scan featureManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-10-31Fix a typo in the previous commitManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-10-31Add post process interfacesManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-10-30Limit bandwidth with a 3dB response fallManu Abraham
In this case, we will be sure that there exists a carrier and the center frequency would be simply f1 - f2. In such a circumstance, the TR loop is simplified to doing a simple check for timing, rather than searching for the same. From: Arvo Jarve <arvo@softshark.ee> Signed-off-by: Arvo Jarve <arvo@softshark.ee> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-10-30BUG! Setting CRL parameter overwrote the CR Algorithm type,Manu Abraham
eventually leading to wrong search algorithm to be employed in the DVB-S carrier loop optimization. Symptom: Once the CR optimization stage is passed either way, in a successful or failed manner, the very next carrier search will fail, due to no Carrier Search Algorithm specified. From: Arvo Jarve <arvo@softshark.ee> Signed-off-by: Arvo Jarve <arvo@softshark.ee> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-10-24Fix: assignment of wrong valuesManu Abraham
From: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-10-19Code simplification: Sleep only for the required time interval.Manu Abraham
* Saves 70 mS LOCK time on the STB6100 based * Saves 100 mS LOCK time on the TDA8261 based From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-10-18missing breakManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-10-15Though insignificant, removes an unnecessary read of the LOCK_LOSS register,Manu Abraham
which should have happenend in the DVB-S2 mode only, but reading it as it is for the other delivery systems causes nothing to say but LOCK_LOST, which just causes confusion amongst users. From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-10-10return invalid for invalid parametersManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-10-09Bug: unnecessary large current causes large phasor errorsManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-10-09DVB_ATTACH for STB0899, STB6100, TDA8261Manu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-10-09DVB_ATTACH for STB0899, STB6100, TDA8261Manu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-10-06Hmmph, a proper calculation broke the working behaviour.Manu Abraham
Need some thoughts, temporary for now .. From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-10-05Bug: DiSEqC receiver was trying to initialize the transmitterManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-10-05Initialize DiSEqCManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-10-05Bug: Set Auxilliary Clock Register correctlyManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-10-05Bug! Timing recovery was calculated for 99MHz not 90 MHzManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-09-29Debug: We need to check for tuner LOCK LOSS,Manu Abraham
especially in the case of simple PLL's From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-09-27Optimizations Reduce capture range from 10MHz to 3MhzManu Abraham
* Reduces szapping time a lot * increased stability at Low Symbol rates * overall increases reliability in tuning From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-09-25TT S2 3200 shouldn't need Inversion ON and Inversion AUTO at the same timeManu Abraham
This is a racy situation. Inversion is default OFF on the TT S2 3200 hardware, unlike the KNC1 where it is default Inverted From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-09-25Code SimplificationManu Abraham
Use an enumeration for I/Q Swap rather than an int, easier to spot the nasty ones From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-09-25Code SimplificationManu Abraham
The 2 callbacks created nothing more than confusion From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-09-24Fix bug obviously, some enhancements as wellManu Abraham
* enable i2c_gate before doing any transaction * read is one single message with 2 words * reduce sleep from 100mS to 20mS From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-09-23Really silly! Disabled all clocks and expected it to run.Manu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-09-23Add initial support forManu Abraham
* KNC1 DVB-S2 Plus * KNC1 DVB-S2 OEM (known as Satelco DVB-S2) From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>