aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorIgor Kuznetsov <igk@igk.ru>2008-04-26 13:53:48 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-29 17:41:36 -0400
commit025052716d124ab6e5f23d6a535e843a31fb8b35 (patch)
tree492157def3907c7313f03652c7f16ac5e4d7921d /drivers/media
parent136531dac435828c4aa9ca694a7693b63a573be1 (diff)
V4L/DVB (7765): Add support for Beholder BeholdTV H6
Signed-off-by: Igor Kuznetsov <igk@igk.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/saa7134/saa7134-cards.c36
-rw-r--r--drivers/media/video/saa7134/saa7134-input.c1
-rw-r--r--drivers/media/video/saa7134/saa7134.h1
3 files changed, 38 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c
index 4046b23a3139..79ea0697b51d 100644
--- a/drivers/media/video/saa7134/saa7134-cards.c
+++ b/drivers/media/video/saa7134/saa7134-cards.c
@@ -4250,6 +4250,36 @@ struct saa7134_board saa7134_boards[] = {
4250 .amux = LINE1, 4250 .amux = LINE1,
4251 } }, 4251 } },
4252 }, 4252 },
4253 [SAA7134_BOARD_BEHOLD_H6] = {
4254 /* Igor Kuznetsov <igk@igk.ru> */
4255 .name = "Beholder BeholdTV H6",
4256 .audio_clock = 0x00187de7,
4257 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
4258 .radio_type = UNSET,
4259 .tuner_addr = ADDR_UNSET,
4260 .radio_addr = ADDR_UNSET,
4261 .tda9887_conf = TDA9887_PRESENT,
4262 .inputs = {{
4263 .name = name_tv,
4264 .vmux = 3,
4265 .amux = TV,
4266 .tv = 1,
4267 }, {
4268 .name = name_comp1,
4269 .vmux = 1,
4270 .amux = LINE1,
4271 }, {
4272 .name = name_svideo,
4273 .vmux = 8,
4274 .amux = LINE1,
4275 } },
4276 .radio = {
4277 .name = name_radio,
4278 .amux = LINE2,
4279 },
4280 /* no DVB support for now */
4281 /* .mpeg = SAA7134_MPEG_DVB, */
4282 },
4253}; 4283};
4254 4284
4255const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); 4285const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
@@ -5249,6 +5279,12 @@ struct pci_device_id saa7134_pci_tbl[] = {
5249 .subdevice = 0xc900, 5279 .subdevice = 0xc900,
5250 .driver_data = SAA7134_BOARD_VIDEOMATE_T750, 5280 .driver_data = SAA7134_BOARD_VIDEOMATE_T750,
5251 }, { 5281 }, {
5282 .vendor = PCI_VENDOR_ID_PHILIPS,
5283 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5284 .subvendor = 0x5ace,
5285 .subdevice = 0x6290,
5286 .driver_data = SAA7134_BOARD_BEHOLD_H6,
5287 }, {
5252 /* --- boards without eeprom + subsystem ID --- */ 5288 /* --- boards without eeprom + subsystem ID --- */
5253 .vendor = PCI_VENDOR_ID_PHILIPS, 5289 .vendor = PCI_VENDOR_ID_PHILIPS,
5254 .device = PCI_DEVICE_ID_PHILIPS_SAA7134, 5290 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
diff --git a/drivers/media/video/saa7134/saa7134-input.c b/drivers/media/video/saa7134/saa7134-input.c
index 767ff30832f2..919632b10aae 100644
--- a/drivers/media/video/saa7134/saa7134-input.c
+++ b/drivers/media/video/saa7134/saa7134-input.c
@@ -531,6 +531,7 @@ void saa7134_set_i2c_ir(struct saa7134_dev *dev, struct IR_i2c *ir)
531 break; 531 break;
532 case SAA7134_BOARD_BEHOLD_607_9FM: 532 case SAA7134_BOARD_BEHOLD_607_9FM:
533 case SAA7134_BOARD_BEHOLD_M6: 533 case SAA7134_BOARD_BEHOLD_M6:
534 case SAA7134_BOARD_BEHOLD_H6:
534 snprintf(ir->c.name, sizeof(ir->c.name), "BeholdTV"); 535 snprintf(ir->c.name, sizeof(ir->c.name), "BeholdTV");
535 ir->get_key = get_key_beholdm6xx; 536 ir->get_key = get_key_beholdm6xx;
536 ir->ir_codes = ir_codes_behold; 537 ir->ir_codes = ir_codes_behold;
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h
index 924ffd13637e..34ff0d4998f3 100644
--- a/drivers/media/video/saa7134/saa7134.h
+++ b/drivers/media/video/saa7134/saa7134.h
@@ -263,6 +263,7 @@ struct saa7134_format {
263#define SAA7134_BOARD_VIDEOMATE_T750 139 263#define SAA7134_BOARD_VIDEOMATE_T750 139
264#define SAA7134_BOARD_AVERMEDIA_A700_PRO 140 264#define SAA7134_BOARD_AVERMEDIA_A700_PRO 140
265#define SAA7134_BOARD_AVERMEDIA_A700_HYBRID 141 265#define SAA7134_BOARD_AVERMEDIA_A700_HYBRID 141
266#define SAA7134_BOARD_BEHOLD_H6 142
266 267
267 268
268#define SAA7134_MAXBOARDS 8 269#define SAA7134_MAXBOARDS 8