From patchwork Tue Feb 26 06:38:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 2184181 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 25F5F3FD4E for ; Tue, 26 Feb 2013 06:40:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759491Ab3BZGjZ (ORCPT ); Tue, 26 Feb 2013 01:39:25 -0500 Received: from mail-da0-f49.google.com ([209.85.210.49]:53396 "EHLO mail-da0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759432Ab3BZGjX (ORCPT ); Tue, 26 Feb 2013 01:39:23 -0500 Received: by mail-da0-f49.google.com with SMTP id t11so927245daj.22 for ; Mon, 25 Feb 2013 22:39:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=YSB1tm8WPuHvJdxIY0OgE4Vrd4wlTMHzSomeo4aUgMs=; b=y800cQsOYHzT0iu7YeF2xAkU1K8UJzDILPSdVmxSiO5WvcDGhpLC1pDlJzMCJUSQmG MCECAST6Mx7xjGaFtSbTTqSLuFq2KoM69QoFWDoxTQALCPQ0YG9DqIfNDuGPzO4BAY/p sut8ASXHBlbptAmklZ6CBRuYO1ApdKqwBhLi+4CZOFpIZ05ZeKbL5RNBEzn3k+BPOP4Q gokrI3efo/j7XAzacGuqdLZ9A1uDe3R//sr5C7u+Qas+TBaAsoyYF64HlzsFj6tJJRZw u6l/hI6KMDQgTi9f9eVS17AhVDTiMbmowCCkOnoVKuyX05PxTKMwC7+XnqiV2rYabqUD OJVA== X-Received: by 10.68.211.225 with SMTP id nf1mr21949172pbc.104.1361860763054; Mon, 25 Feb 2013 22:39:23 -0800 (PST) Received: from localhost.localdomain (c-24-19-54-161.hsd1.wa.comcast.net. [24.19.54.161]) by mx.google.com with ESMTPS id a4sm329034paw.21.2013.02.25.22.39.21 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Feb 2013 22:39:22 -0800 (PST) From: Andrey Smirnov To: andrew.smirnov@gmail.com Cc: hverkuil@xs4all.nl, mchehab@redhat.com, sameo@linux.intel.com, perex@perex.cz, tiwai@suse.de, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 6/8] v4l2: Add documentation for the FM RX controls Date: Mon, 25 Feb 2013 22:38:52 -0800 Message-Id: <1361860734-21666-7-git-send-email-andrew.smirnov@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1361860734-21666-1-git-send-email-andrew.smirnov@gmail.com> References: <1361860734-21666-1-git-send-email-andrew.smirnov@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Add appropriate documentation for all the newly added standard controls. Signed-off-by: Andrey Smirnov --- Documentation/DocBook/media/v4l/compat.xml | 3 + Documentation/DocBook/media/v4l/controls.xml | 72 ++++++++++++++++++++ .../DocBook/media/v4l/vidioc-g-ext-ctrls.xml | 11 ++- 3 files changed, 85 insertions(+), 1 deletion(-) diff --git a/Documentation/DocBook/media/v4l/compat.xml b/Documentation/DocBook/media/v4l/compat.xml index 104a1a2..f418bc3 100644 --- a/Documentation/DocBook/media/v4l/compat.xml +++ b/Documentation/DocBook/media/v4l/compat.xml @@ -2310,6 +2310,9 @@ more information. Added FM Modulator (FM TX) Extended Control Class: V4L2_CTRL_CLASS_FM_TX and their Control IDs. + + Added FM Receiver (FM RX) Extended Control Class: V4L2_CTRL_CLASS_FM_RX and their Control IDs. + Added Remote Controller chapter, describing the default Remote Controller mapping for media devices. diff --git a/Documentation/DocBook/media/v4l/controls.xml b/Documentation/DocBook/media/v4l/controls.xml index 9e8f854..e8fe005 100644 --- a/Documentation/DocBook/media/v4l/controls.xml +++ b/Documentation/DocBook/media/v4l/controls.xml @@ -4687,4 +4687,76 @@ interface and may change in the future. + +
+ FM Receiver Control Reference + + The FM Receiver (FM_RX) class includes controls for common features of + FM Reception capable devices. + + + FM_RX Control IDs + + + + + + + + + + + ID + Type + Description + + + + + + V4L2_CID_FM_RX_CLASS  + class + The FM_RX class +descriptor. Calling &VIDIOC-QUERYCTRL; for this control will return a +description of this control class. + + + V4L2_CID_RDS_RECEPTION  + boolean + Enables/disables RDS + reception by the radio tuner + + + V4L2_CID_TUNE_DEEMPHASIS  + integer + + Configures the de-emphasis value for reception. +A de-emphasis filter is applied to the broadcast to accentuate the high audio frequencies. +Depending on the region, a time constant of either 50 or 75 useconds is used. The enum v4l2_emphasis +defines possible values for de-emphasis. Here they are: + + + + + V4L2_PREEMPHASIS_DISABLED  + No de-emphasis is applied. + + + V4L2_PREEMPHASIS_50_uS  + A de-emphasis of 50 uS is used. + + + V4L2_PREEMPHASIS_75_uS  + A de-emphasis of 75 uS is used. + + + + + + + + +
+ +
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-ext-ctrls.xml b/Documentation/DocBook/media/v4l/vidioc-g-ext-ctrls.xml index 4e16112..b03a57b 100644 --- a/Documentation/DocBook/media/v4l/vidioc-g-ext-ctrls.xml +++ b/Documentation/DocBook/media/v4l/vidioc-g-ext-ctrls.xml @@ -9,7 +9,7 @@ VIDIOC_TRY_EXT_CTRLS VIDIOC_G_EXT_CTRLS VIDIOC_S_EXT_CTRLS VIDIOC_TRY_EXT_CTRLS - Get or set the value of several controls, try control + Get or set the value of several controls, try control values @@ -319,6 +319,15 @@ These controls are described in . + + + V4L2_CTRL_CLASS_FM_RX + 0xa10000 + The class containing FM Receiver (FM RX) controls. +These controls are described in . + +