summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
AgeCommit message (Collapse)Author
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>
2007-09-22cache last successful stateManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2008-10-24Add TDA8261 to buildManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-09-22initial go at TDA8261 tunerManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-09-22Register definition bugsManu Abraham
From: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-09-22Offset Freq has been set in regManu Abraham
From: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-09-22Use kzalloc instead of kmallocManu Abraham
From: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-09-22Reference Clock is in kHzManu Abraham
From: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-07-02FIX: Write to the correct registerManu Abraham
Thanks to Marko Schluessler <marco@lordzodiac.de> for pointing it out From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-07-02FIX: Add in missing inversion (should be ideally in the config struct)Manu Abraham
Thanks to Marco Schluessler <marco@lordzodiac.de> for pointing it out From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-07-02FIX: reading from wrong registersManu Abraham
From: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2007-07-02FIX: register value is not reset to 0 after writeManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>