Signal strength threshold for hardware seek

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux