From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from lb2-smtp-cloud2.xs4all.net ([194.109.24.25]:46877 "EHLO lb2-smtp-cloud2.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754024AbbHJI6M (ORCPT ); Mon, 10 Aug 2015 04:58:12 -0400 Message-ID: <55C86789.60404@xs4all.nl> Date: Mon, 10 Aug 2015 10:57:45 +0200 From: Hans Verkuil MIME-Version: 1.0 To: Antti Palosaari , linux-media@vger.kernel.org Subject: Re: [PATCHv3 03/13] DocBook: document tuner RF gain control References: <1438308650-2702-1-git-send-email-crope@iki.fi> <1438308650-2702-4-git-send-email-crope@iki.fi> In-Reply-To: <1438308650-2702-4-git-send-email-crope@iki.fi> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: On 07/31/2015 04:10 AM, Antti Palosaari wrote: > Add brief description for tuner RF gain control. > > Cc: Hans Verkuil Acked-by: Hans Verkuil > Signed-off-by: Antti Palosaari > --- > Documentation/DocBook/media/v4l/compat.xml | 4 ++++ > Documentation/DocBook/media/v4l/controls.xml | 14 ++++++++++++++ > Documentation/DocBook/media/v4l/v4l2.xml | 1 + > 3 files changed, 19 insertions(+) > > diff --git a/Documentation/DocBook/media/v4l/compat.xml b/Documentation/DocBook/media/v4l/compat.xml > index f56faf5..eb091c7 100644 > --- a/Documentation/DocBook/media/v4l/compat.xml > +++ b/Documentation/DocBook/media/v4l/compat.xml > @@ -2600,6 +2600,10 @@ and &v4l2-mbus-framefmt;. > V4L2_TUNER_ADC is deprecated now. > > > + > + Added V4L2_CID_RF_TUNER_RF_GAIN > +RF Tuner control. > + > > > > diff --git a/Documentation/DocBook/media/v4l/controls.xml b/Documentation/DocBook/media/v4l/controls.xml > index 6e1667b..7cae933 100644 > --- a/Documentation/DocBook/media/v4l/controls.xml > +++ b/Documentation/DocBook/media/v4l/controls.xml > @@ -5418,6 +5418,18 @@ set. Unit is in Hz. The range and step are driver-specific. > Enables/disables IF automatic gain control (AGC) > > > + V4L2_CID_RF_TUNER_RF_GAIN  > + integer > + > + > + The RF amplifier is the very first > +amplifier on the receiver signal path, just right after the antenna input. > +The difference between the LNA gain and the RF gain in this document is that > +the LNA gain is integrated in the tuner chip while the RF gain is a separate > +chip. There may be both RF and LNA gain controls in the same device. > +The range and step are driver-specific. > + > + > V4L2_CID_RF_TUNER_LNA_GAIN  > integer > > @@ -5425,6 +5437,8 @@ set. Unit is in Hz. The range and step are driver-specific. > LNA (low noise amplifier) gain is first > gain stage on the RF tuner signal path. It is located very close to tuner > antenna input. Used when V4L2_CID_RF_TUNER_LNA_GAIN_AUTO is not set. > +See V4L2_CID_RF_TUNER_RF_GAIN to understand how RF gain > +and LNA gain differs from the each others. > The range and step are driver-specific. > > > diff --git a/Documentation/DocBook/media/v4l/v4l2.xml b/Documentation/DocBook/media/v4l/v4l2.xml > index c9eedc1..ab9fca4 100644 > --- a/Documentation/DocBook/media/v4l/v4l2.xml > +++ b/Documentation/DocBook/media/v4l/v4l2.xml > @@ -156,6 +156,7 @@ applications. --> > 2015-05-26 > ap > Renamed V4L2_TUNER_ADC to V4L2_TUNER_SDR. > +Added V4L2_CID_RF_TUNER_RF_GAIN control. > > > >