From patchwork Sun May 6 20:56:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans-Frieder Vogt X-Patchwork-Id: 11065 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1SR8Vj-0005hH-SU for patchwork@linuxtv.org; Sun, 06 May 2012 22:56:55 +0200 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.75/mailfrontend-4) with esmtp for id 1SR8Vj-0002qj-AU; Sun, 06 May 2012 22:56:55 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754594Ab2EFU4x (ORCPT ); Sun, 6 May 2012 16:56:53 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:46769 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754557Ab2EFU4w (ORCPT ); Sun, 6 May 2012 16:56:52 -0400 Received: (qmail invoked by alias); 06 May 2012 20:56:51 -0000 Received: from p4FC08D41.dip0.t-ipconnect.de (EHLO maximilian.localnet) [79.192.141.65] by mail.gmx.net (mp019) with SMTP; 06 May 2012 22:56:51 +0200 X-Authenticated: #24390674 X-Provags-ID: V01U2FsdGVkX19jwUlrzmxjISZrzQ87Xe21V7aRVDpR3usSv36xot OqixYrHfdLIHgZ From: "Hans-Frieder Vogt" To: linux-media@vger.kernel.org, Thomas Mair Subject: [PATCH 1/3] fc001x: common header file for FC0012 and FC0013 Date: Sun, 6 May 2012 22:56:50 +0200 User-Agent: KMail/1.13.7 (Linux/3.3.4-a64; KDE/4.7.4; x86_64; ; ) MIME-Version: 1.0 Message-Id: <201205062256.50092.hfvogt@gmx.net> X-Y-GMX-Trusted: 0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.5.6.204815 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_X_MAILING_LIST 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_WWW 0, __URI_NS , __USER_AGENT 0' Common defines for the FC0012 (v0.5) and FC0013 tuner drivers Signed-off-by: Hans-Frieder Vogt drivers/media/common/tuners/fc001x-common.h | 39 ++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Hans-Frieder Vogt e-mail: hfvogt gmx .dot. net --- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff -up --new-file --recursive a/drivers/media/common/tuners/fc001x-common.h b/drivers/media/common/tuners/fc001x-common.h --- a/drivers/media/common/tuners/fc001x-common.h 1970-01-01 01:00:00.000000000 +0100 +++ b/drivers/media/common/tuners/fc001x-common.h 2012-05-06 19:42:16.785457023 +0200 @@ -0,0 +1,39 @@ +/* + * Fitipower FC0012 & FC0013 tuner driver - common defines + * + * Copyright (C) 2012 Hans-Frieder Vogt + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#ifndef _FC001X_COMMON_H_ +#define _FC001X_COMMON_H_ + +enum fc001x_xtal_freq { + FC_XTAL_27_MHZ, /* 27000000 */ + FC_XTAL_28_8_MHZ, /* 28800000 */ + FC_XTAL_36_MHZ, /* 36000000 */ +}; + +/* + * enum fc001x_fe_callback_commands - Frontend callbacks + * + * @FC_FE_CALLBACK_VHF_ENABLE: enable VHF or UHF + */ +enum fc001x_fe_callback_commands { + FC_FE_CALLBACK_VHF_ENABLE, +}; + +#endif