Manu Abraham
3d16d19eff
V4L/DVB (9425): Initialize at 90MHz itself
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:19 -02:00
Manu Abraham
e0a28c95af
V4L/DVB (9424): Deviation from the reference, pullup is 12k instead
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:19 -02:00
Manu Abraham
c1f0ce2228
V4L/DVB (9423): Though insignificant, removes an unnecessary read of the LOCK_LOSS register,
...
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.
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:18 -02:00
Manu Abraham
0867f57185
V4L/DVB (9422): Bug: Fix a typo
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:18 -02:00
Manu Abraham
6efb0ffe09
V4L/DVB (9421): We must wait for the PLL to stabilize
...
Thanks to Peter for the in depth explanation
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:18 -02:00
Manu Abraham
417dd69de8
V4L/DVB (9420): return -EINVAL for invalid parameters
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:18 -02:00
Manu Abraham
cf6efeb670
V4L/DVB (9419): Bug: unnecessary large current causes large phasor errors
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:18 -02:00
Manu Abraham
6199ceef8b
V4L/DVB (9418): DVB_ATTACH for STB0899, STB6100, TDA8261
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:18 -02:00
Manu Abraham
ae9902da96
V4L/DVB (9417): DVB_ATTACH for STB0899, STB6100, TDA8261
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:18 -02:00
Manu Abraham
e0ee77acb1
V4L/DVB (9416): Hmmph, a proper calculation broke the working behaviour.
...
Need some thoughts, temporary for now ..
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:18 -02:00
Manu Abraham
6c1022cbc8
V4L/DVB (9414): Initialize DiSEqC
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:18 -02:00
Manu Abraham
baa40e48d9
V4L/DVB (9413): Bug: Set Auxilliary Clock Register correctly
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:17 -02:00
Manu Abraham
b11eb46344
V4L/DVB (9412): Fix tuner name and comment
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:17 -02:00
Manu Abraham
3479474b36
V4L/DVB (9411): Bug! Timing recovery was calculated for 99MHz not 90 MHz
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:17 -02:00
Manu Abraham
c14eaedd6c
V4L/DVB (9410): Bug: Missing reference clock definition
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:17 -02:00
Manu Abraham
aa4a9e1ae0
V4L/DVB (9409): Bug! inverted logic
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:17 -02:00
Manu Abraham
f6e6382764
V4L/DVB (9408): tda8261: check status to avoid lock loss
...
We need to check for tuner LOCK LOSS, especially in the case of simple PLL's
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:17 -02:00
Manu Abraham
d98c02859f
V4L/DVB (9407): Optimizations Reduce capture range from 10MHz to 3Mhz
...
* Reduces szapping time a lot
* increased stability at Low Symbol rates
* overall increases reliability in tuning
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:17 -02:00
Marko Schluessler
421b2970d2
V4L/DVB (9406): Really silly bug, setting bandwidth into frequency
...
probably should stop fiddling with code late nights. :-(
Thanks to Marco for pointing it out and fixing it.
Signed-off-by: Marko Schluessler <marco@lordzodiac.de >
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:17 -02:00
Manu Abraham
e99d00cb17
V4L/DVB (9405): Practical tests show that the TT S2 3200 has I/Q inputs inverted, similar to the KNC1.
...
Don't have this hardware and cannot verify this for myself, but from the reports this
looks to be quite a reasonable and correct hypothesis.
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:17 -02:00
Manu Abraham
7dd82f7473
V4L/DVB (9404): the KNC1 and clones also don't have the I/Q inputs swapped
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:16 -02:00
Manu Abraham
6ea223c20d
V4L/DVB (9403): Fix the CA module not working issue
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:16 -02:00
Manu Abraham
b48e2de3b2
V4L/DVB (9402): TT S2 3200 shouldn't need Inversion ON and Inversion AUTO at the same time
...
This is a racy situation.
Inversion is default OFF on the TT S2 3200 hardware,
unlike the KNC1 where it is default Inverted
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:16 -02:00
Manu Abraham
ecdec31180
V4L/DVB (9401): Code Simplification
...
Use an enumeration for I/Q Swap rather than an int,
easier to spot the nasty ones
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:16 -02:00
Manu Abraham
db1d3b80b3
V4L/DVB (9400): stb6100: Code Simplification
...
The 2 callbacks created nothing more than confusion
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:16 -02:00
Manu Abraham
a55bc84855
V4L/DVB (9399): some cleanups at budget-ci
...
Still messing up:
* Cleanup
* Use KNC1's default settings to startup with
* Add in tuner wrapper calls
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:16 -02:00
Marko Schluessler
9e0dc6606a
V4L/DVB (9398): Initial support for the Technotrend TT S2 3200
...
Signed-off-by: Marko Schluessler <marco@lordzodiac.de >
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:16 -02:00
Manu Abraham
c7d85a2deb
V4L/DVB (9397): fix some bugs at tda8261
...
Fix bug obviously, some enhancements as well
* enable i2c_gate before doing any transaction
* read is one single message with 2 words
* reduce sleep from 100mS to 20mS
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:16 -02:00
Manu Abraham
de29eb8259
V4L/DVB (9396): Fix clocks at stb0899
...
Really silly! Disabled all clocks and expected it to run.
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:16 -02:00
Manu Abraham
41e1151b33
V4L/DVB (9395): Add initial support for two KNC1 DVB-S2 boards
...
Add initial support for:
* KNC1 DVB-S2 Plus
* KNC1 DVB-S2 OEM (known as Satelco DVB-S2)
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:15 -02:00
Manu Abraham
0b8f15dceb
V4L/DVB (9394): cache last successful state
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:15 -02:00
Manu Abraham
654dbad45d
V4L/DVB (9393): Add TDA8261 to build
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:15 -02:00
Manu Abraham
00360205b9
V4L/DVB (9392): initial go at TDA8261 tuner
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:15 -02:00
Marko Schluessler
43498ade8a
V4L/DVB (9391): Register definition bugs
...
Signed-off-by: Marko Schluessler <marco@lordzodiac.de >
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:15 -02:00
Marko Schluessler
08bcdbec68
V4L/DVB (9390): Offset Freq has been set in reg
...
Signed-off-by: Marko Schluessler <marco@lordzodiac.de >
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:15 -02:00
Marko Schluessler
a18d43156a
V4L/DVB (9389): Use kzalloc instead of kmalloc
...
Signed-off-by: Marko Schluessler <marco@lordzodiac.de >
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:15 -02:00
Marko Schluessler
3e3263e665
V4L/DVB (9388): Reference Clock is in kHz
...
Signed-off-by: Marko Schluessler <marco@lordzodiac.de >
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:15 -02:00
Manu Abraham
57ad94a635
V4L/DVB (9387): FIX: Write to the correct register
...
Thanks to Marko Schluessler <marco@lordzodiac.de > for pointing it out
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:15 -02:00
Manu Abraham
d189f3ef9e
V4L/DVB (9386): FIX: Add in missing inversion (should be ideally in the config struct)
...
Thanks to Marco Schluessler <marco@lordzodiac.de > for pointing it out
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:14 -02:00
Manu Abraham
381d804703
V4L/DVB (9384): FIX: register value is not reset to 0 after write
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:14 -02:00
Manu Abraham
bb29cc6ffa
V4L/DVB (9383): Let's neither sleep nor wakeup for now
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:14 -02:00
Manu Abraham
795b72b21a
V4L/DVB (9382): Use a delay for tracking acquisition status
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:14 -02:00
Manu Abraham
54c358fc23
V4L/DVB (9381): On the KNC1 cards the CLOCK is clamped to a maximum limit of 90MHz, eventhough
...
not limited in hardware, this causes instabilities at a higher clock due to
issues such as thermal, also the divider wraps around, which causes the
demodulator core to actually run at a lower frequency. This needs to be
empirically tested whether it affects other cards. If found necessary, this
parameter needs to be moved out to the config struct such that it can be made
hardware dependant.
Reducing the CLOCK from 99MHz to 90MHz improved the acquisition time taken on
the KNC1 cards and hence such a change.
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:14 -02:00
Manu Abraham
b797c20616
V4L/DVB (9380): FIX: a possible division by zero
...
Thanks to Marko Schluessler <marco@lordzodiac.de >
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:14 -02:00
Manu Abraham
b3332a983d
V4L/DVB (9379): FIX: fix a bug in the charge pump setting
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:14 -02:00
Manu Abraham
040dcc3e51
V4L/DVB (9378): Add STB6100 Support
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:14 -02:00
Manu Abraham
c46b656210
V4L/DVB (9377): Add STB6100 Support
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:14 -02:00
Manu Abraham
e50e8e3338
V4L/DVB (9376): Add STB0899 to build
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:13 -02:00
Manu Abraham
8bd135bab9
V4L/DVB (9375): Add STB0899 support
...
Signed-off-by: Manu Abraham <manu@linuxtv.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:13 -02:00
Mauro Carvalho Chehab
f71f11ed46
V4L/DVB (9367): Move lgdt3304 driver to the proper place and allow it to compile
...
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2008-12-29 17:53:13 -02:00