All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antti Palosaari <crope@iki.fi>
To: Hans Verkuil <hverkuil@xs4all.nl>, linux-media@vger.kernel.org
Subject: Re: [PATCH 2/9] v4l2: add RF gain control
Date: Thu, 16 Jul 2015 10:13:17 +0300	[thread overview]
Message-ID: <55A7598D.9050004@iki.fi> (raw)
In-Reply-To: <55755A6A.9080300@xs4all.nl>

On 06/08/2015 12:03 PM, Hans Verkuil wrote:
> On 06/06/2015 02:03 PM, Antti Palosaari wrote:
>> Add new RF tuner gain control named RF gain. That is aimed for
>> external LNA (amplifier) chip just right after antenna connector.
>
> I don't follow. Do you mean:
>
> This feeds into the external LNA...
>
> But if that's the case, then the LNA chip isn't right after the antenna connector,
> since there is a RF amplified in between.

On that case, there is amplifier between antenna and tuner chip. And I 
named it as a RF gain. It is quite same thing than LNA gain, but I would 
call LNA gain as a "RF gain" inside the tuner chip - integrated into 
tuner chip. These terms are not 100% established as LNA gain and RF gain 
are considered as a same thing very often.

The fact is that almost every silicon tuner nowadays has integrated 
RF/LNA amplifier, but there is devices having still separate amplifier 
between tuner and antenna. For DVB side there is multiple such devices, 
for example PCTV 290e and PCTV 292. HackRF SDR has separate RF amplifier 
and multiple other amplifiers.

So all in all, I needed second "LNA/RF" gain control and as LNA gain was 
already defined, I defined another as a RF gain.


  RF in   +----+     +-----+     +-------+     +----+  IF out
-------> | RF | --> | LNA | --> | Mixer | --> | IF | -------->
          +----+     +-----+     +-------+     +----+

Those boxes (RF/LNA/Mixer/IF) are gain controls and signal travels in 
order shown from gain to gain. In real life there is usually even more 
gains withing gain stage, eg. Mixer gain stage could contain 3 different 
amplifiers.


RF in = antenna input
IF out = connected to ADC (demod)


Hope the RF gain / LNA gain documentation is now a bit better.


regards
Antti

-- 
http://palosaari.fi/

  reply	other threads:[~2015-07-16  7:13 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-06 12:03 [PATCH 1/9] v4l2: rename V4L2_TUNER_ADC to V4L2_TUNER_SDR Antti Palosaari
2015-06-06 12:03 ` [PATCH 2/9] v4l2: add RF gain control Antti Palosaari
2015-06-08  9:03   ` Hans Verkuil
2015-07-16  7:13     ` Antti Palosaari [this message]
2015-06-06 12:03 ` [PATCH 3/9] DocBook: document tuner " Antti Palosaari
2015-06-08  9:08   ` Hans Verkuil
2015-06-06 12:03 ` [PATCH 4/9] v4l2: add support for SDR transmitter Antti Palosaari
2015-06-08  9:10   ` Hans Verkuil
2015-06-06 12:03 ` [PATCH 5/9] DocBook: document " Antti Palosaari
2015-06-08  9:12   ` Hans Verkuil
2015-06-06 12:03 ` [PATCH 6/9] hackrf: add control for RF amplifier Antti Palosaari
2015-06-06 12:03 ` [PATCH 7/9] hackrf: switch to single function which configures everything Antti Palosaari
2015-06-06 12:03 ` [PATCH 8/9] hackrf: add support for transmitter Antti Palosaari
2015-06-08  9:26   ` Hans Verkuil
2015-07-16  7:09     ` Antti Palosaari
2015-06-06 12:03 ` [PATCH 9/9] hackrf: do not set human readable name for formats Antti Palosaari
2015-06-08  9:20   ` Hans Verkuil
2015-06-08  8:56 ` [PATCH 1/9] v4l2: rename V4L2_TUNER_ADC to V4L2_TUNER_SDR Hans Verkuil
2015-06-10 13:31   ` Mauro Carvalho Chehab

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=55A7598D.9050004@iki.fi \
    --to=crope@iki.fi \
    --cc=hverkuil@xs4all.nl \
    --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 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.