From patchwork Tue May 17 04:21:34 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitri Belimov X-Patchwork-Id: 790362 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p4H3PCBg025378 for ; Tue, 17 May 2011 03:25:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751922Ab1EQDZD (ORCPT ); Mon, 16 May 2011 23:25:03 -0400 Received: from mail-fx0-f52.google.com ([209.85.161.52]:38963 "EHLO mail-fx0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751730Ab1EQDZD (ORCPT ); Mon, 16 May 2011 23:25:03 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 17 May 2011 03:25:12 +0000 (UTC) X-Greylist: delayed 406 seconds by postgrey-1.27 at vger.kernel.org; Mon, 16 May 2011 23:25:02 EDT Received: by fxm6 with SMTP id 6so177055fxm.11 for ; Mon, 16 May 2011 20:25:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:x-mailer :mime-version:content-type; bh=SP3Pl3nu6is9cdPZYnLxRIqdtRp3A/F50uB81EWfVz8=; b=boSFcU6aOSAL5HaONVAcl9OIqInGpKrmtYcX2D8ECnI3m9QyWd4rdvBP4HRv0Qx6Al wz2SklX4jZyAOB7dcERtb/JaIhXbttbFvMmky60u4Ps/MBNiZpN2mqUQctYVY3edxpQW apkeIJtIkcjeLwsTOyeKjBKSQp/nSoKQT79mQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type; b=t3YnJlcOz8nap/4TBaDTgkrJOwCINm7k6dl5fxE+YwSbTFGTFQrNT0+QzlK6gDm6Qn eVYHoiKxlmf7IoiNTNdlwyrqJjKxay1XektwAMXNFS0qoGgi6w+d8kBqdKFexrw2hBdc 3rut0I4sF6rbkcZUq76CiBaq3nah8/XKMlJ9Y= Received: by 10.223.91.85 with SMTP id l21mr159998fam.80.1305602294435; Mon, 16 May 2011 20:18:14 -0700 (PDT) Received: from glory.local ([83.234.160.236]) by mx.google.com with ESMTPS id r13sm29036fax.8.2011.05.16.20.18.12 (version=SSLv3 cipher=OTHER); Mon, 16 May 2011 20:18:13 -0700 (PDT) Date: Tue, 17 May 2011 14:21:34 +1000 From: Dmitri Belimov To: Linux Media Mailing List , Mauro Carvalho Chehab Subject: [PATCH] saa7134 add new TV cards Message-ID: <20110517142134.31c07514@glory.local> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i486-pc-linux-gnu) Mime-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi Add new TV cards of Beholder Company. Just for autodetect. Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov With my best regards, Dmitry. diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index 61c6007..e98d38e 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c @@ -5591,6 +5591,64 @@ struct saa7134_board saa7134_boards[] = { .amux = TV, }, }, + [SAA7134_BOARD_BEHOLD_501] = { + /* Beholder Intl. Ltd. 2010 */ + /* Dmitry Belimov */ + .name = "Beholder BeholdTV 501", + .audio_clock = 0x00200000, + .tuner_type = TUNER_ABSENT, + .radio_type = UNSET, + .tuner_addr = ADDR_UNSET, + .radio_addr = ADDR_UNSET, + .gpiomask = 0x00008000, + .inputs = { { + .name = name_tv, + .vmux = 3, + .amux = LINE2, + .tv = 1, + }, { + .name = name_comp1, + .vmux = 1, + .amux = LINE1, + }, { + .name = name_svideo, + .vmux = 8, + .amux = LINE1, + } }, + .mute = { + .name = name_mute, + .amux = LINE1, + }, + }, + [SAA7134_BOARD_BEHOLD_503FM] = { + /* Beholder Intl. Ltd. 2010 */ + /* Dmitry Belimov */ + .name = "Beholder BeholdTV 503 FM", + .audio_clock = 0x00200000, + .tuner_type = TUNER_ABSENT, + .radio_type = UNSET, + .tuner_addr = ADDR_UNSET, + .radio_addr = ADDR_UNSET, + .gpiomask = 0x00008000, + .inputs = { { + .name = name_tv, + .vmux = 3, + .amux = LINE2, + .tv = 1, + }, { + .name = name_comp1, + .vmux = 1, + .amux = LINE1, + }, { + .name = name_svideo, + .vmux = 8, + .amux = LINE1, + } }, + .mute = { + .name = name_mute, + .amux = LINE1, + }, + }, }; @@ -6796,6 +6854,18 @@ struct pci_device_id saa7134_pci_tbl[] = { .subdevice = 0xc900, .driver_data = SAA7134_BOARD_VIDEOMATE_M1F, }, { + .vendor = PCI_VENDOR_ID_PHILIPS, + .device = PCI_DEVICE_ID_PHILIPS_SAA7133, + .subvendor = 0x5ace, + .subdevice = 0x5030, + .driver_data = SAA7134_BOARD_BEHOLD_503FM, + }, { + .vendor = PCI_VENDOR_ID_PHILIPS, + .device = PCI_DEVICE_ID_PHILIPS_SAA7130, + .subvendor = 0x5ace, + .subdevice = 0x5010, + .driver_data = SAA7134_BOARD_BEHOLD_501, + }, { /* --- boards without eeprom + subsystem ID --- */ .vendor = PCI_VENDOR_ID_PHILIPS, .device = PCI_DEVICE_ID_PHILIPS_SAA7134, diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h index f96cd5d..dbf01aa 100644 --- a/drivers/media/video/saa7134/saa7134.h +++ b/drivers/media/video/saa7134/saa7134.h @@ -328,6 +328,8 @@ struct saa7134_card_ir { #define SAA7134_BOARD_KWORLD_PCI_SBTVD_FULLSEG 182 #define SAA7134_BOARD_VIDEOMATE_M1F 183 #define SAA7134_BOARD_ENCORE_ENLTV_FM3 184 +#define SAA7134_BOARD_BEHOLD_501 185 +#define SAA7134_BOARD_BEHOLD_503FM 186 #define SAA7134_MAXBOARDS 32 #define SAA7134_INPUT_MAX 8 Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov