From patchwork Mon Aug 30 11:38:22 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: m7aalton X-Patchwork-Id: 4171 Return-path: Envelope-to: mchehab@pedra Delivery-date: Mon, 30 Aug 2010 08:48:14 -0300 Received: from mchehab by pedra with local (Exim 4.72) (envelope-from ) id 1Oq2qT-0004lE-TF for mchehab@pedra; Mon, 30 Aug 2010 08:48:14 -0300 Received: from bombadil.infradead.org [18.85.46.34] by pedra with IMAP (fetchmail-6.3.17) for (single-drop); Mon, 30 Aug 2010 08:48:13 -0300 (BRT) Received: from vger.kernel.org ([209.132.180.67]) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1Oq2he-0002eb-GK; Mon, 30 Aug 2010 11:39:06 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755443Ab0H3Li5 (ORCPT + 1 other); Mon, 30 Aug 2010 07:38:57 -0400 Received: from smtp.nokia.com ([192.100.105.134]:57342 "EHLO mgw-mx09.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755375Ab0H3Liz (ORCPT ); Mon, 30 Aug 2010 07:38:55 -0400 Received: from vaebh106.NOE.Nokia.com (vaebh106.europe.nokia.com [10.160.244.32]) by mgw-mx09.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o7UBcfu6007527; Mon, 30 Aug 2010 06:38:43 -0500 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by vaebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 30 Aug 2010 14:38:39 +0300 Received: from mgw-da01.ext.nokia.com ([147.243.128.24]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 30 Aug 2010 14:38:38 +0300 Received: from localhost.localdomain (masi.nmp.nokia.com [172.22.211.19]) by mgw-da01.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o7UBcMsf016746; Mon, 30 Aug 2010 14:38:32 +0300 From: "Matti J. Aaltonen" To: linux-media@vger.kernel.org, hverkuil@xs4all.nl, eduardo.valentin@nokia.com, mchehab@redhat.com Cc: "Matti J. Aaltonen" Subject: [PATCH v9 4/4] Documentation: v4l: Add hw_seek spacing and FM_RX class Date: Mon, 30 Aug 2010 14:38:22 +0300 Message-Id: <1283168302-19111-5-git-send-email-matti.j.aaltonen@nokia.com> X-Mailer: git-send-email 1.6.1.3 In-Reply-To: <1283168302-19111-4-git-send-email-matti.j.aaltonen@nokia.com> References: <1283168302-19111-1-git-send-email-matti.j.aaltonen@nokia.com> <1283168302-19111-2-git-send-email-matti.j.aaltonen@nokia.com> <1283168302-19111-3-git-send-email-matti.j.aaltonen@nokia.com> <1283168302-19111-4-git-send-email-matti.j.aaltonen@nokia.com> X-OriginalArrivalTime: 30 Aug 2010 11:38:39.0192 (UTC) FILETIME=[E3C4D580:01CB4837] X-Nokia-AV: Clean Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sender: Mauro Carvalho Chehab Add a couple of words about the spacing field in the HW seek struct, about the V4L2_CAP_RAW_RDS_ONLY capability flag and about the new FM RX control class. Signed-off-by: Matti J. Aaltonen --- Documentation/DocBook/v4l/controls.xml | 71 ++++++++++++++++++++ Documentation/DocBook/v4l/dev-rds.xml | 5 ++ .../DocBook/v4l/vidioc-s-hw-freq-seek.xml | 10 ++- 3 files changed, 84 insertions(+), 2 deletions(-) diff --git a/Documentation/DocBook/v4l/controls.xml b/Documentation/DocBook/v4l/controls.xml index 8408caa..e9512eb 100644 --- a/Documentation/DocBook/v4l/controls.xml +++ b/Documentation/DocBook/v4l/controls.xml @@ -2088,6 +2088,77 @@ manually or automatically if set to zero. Unit, range and step are driver-specif For more details about RDS specification, refer to document, from CENELEC. +
+ FM Tuner Control Reference + + The FM Tuner (FM_RX) class includes controls for common features of +devices that are capable of receiving FM transmissions. Currently this class includes a parameter +defining the FM radio band being used. + + + 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_FM_RX_BAND  + integer + + Configures the FM radio +frequency range being used. Currently there are three bands in use, see Wikipedia. +Usually 87.5 to 108.0 MHz is used, or some portion thereof, with a few exceptions: +In Japan, the band 76-90 MHz is used and in the former Soviet republics +and some Eastern European countries, the older 65-74 MHz band, +referred also to as the OIRT band, is still used. + +The enum  v4l2_fm_rx_band defines possible values for the FM band. They are: + + + + + V4L2_FM_BAND_OTHER  + Frequencies from 87.5 to 108.0 MHz + + + V4L2_FM_BAND_JAPAN  + from 65 to 74 MHz + + + V4L2_FM_BAND_OIRT  + from 65 to 74 MHz + + + + + + + + +
+ +