[media] r820t: Add a tuner driver for Rafael Micro R820T silicon tuner
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 5 Apr 2013 17:35:18 +0000 (14:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 17 Apr 2013 00:18:42 +0000 (21:18 -0300)
commita80abc58feda48f868d748bde8c88592c2892b1d
tree69f6babbe159e0d0da96ad363553e407496c190c
parent098af4bde09792314ff106f545c405ffc5942c25
[media] r820t: Add a tuner driver for Rafael Micro R820T silicon tuner

This driver was written from scratch, based on an existing driver
that it is part of rtl-sdr git tree, released under GPLv2:
https://groups.google.com/forum/#!topic/ultra-cheap-sdr/Y3rBEOFtHug
https://github.com/n1gp/gr-baz
http://cgit.osmocom.org/rtl-sdr/plain/src/tuner_r820t.c
(there are also other variants of it out there)
>From what I understood from the threads, the original driver was converted
to userspace from a Realtek tree. I couldn't find the original tree.
However, the original driver look awkward on my eyes. So, I decided to
write a new version from it from the scratch, while trying to reproduce
everything found there.
TODO:
- After locking, the original driver seems to have some routines to
  improve reception. This was not implemented here yet.
- RF Gain set/get is not implemented.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Tested-by: Antti Palosaari <crope@iki.fi>
drivers/media/tuners/Kconfig
drivers/media/tuners/Makefile
drivers/media/tuners/r820t.c [new file with mode: 0644]
drivers/media/tuners/r820t.h [new file with mode: 0644]