diff options
author | Dmitry Belimov <d.belimov@gmail.com> | 2008-06-10 13:22:00 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:09:08 -0400 |
commit | 878cf2a5d86c7045b480f09b56b96a779449b0f6 (patch) | |
tree | 37688ae41a1c5675d6118a148768b324ba8cc2a1 /drivers/media/video/saa7134 | |
parent | 37df96d39eefd0c1db69a336895c4691d2bc63a1 (diff) |
V4L/DVB (8021): Beholder's cards description
Split the Beholder M6 family to different models. Because M6 hasn`t RDS, M63
has chip with AC3 codec, M6 Extra has other type of HF module.
Add correct data for support MPEG encoder.
Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7134')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-cards.c | 95 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-input.c | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134.h | 3 |
3 files changed, 92 insertions, 8 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index 2618cfa592e7..6c53168f20f7 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -3940,32 +3940,111 @@ struct saa7134_board saa7134_boards[] = { | |||
3940 | [SAA7134_BOARD_BEHOLD_M6] = { | 3940 | [SAA7134_BOARD_BEHOLD_M6] = { |
3941 | /* Igor Kuznetsov <igk@igk.ru> */ | 3941 | /* Igor Kuznetsov <igk@igk.ru> */ |
3942 | /* Andrey Melnikoff <temnota@kmv.ru> */ | 3942 | /* Andrey Melnikoff <temnota@kmv.ru> */ |
3943 | .name = "Beholder BeholdTV M6 / BeholdTV M6 Extra", | 3943 | /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */ |
3944 | .name = "Beholder BeholdTV M6", | ||
3944 | .audio_clock = 0x00187de7, | 3945 | .audio_clock = 0x00187de7, |
3945 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, | 3946 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, |
3946 | .radio_type = UNSET, | 3947 | .radio_type = UNSET, |
3947 | .tuner_addr = ADDR_UNSET, | 3948 | .tuner_addr = ADDR_UNSET, |
3948 | .radio_addr = ADDR_UNSET, | 3949 | .radio_addr = ADDR_UNSET, |
3949 | .tda9887_conf = TDA9887_PRESENT, | 3950 | .tda9887_conf = TDA9887_PRESENT, |
3950 | .inputs = {{ | 3951 | .inputs = { { |
3951 | .name = name_tv, | 3952 | .name = name_tv, |
3952 | .vmux = 3, | 3953 | .vmux = 3, |
3953 | .amux = TV, | 3954 | .amux = TV, |
3954 | .tv = 1, | 3955 | .tv = 1, |
3955 | },{ | 3956 | }, { |
3956 | .name = name_comp1, | 3957 | .name = name_comp1, |
3957 | .vmux = 1, | 3958 | .vmux = 1, |
3958 | .amux = LINE1, | 3959 | .amux = LINE1, |
3959 | },{ | 3960 | }, { |
3960 | .name = name_svideo, | 3961 | .name = name_svideo, |
3961 | .vmux = 8, | 3962 | .vmux = 8, |
3962 | .amux = LINE1, | 3963 | .amux = LINE1, |
3963 | }}, | 3964 | } }, |
3964 | .radio = { | 3965 | .radio = { |
3965 | .name = name_radio, | 3966 | .name = name_radio, |
3966 | .amux = LINE2, | 3967 | .amux = LINE2, |
3967 | }, | 3968 | }, |
3968 | .mpeg = SAA7134_MPEG_EMPRESS, | 3969 | .mpeg = SAA7134_MPEG_EMPRESS, |
3970 | .video_out = CCIR656, | ||
3971 | .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED | | ||
3972 | SET_CLOCK_NOT_DELAYED | | ||
3973 | SET_CLOCK_INVERTED | | ||
3974 | SET_VSYNC_OFF), | ||
3975 | }, | ||
3976 | [SAA7134_BOARD_BEHOLD_M63] = { | ||
3977 | /* Igor Kuznetsov <igk@igk.ru> */ | ||
3978 | /* Andrey Melnikoff <temnota@kmv.ru> */ | ||
3979 | /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */ | ||
3980 | .name = "Beholder BeholdTV M63", | ||
3981 | .audio_clock = 0x00187de7, | ||
3982 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, | ||
3983 | .radio_type = UNSET, | ||
3984 | .tuner_addr = ADDR_UNSET, | ||
3985 | .radio_addr = ADDR_UNSET, | ||
3986 | .tda9887_conf = TDA9887_PRESENT, | ||
3987 | .inputs = { { | ||
3988 | .name = name_tv, | ||
3989 | .vmux = 3, | ||
3990 | .amux = TV, | ||
3991 | .tv = 1, | ||
3992 | }, { | ||
3993 | .name = name_comp1, | ||
3994 | .vmux = 1, | ||
3995 | .amux = LINE1, | ||
3996 | }, { | ||
3997 | .name = name_svideo, | ||
3998 | .vmux = 8, | ||
3999 | .amux = LINE1, | ||
4000 | } }, | ||
4001 | .radio = { | ||
4002 | .name = name_radio, | ||
4003 | .amux = LINE2, | ||
4004 | }, | ||
4005 | .mpeg = SAA7134_MPEG_EMPRESS, | ||
4006 | .video_out = CCIR656, | ||
4007 | .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED | | ||
4008 | SET_CLOCK_NOT_DELAYED | | ||
4009 | SET_CLOCK_INVERTED | | ||
4010 | SET_VSYNC_OFF), | ||
4011 | }, | ||
4012 | [SAA7134_BOARD_BEHOLD_M6_EXTRA] = { | ||
4013 | /* Igor Kuznetsov <igk@igk.ru> */ | ||
4014 | /* Andrey Melnikoff <temnota@kmv.ru> */ | ||
4015 | /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */ | ||
4016 | .name = "Beholder BeholdTV M6 Extra", | ||
4017 | .audio_clock = 0x00187de7, | ||
4018 | /* FIXME: Must be PHILIPS_FM1216ME_MK5*/ | ||
4019 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, | ||
4020 | .radio_type = UNSET, | ||
4021 | .tuner_addr = ADDR_UNSET, | ||
4022 | .radio_addr = ADDR_UNSET, | ||
4023 | .tda9887_conf = TDA9887_PRESENT, | ||
4024 | .inputs = { { | ||
4025 | .name = name_tv, | ||
4026 | .vmux = 3, | ||
4027 | .amux = TV, | ||
4028 | .tv = 1, | ||
4029 | }, { | ||
4030 | .name = name_comp1, | ||
4031 | .vmux = 1, | ||
4032 | .amux = LINE1, | ||
4033 | }, { | ||
4034 | .name = name_svideo, | ||
4035 | .vmux = 8, | ||
4036 | .amux = LINE1, | ||
4037 | } }, | ||
4038 | .radio = { | ||
4039 | .name = name_radio, | ||
4040 | .amux = LINE2, | ||
4041 | }, | ||
4042 | .mpeg = SAA7134_MPEG_EMPRESS, | ||
4043 | .video_out = CCIR656, | ||
4044 | .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED | | ||
4045 | SET_CLOCK_NOT_DELAYED | | ||
4046 | SET_CLOCK_INVERTED | | ||
4047 | SET_VSYNC_OFF), | ||
3969 | }, | 4048 | }, |
3970 | [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = { | 4049 | [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = { |
3971 | .name = "Twinhan Hybrid DTV-DVB 3056 PCI", | 4050 | .name = "Twinhan Hybrid DTV-DVB 3056 PCI", |
@@ -5226,13 +5305,13 @@ struct pci_device_id saa7134_pci_tbl[] = { | |||
5226 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | 5305 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
5227 | .subvendor = 0x5ace, | 5306 | .subvendor = 0x5ace, |
5228 | .subdevice = 0x6193, | 5307 | .subdevice = 0x6193, |
5229 | .driver_data = SAA7134_BOARD_BEHOLD_M6, | 5308 | .driver_data = SAA7134_BOARD_BEHOLD_M6_EXTRA, |
5230 | }, { | 5309 | }, { |
5231 | .vendor = PCI_VENDOR_ID_PHILIPS, | 5310 | .vendor = PCI_VENDOR_ID_PHILIPS, |
5232 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | 5311 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
5233 | .subvendor = 0x5ace, | 5312 | .subvendor = 0x5ace, |
5234 | .subdevice = 0x6191, | 5313 | .subdevice = 0x6191, |
5235 | .driver_data = SAA7134_BOARD_BEHOLD_M6, | 5314 | .driver_data = SAA7134_BOARD_BEHOLD_M63, |
5236 | },{ | 5315 | },{ |
5237 | .vendor = PCI_VENDOR_ID_PHILIPS, | 5316 | .vendor = PCI_VENDOR_ID_PHILIPS, |
5238 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | 5317 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
@@ -5601,6 +5680,8 @@ int saa7134_board_init1(struct saa7134_dev *dev) | |||
5601 | case SAA7134_BOARD_HAUPPAUGE_HVR1110: | 5680 | case SAA7134_BOARD_HAUPPAUGE_HVR1110: |
5602 | case SAA7134_BOARD_BEHOLD_607_9FM: | 5681 | case SAA7134_BOARD_BEHOLD_607_9FM: |
5603 | case SAA7134_BOARD_BEHOLD_M6: | 5682 | case SAA7134_BOARD_BEHOLD_M6: |
5683 | case SAA7134_BOARD_BEHOLD_M63: | ||
5684 | case SAA7134_BOARD_BEHOLD_M6_EXTRA: | ||
5604 | dev->has_remote = SAA7134_REMOTE_I2C; | 5685 | dev->has_remote = SAA7134_REMOTE_I2C; |
5605 | break; | 5686 | break; |
5606 | case SAA7134_BOARD_AVERMEDIA_A169_B: | 5687 | case SAA7134_BOARD_AVERMEDIA_A169_B: |
diff --git a/drivers/media/video/saa7134/saa7134-input.c b/drivers/media/video/saa7134/saa7134-input.c index 76e6501d238d..6edabc06e6d0 100644 --- a/drivers/media/video/saa7134/saa7134-input.c +++ b/drivers/media/video/saa7134/saa7134-input.c | |||
@@ -540,6 +540,8 @@ void saa7134_set_i2c_ir(struct saa7134_dev *dev, struct IR_i2c *ir) | |||
540 | break; | 540 | break; |
541 | case SAA7134_BOARD_BEHOLD_607_9FM: | 541 | case SAA7134_BOARD_BEHOLD_607_9FM: |
542 | case SAA7134_BOARD_BEHOLD_M6: | 542 | case SAA7134_BOARD_BEHOLD_M6: |
543 | case SAA7134_BOARD_BEHOLD_M63: | ||
544 | case SAA7134_BOARD_BEHOLD_M6_EXTRA: | ||
543 | case SAA7134_BOARD_BEHOLD_H6: | 545 | case SAA7134_BOARD_BEHOLD_H6: |
544 | snprintf(ir->c.name, sizeof(ir->c.name), "BeholdTV"); | 546 | snprintf(ir->c.name, sizeof(ir->c.name), "BeholdTV"); |
545 | ir->get_key = get_key_beholdm6xx; | 547 | ir->get_key = get_key_beholdm6xx; |
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h index 34ff0d4998f3..0a94be7afc1e 100644 --- a/drivers/media/video/saa7134/saa7134.h +++ b/drivers/media/video/saa7134/saa7134.h | |||
@@ -264,7 +264,8 @@ struct saa7134_format { | |||
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 | #define SAA7134_BOARD_BEHOLD_H6 142 |
267 | 267 | #define SAA7134_BOARD_BEHOLD_M63 143 | |
268 | #define SAA7134_BOARD_BEHOLD_M6_EXTRA 144 | ||
268 | 269 | ||
269 | #define SAA7134_MAXBOARDS 8 | 270 | #define SAA7134_MAXBOARDS 8 |
270 | #define SAA7134_INPUT_MAX 8 | 271 | #define SAA7134_INPUT_MAX 8 |