From patchwork Wed Sep 22 11:50:00 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: x0130808@ti.com X-Patchwork-Id: 4362 Return-path: Envelope-to: mchehab@pedra Delivery-date: Wed, 22 Sep 2010 08:33:53 -0300 Received: from mchehab by pedra with local (Exim 4.72) (envelope-from ) id 1OyNaA-00015U-Sb for mchehab@pedra; Wed, 22 Sep 2010 08:33:53 -0300 Received: from bombadil.infradead.org [18.85.46.34] by pedra with IMAP (fetchmail-6.3.17) for (single-drop); Wed, 22 Sep 2010 08:33:50 -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 1OyMjs-0001or-Ge; Wed, 22 Sep 2010 10:39:48 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753495Ab0IVKjP (ORCPT + 1 other); Wed, 22 Sep 2010 06:39:15 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:42805 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753846Ab0IVKjL (ORCPT ); Wed, 22 Sep 2010 06:39:11 -0400 Received: from dlep34.itg.ti.com ([157.170.170.115]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id o8MAdAMP010387 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 22 Sep 2010 05:39:10 -0500 Received: from localhost.localdomain (localhost [127.0.0.1]) by dlep34.itg.ti.com (8.13.7/8.13.7) with ESMTP id o8MAd6Jv019678; Wed, 22 Sep 2010 05:39:08 -0500 (CDT) From: x0130808@ti.com To: linux-media@vger.kernel.org Cc: Raja Mani , Pramodh AG , Manjunatha Halli Subject: [RFC/PATCH 7/9] include:linux:videodev2: Define 2 new CIDs for FM RX Date: Wed, 22 Sep 2010 07:50:00 -0400 Message-Id: <1285156202-28569-8-git-send-email-x0130808@ti.com> X-Mailer: git-send-email 1.6.5 In-Reply-To: <1285156202-28569-7-git-send-email-x0130808@ti.com> References: <1285156202-28569-1-git-send-email-x0130808@ti.com> <1285156202-28569-2-git-send-email-x0130808@ti.com> <1285156202-28569-3-git-send-email-x0130808@ti.com> <1285156202-28569-4-git-send-email-x0130808@ti.com> <1285156202-28569-5-git-send-email-x0130808@ti.com> <1285156202-28569-6-git-send-email-x0130808@ti.com> <1285156202-28569-7-git-send-email-x0130808@ti.com> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sender: From: Raja Mani Extend V4L2 CID list to support 1) RSSI Threshold 2) Alternative Frequency Signed-off-by: Raja Mani Signed-off-by: Pramodh AG Signed-off-by: Manjunatha Halli --- include/linux/videodev2.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index e9d018d..369987b 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -1374,6 +1374,13 @@ enum v4l2_fm_band { V4L2_FM_BAND_OIRT = 2 }; +#define V4L2_CID_RSSI_THRESHOLD (V4L2_CID_FM_RX_CLASS_BASE + 2) +#define V4L2_CID_TUNE_AF (V4L2_CID_FM_RX_CLASS_BASE + 3) +enum v4l2_tune_af { + V4L2_FM_AF_OFF = 0, + V4L2_FM_AF_ON = 1 +}; + /* * T U N I N G */