From patchwork Thu Oct 7 13:16:11 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: m7aalton X-Patchwork-Id: 4543 Return-path: Envelope-to: mchehab@pedra Delivery-date: Thu, 07 Oct 2010 14:17:33 -0300 Received: from mchehab by pedra with local (Exim 4.72) (envelope-from ) id 1P3u61-0000V2-1n for mchehab@pedra; Thu, 07 Oct 2010 14:17:33 -0300 Received: from casper.infradead.org [85.118.1.10] by pedra with IMAP (fetchmail-6.3.17) for (single-drop); Thu, 07 Oct 2010 14:17:33 -0300 (BRT) Received: from bombadil.infradead.org ([2001:4830:2446:ff00:4687:fcff:fea6:5117]) by casper.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1P3u5w-0005Bv-SS for mchehab@casper.infradead.org; Thu, 07 Oct 2010 17:17:29 +0000 Received: from vger.kernel.org ([209.132.180.67]) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1P3u5v-0003Y7-7F; Thu, 07 Oct 2010 17:17:27 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760537Ab0JGNQk (ORCPT + 1 other); Thu, 7 Oct 2010 09:16:40 -0400 Received: from smtp.nokia.com ([192.100.105.134]:54532 "EHLO mgw-mx09.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754100Ab0JGNQk (ORCPT ); Thu, 7 Oct 2010 09:16:40 -0400 Received: from vaebh105.NOE.Nokia.com (vaebh105.europe.nokia.com [10.160.244.31]) by mgw-mx09.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o97DF7Za003622; Thu, 7 Oct 2010 08:16:25 -0500 Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by vaebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 7 Oct 2010 16:16:22 +0300 Received: from mgw-da02.ext.nokia.com ([147.243.128.26]) by esebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 7 Oct 2010 16:16:20 +0300 Received: from localhost.localdomain (masi.nmp.nokia.com [172.22.211.19]) by mgw-da02.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o97DGEIO028021; Thu, 7 Oct 2010 16:16:16 +0300 From: "Matti J. Aaltonen" To: linux-media@vger.kernel.org, mchehab@redhat.com, hverkuil@xs4all.nl, eduardo.valentin@nokia.com Cc: "Matti J. Aaltonen" Subject: [PATCH v12 1/3] V4L2: Add seek spacing and RDS CAP bits. Date: Thu, 7 Oct 2010 16:16:11 +0300 Message-Id: <1286457373-1742-2-git-send-email-matti.j.aaltonen@nokia.com> X-Mailer: git-send-email 1.6.1.3 In-Reply-To: <1286457373-1742-1-git-send-email-matti.j.aaltonen@nokia.com> References: <1286457373-1742-1-git-send-email-matti.j.aaltonen@nokia.com> X-OriginalArrivalTime: 07 Oct 2010 13:16:21.0333 (UTC) FILETIME=[D5931050:01CB6621] X-Nokia-AV: Clean Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sender: Add spacing field to v4l2_hw_freq_seek. Add V4L2_TUNER_CAP_RDS_BLOCK_IO, which indicates that the tuner/ transmitter if capable of transmitting/receiving RDS blocks. Add V4L2_TUNER_CAP_RDS_CONTROLS capability, which indicates that the RDS data is handled as values of predefined controls like radio text, program ID and so on. Signed-off-by: Matti J. Aaltonen Acked-by: Hans Verkuil --- include/linux/videodev2.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 61490c6..eadcda3 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -1363,6 +1363,8 @@ struct v4l2_modulator { #define V4L2_TUNER_CAP_SAP 0x0020 #define V4L2_TUNER_CAP_LANG1 0x0040 #define V4L2_TUNER_CAP_RDS 0x0080 +#define V4L2_TUNER_CAP_RDS_BLOCK_IO 0x0100 +#define V4L2_TUNER_CAP_RDS_CONTROLS 0x0200 /* Flags for the 'rxsubchans' field */ #define V4L2_TUNER_SUB_MONO 0x0001 @@ -1392,7 +1394,8 @@ struct v4l2_hw_freq_seek { enum v4l2_tuner_type type; __u32 seek_upward; __u32 wrap_around; - __u32 reserved[8]; + __u32 spacing; + __u32 reserved[7]; }; /*