All of lore.kernel.org
 help / color / mirror / Atom feed
* Signal strength threshold for hardware seek
@ 2011-10-07  2:41 Maarten ter Huurne
  0 siblings, 0 replies; only message in thread
From: Maarten ter Huurne @ 2011-10-07  2:41 UTC (permalink / raw)
  To: linux-media

Hi,

I'm writing a V4L2 driver for the RDA5807 FM receiver chip. This chip has 
hardware seek capability where it will search for a frequency on which the 
signal level is above a configurable threshold. I am wondering what would be 
the best way to configure that threshold in the driver:

a. Use a fixed hardcoded value?
b. Use a fixed value specified in the platform data?
c. Use a fixed value specified as a module parameter?
d. Add a control for it? (a CID would have to be added)
e. Add a field for it in struct v4l2_hw_freq_seek?

Since I'm pretty new at V4L2 and options d and e would introduce new 
interface elements, I could use some guidance.


If anyone is interested, the work in progress can be found here:

http://projects.qi-hardware.com/index.php/p/qi-kernel/source/tree/
  jz-3.0/drivers/media/radio/radio-rda5807.c

It has sufficient functionality to support playback and scanning using 
fmtools 2.0.1, but it needs more functionality and some cleanup before I can 
submit it for inclusion in the mainline kernel.

Bye,
		Maarten


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-07  2:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-07  2:41 Signal strength threshold for hardware seek Maarten ter Huurne

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.