public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Maarten ter Huurne <maarten@treewalker.org>
To: linux-media@vger.kernel.org
Subject: Signal strength threshold for hardware seek
Date: Fri, 07 Oct 2011 04:41:18 +0200	[thread overview]
Message-ID: <1428635.yHD7DEIEQt@hyperion> (raw)

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


                 reply	other threads:[~2011-10-07  2:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1428635.yHD7DEIEQt@hyperion \
    --to=maarten@treewalker.org \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox