From patchwork Mon Aug 11 21:09:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 4709631 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C9471C0338 for ; Mon, 11 Aug 2014 21:09:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 099DD20123 for ; Mon, 11 Aug 2014 21:09:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A546E2011D for ; Mon, 11 Aug 2014 21:09:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755090AbaHKVJj (ORCPT ); Mon, 11 Aug 2014 17:09:39 -0400 Received: from mailout1.w2.samsung.com ([211.189.100.11]:64773 "EHLO usmailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755018AbaHKVJj (ORCPT ); Mon, 11 Aug 2014 17:09:39 -0400 Received: from uscpsbgm1.samsung.com (u114.gpu85.samsung.co.kr [203.254.195.114]) by mailout1.w2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NA500CESUS1BU00@mailout1.w2.samsung.com> for linux-media@vger.kernel.org; Mon, 11 Aug 2014 17:09:37 -0400 (EDT) X-AuditID: cbfec372-b7f2f6d0000052b3-e4-53e93111c1fe Received: from ussync3.samsung.com ( [203.254.195.83]) by uscpsbgm1.samsung.com (USCPMTA) with SMTP id AD.BE.21171.11139E35; Mon, 11 Aug 2014 17:09:37 -0400 (EDT) Received: from recife.lan ([105.144.34.4]) by ussync3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NA50053DURXWFA0@ussync3.samsung.com> for linux-media@vger.kernel.org; Mon, 11 Aug 2014 17:09:37 -0400 (EDT) Date: Mon, 11 Aug 2014 18:09:32 -0300 From: Mauro Carvalho Chehab To: linux-media@vger.kernel.org Subject: [PATCH] [media] siano: add support for PCTV 77e Message-id: <20140811180932.7727f4b7.m.chehab@samsung.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; x86_64-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrOJMWRmVeSWpSXmKPExsVy+t/hYF1Bw5fBBhc26ln0bNjK6sDo8XmT XABjFJdNSmpOZllqkb5dAldG95IZLAV9/BX35nSwNDB+5Oli5OSQEDCRuP6wmxHCFpO4cG89 WxcjF4eQwBJGifdPXjJBOAuYJK5fm84MUsUioCqx/WU7O4jNJmAk8aqxhRXEFhGQl3jSe4MN xBYWsJDo3X0LyObg4BWwkvj9MRdigbPEz5mTwJbxCghK/Jh8jwXEZhbQkti8rYkVwpaX2Lzm LfMERt5ZSMpmISmbhaRsASPzKkbR0uLkguKk9FxDveLE3OLSvHS95PzcTYyQwCnawfhsg9Uh RgEORiUeXgGZl8FCrIllxZW5hxglOJiVRHiPyQKFeFMSK6tSi/Lji0pzUosPMTJxcEo1MAbv /VuyK8LzwaT9O52zg75Oz3c/PnNTRp2o1edVSqbJ8rrL7R6tSy9/tp2j5KbBDt/p13lf80nZ /dni8HGfecWj0K7r70r0L6UI2p05l3fhkwDnLJPTlg/+q2ulzTuU38q86tYZvsVFp6r/++1Z JWF0VbXrtGnVzfrDXXK8VTfEFu/fuOHMYyUlluKMREMt5qLiRAA5c6hG+gEAAA== Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add support for PCTV miroStick (77e) device tha tuses a sms1140 chipset. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/common/siano/sms-cards.c | 6 ++++++ drivers/media/common/siano/sms-cards.h | 1 + drivers/media/usb/siano/smsusb.c | 2 ++ 3 files changed, 9 insertions(+) diff --git a/drivers/media/common/siano/sms-cards.c b/drivers/media/common/siano/sms-cards.c index 8276999..edc6086 100644 --- a/drivers/media/common/siano/sms-cards.c +++ b/drivers/media/common/siano/sms-cards.c @@ -157,6 +157,12 @@ static struct sms_board sms_boards[] = { .type = SMS_DENVER_2160, .default_mode = DEVICE_MODE_DAB_TDMB, }, + [SMS1XXX_BOARD_PCTV_77E] = { + .name = "Hauppauge miroStick 77e", + .type = SMS_NOVA_B0, + .fw[DEVICE_MODE_DVBT_BDA] = SMS_FW_DVB_NOVA_12MHZ_B0, + .default_mode = DEVICE_MODE_DVBT_BDA, + }, }; struct sms_board *sms_get_board(unsigned id) diff --git a/drivers/media/common/siano/sms-cards.h b/drivers/media/common/siano/sms-cards.h index c63b544..4c4cadd 100644 --- a/drivers/media/common/siano/sms-cards.h +++ b/drivers/media/common/siano/sms-cards.h @@ -45,6 +45,7 @@ #define SMS1XXX_BOARD_SIANO_RIO 18 #define SMS1XXX_BOARD_SIANO_DENVER_1530 19 #define SMS1XXX_BOARD_SIANO_DENVER_2160 20 +#define SMS1XXX_BOARD_PCTV_77E 21 struct sms_board_gpio_cfg { int lna_vhf_exist; diff --git a/drivers/media/usb/siano/smsusb.c b/drivers/media/usb/siano/smsusb.c index 1836a41..89c86ee 100644 --- a/drivers/media/usb/siano/smsusb.c +++ b/drivers/media/usb/siano/smsusb.c @@ -655,6 +655,8 @@ static const struct usb_device_id smsusb_id_table[] = { .driver_info = SMS1XXX_BOARD_ONDA_MDTV_DATA_CARD }, { USB_DEVICE(0x3275, 0x0080), .driver_info = SMS1XXX_BOARD_SIANO_RIO }, + { USB_DEVICE(0x2013, 0x0257), + .driver_info = SMS1XXX_BOARD_PCTV_77E }, { } /* Terminating entry */ };