linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steve Kerrison <steve@stevekerrison.com>
To: linux-media@vger.kernel.org
Cc: Antti Palosaari <crope@iki.fi>
Subject: Re: comments for DVB LNA API
Date: Tue, 10 Jul 2012 17:42:34 +0100	[thread overview]
Message-ID: <4FFC5B7A.5060708@stevekerrison.com> (raw)
In-Reply-To: <4FFC5B4E.8080903@stevekerrison.com>

Hi Antti,

On 10/07/12 17:20, Antti Palosaari wrote:
> I am looking how to implement LNA support for the DVB API.
>
> What we need to be configurable at least is: OFF, ON, AUTO.
>
> There is LNAs that support variable gain and likely those will be
> sooner or later. Actually I think there is already LNAs integrated to
> the RF-tuner that offers adjustable gain. Also looking to NXP catalog
> and you will see there is digital TV LNAs with adjustable gain.
>
> Coming from that requirements are:
> adjustable gain 0-xxx dB
> LNA OFF
> LNA ON
> LNA AUTO
>
> Setting LNA is easy but how to query capabilities of supported LNA
> values? eg. this device has LNA which supports Gain=5dB, Gain=8dB, LNA
> auto?
Without having a sample of device capabilities this question may be
irrelevant, but what if the gain is somewhat continuiously configurable
vs. discretized? For example can some be configured just for 5,8 and 11,
whilst some might have some 8-bit value that controls gain between 5 and 11?
>
> LNA ON (bypass) could be replaced with Gain=0 and LNA ON with Gain>0,
> Gain=-1 is for auto example.

How should the API handle differences between the specified gain and the
capabilities of the LNA? Round to nearest possible config if it's within
the operating range; return error if out of range?
>
>
>
> regards
> Antti
>

-- 
Steve Kerrison MEng Hons.
http://www.stevekerrison.com/







       reply	other threads:[~2012-07-10 16:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4FFC5B4E.8080903@stevekerrison.com>
2012-07-10 16:42 ` Steve Kerrison [this message]
2012-07-10 21:32   ` comments for DVB LNA API Antti Palosaari
2012-07-10 16:20 Antti Palosaari

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=4FFC5B7A.5060708@stevekerrison.com \
    --to=steve@stevekerrison.com \
    --cc=crope@iki.fi \
    --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;
as well as URLs for NNTP newsgroup(s).