From: Hans Verkuil <hverkuil@xs4all.nl>
To: Antti Palosaari <crope@iki.fi>, linux-media@vger.kernel.org
Subject: Re: [PATCH 3/9] DocBook: document tuner RF gain control
Date: Mon, 08 Jun 2015 11:08:50 +0200 [thread overview]
Message-ID: <55755BA2.4060805@xs4all.nl> (raw)
In-Reply-To: <1433592188-31748-3-git-send-email-crope@iki.fi>
Hi Antti,
Some typos:
On 06/06/2015 02:03 PM, Antti Palosaari wrote:
> Add brief description for tuner RF gain control.
>
> Cc: Hans Verkuil <hverkuil@xs4all.nl>
> Signed-off-by: Antti Palosaari <crope@iki.fi>
> ---
> Documentation/DocBook/media/v4l/compat.xml | 4 ++++
> Documentation/DocBook/media/v4l/controls.xml | 19 +++++++++++++++++++
> Documentation/DocBook/media/v4l/v4l2.xml | 1 +
> 3 files changed, 24 insertions(+)
>
> diff --git a/Documentation/DocBook/media/v4l/compat.xml b/Documentation/DocBook/media/v4l/compat.xml
> index f56faf5..e8f28bf 100644
> --- a/Documentation/DocBook/media/v4l/compat.xml
> +++ b/Documentation/DocBook/media/v4l/compat.xml
> @@ -2600,6 +2600,10 @@ and &v4l2-mbus-framefmt;.
> <constant>V4L2_TUNER_ADC</constant> is deprecated now.
> </para>
> </listitem>
> + <listitem>
> + <para>Added <constant>V4L2_CID_RF_TUNER_RF_GAIN_AUTO</constant> and
> +<constant>V4L2_CID_RF_TUNER_RF_GAIN</constant> RF Tuner controls.</para>
> + </listitem>
> </orderedlist>
> </section>
>
> diff --git a/Documentation/DocBook/media/v4l/controls.xml b/Documentation/DocBook/media/v4l/controls.xml
> index 6e1667b..44f7a3a 100644
> --- a/Documentation/DocBook/media/v4l/controls.xml
> +++ b/Documentation/DocBook/media/v4l/controls.xml
> @@ -5397,6 +5397,13 @@ fulfill desired bandwidth requirement. Used when V4L2_CID_RF_TUNER_BANDWIDTH_AUT
> set. Unit is in Hz. The range and step are driver-specific.</entry>
> </row>
> <row>
> + <entry spanname="id"><constant>V4L2_CID_RF_TUNER_RF_GAIN_AUTO</constant> </entry>
> + <entry>boolean</entry>
> + </row>
> + <row>
> + <entry spanname="descr">Enables/disables RF amplifier automatic gain control (AGC)</entry>
> + </row>
> + <row>
> <entry spanname="id"><constant>V4L2_CID_RF_TUNER_LNA_GAIN_AUTO</constant> </entry>
> <entry>boolean</entry>
> </row>
> @@ -5418,6 +5425,18 @@ set. Unit is in Hz. The range and step are driver-specific.</entry>
> <entry spanname="descr">Enables/disables IF automatic gain control (AGC)</entry>
> </row>
> <row>
> + <entry spanname="id"><constant>V4L2_CID_RF_TUNER_RF_GAIN</constant> </entry>
> + <entry>integer</entry>
> + </row>
> + <row>
> + <entry spanname="descr">RF amplifier is very first amplifier on
> +the receiver signal path, just right after antenna input. Difference between
> +LNA gain and RF gain on this document and context is that LNA gain is integrated
> +to tuner chip whilst RF gain is separate chip. There may be both, RF and LNA
> +gain control, on same device. Used when <constant>V4L2_CID_RF_TUNER_RF_GAIN_AUTO</constant> is not set.
> +The range and step are driver-specific.</entry>
> + </row>
<entry spanname="descr">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. Used when <constant>V4L2_CID_RF_TUNER_RF_GAIN_AUTO</constant> is not set.
The range and step are driver-specific.</entry>
> + <row>
> <entry spanname="id"><constant>V4L2_CID_RF_TUNER_LNA_GAIN</constant> </entry>
This control should refer to the RF_TUNER_RF_GAIN to help understand the relationship between the two.
> <entry>integer</entry>
> </row>
> diff --git a/Documentation/DocBook/media/v4l/v4l2.xml b/Documentation/DocBook/media/v4l/v4l2.xml
> index c9eedc1..b94d381 100644
> --- a/Documentation/DocBook/media/v4l/v4l2.xml
> +++ b/Documentation/DocBook/media/v4l/v4l2.xml
> @@ -156,6 +156,7 @@ applications. -->
> <date>2015-05-26</date>
> <authorinitials>ap</authorinitials>
> <revremark>Renamed V4L2_TUNER_ADC to V4L2_TUNER_SDR.
> +Added V4L2_CID_RF_TUNER_RF_GAIN_AUTO and V4L2_CID_RF_TUNER_RF_GAIN controls.
> </revremark>
> </revision>
>
>
Regards,
Hans
next prev parent reply other threads:[~2015-06-08 9:08 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
2015-06-06 12:03 ` [PATCH 3/9] DocBook: document tuner " Antti Palosaari
2015-06-08 9:08 ` Hans Verkuil [this message]
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=55755BA2.4060805@xs4all.nl \
--to=hverkuil@xs4all.nl \
--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 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.