diff options
author | Hartmut Hackmann <hartmut.hackmann@t.online.de> | 2005-11-09 00:38:42 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:56:30 -0500 |
commit | 90e9df7f186876584b938e01fcf7f40a50c950b9 (patch) | |
tree | 630e9515da682fc1a29006ec89a9f008f1c4ae02 /drivers/media/video/saa7134/saa7134-cards.c | |
parent | 12b0e1df5c10a094a4475439a484307478c4c607 (diff) |
[PATCH] V4L: 904: added dvb support for tda8275a philips tiger reference design
Added dvb support for tda8275a (Philips Tiger reference design)
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t.online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-cards.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-cards.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index 9e1c51c08f21..d9b3fb0f3eff 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -2490,6 +2490,29 @@ struct saa7134_board saa7134_boards[] = { | |||
2490 | .amux = LINE1, | 2490 | .amux = LINE1, |
2491 | }}, | 2491 | }}, |
2492 | }, | 2492 | }, |
2493 | [SAA7134_BOARD_PHILIPS_TIGER] = { | ||
2494 | .name = "Philips Tiger reference design", | ||
2495 | .audio_clock = 0x00187de7, | ||
2496 | .tuner_type = TUNER_PHILIPS_TDA8290, | ||
2497 | .radio_type = UNSET, | ||
2498 | .tuner_addr = ADDR_UNSET, | ||
2499 | .radio_addr = ADDR_UNSET, | ||
2500 | .mpeg = SAA7134_MPEG_DVB, | ||
2501 | .inputs = {{ | ||
2502 | .name = name_tv, | ||
2503 | .vmux = 1, | ||
2504 | .amux = TV, | ||
2505 | .tv = 1, | ||
2506 | },{ | ||
2507 | .name = name_comp1, | ||
2508 | .vmux = 3, | ||
2509 | .amux = LINE1, | ||
2510 | },{ | ||
2511 | .name = name_svideo, | ||
2512 | .vmux = 8, | ||
2513 | .amux = LINE1, | ||
2514 | }}, | ||
2515 | }, | ||
2493 | }; | 2516 | }; |
2494 | 2517 | ||
2495 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); | 2518 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); |
@@ -2919,6 +2942,12 @@ struct pci_device_id saa7134_pci_tbl[] = { | |||
2919 | .subvendor = 0x1043, | 2942 | .subvendor = 0x1043, |
2920 | .subdevice = 0x4862, | 2943 | .subdevice = 0x4862, |
2921 | .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL, | 2944 | .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL, |
2945 | },{ | ||
2946 | .vendor = PCI_VENDOR_ID_PHILIPS, | ||
2947 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | ||
2948 | .subvendor = PCI_VENDOR_ID_PHILIPS, | ||
2949 | .subdevice = 0x2018, | ||
2950 | .driver_data = SAA7134_BOARD_PHILIPS_TIGER, | ||
2922 | },{ | 2951 | },{ |
2923 | /* --- boards without eeprom + subsystem ID --- */ | 2952 | /* --- boards without eeprom + subsystem ID --- */ |
2924 | .vendor = PCI_VENDOR_ID_PHILIPS, | 2953 | .vendor = PCI_VENDOR_ID_PHILIPS, |
@@ -3177,6 +3206,14 @@ int saa7134_board_init2(struct saa7134_dev *dev) | |||
3177 | saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup); | 3206 | saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup); |
3178 | } | 3207 | } |
3179 | break; | 3208 | break; |
3209 | case SAA7134_BOARD_PHILIPS_TIGER: | ||
3210 | /* this is a hybrid board, initialize to analog mode */ | ||
3211 | { | ||
3212 | u8 data[] = { 0x3c, 0x33, 0x68}; | ||
3213 | struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; | ||
3214 | i2c_transfer(&dev->i2c_adap, &msg, 1); | ||
3215 | } | ||
3216 | break; | ||
3180 | } | 3217 | } |
3181 | return 0; | 3218 | return 0; |
3182 | } | 3219 | } |