diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-11-03 06:46:00 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 14:53:26 -0500 |
commit | 48fc6bb37ba8ee278a8cc647a4ef2bf529b519dd (patch) | |
tree | 20ce44a2c27731f6aef0b4f9e925b68e2e11c245 /drivers/media/video/ivtv/ivtv-cards.c | |
parent | 91121d9cfdeea84cdc837cb2f041dae735f5131c (diff) |
V4L/DVB (9508): ivtv: enable tuner support for Yuan PG600-2
The Yuan PG600-2 has a working tuner, so this can be enabled.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-cards.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-cards.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/drivers/media/video/ivtv/ivtv-cards.c b/drivers/media/video/ivtv/ivtv-cards.c index 4e05f91a9100..2883c8780760 100644 --- a/drivers/media/video/ivtv/ivtv-cards.c +++ b/drivers/media/video/ivtv/ivtv-cards.c | |||
@@ -877,20 +877,28 @@ static const struct ivtv_card_pci_info ivtv_pci_pg600v2[] = { | |||
877 | static const struct ivtv_card ivtv_card_pg600v2 = { | 877 | static const struct ivtv_card ivtv_card_pg600v2 = { |
878 | .type = IVTV_CARD_PG600V2, | 878 | .type = IVTV_CARD_PG600V2, |
879 | .name = "Yuan PG600-2, GotView PCI DVD Lite", | 879 | .name = "Yuan PG600-2, GotView PCI DVD Lite", |
880 | .comment = "only Composite and S-Video inputs are supported, not the tuner\n", | ||
881 | .v4l2_capabilities = IVTV_CAP_ENCODER, | 880 | .v4l2_capabilities = IVTV_CAP_ENCODER, |
882 | .hw_video = IVTV_HW_CX25840, | 881 | .hw_video = IVTV_HW_CX25840, |
883 | .hw_audio = IVTV_HW_CX25840, | 882 | .hw_audio = IVTV_HW_CX25840, |
884 | .hw_audio_ctrl = IVTV_HW_CX25840, | 883 | .hw_audio_ctrl = IVTV_HW_CX25840, |
885 | .hw_all = IVTV_HW_CX25840, | 884 | .hw_all = IVTV_HW_CX25840 | IVTV_HW_TUNER, |
885 | /* XC2028 support apparently works for the Yuan, it's still | ||
886 | uncertain whether it also works with the GotView. */ | ||
886 | .video_inputs = { | 887 | .video_inputs = { |
887 | { IVTV_CARD_INPUT_SVIDEO1, 0, | 888 | { IVTV_CARD_INPUT_VID_TUNER, 0, CX25840_COMPOSITE2 }, |
889 | { IVTV_CARD_INPUT_SVIDEO1, 1, | ||
888 | CX25840_SVIDEO_LUMA3 | CX25840_SVIDEO_CHROMA4 }, | 890 | CX25840_SVIDEO_LUMA3 | CX25840_SVIDEO_CHROMA4 }, |
889 | { IVTV_CARD_INPUT_COMPOSITE1, 0, CX25840_COMPOSITE1 }, | 891 | { IVTV_CARD_INPUT_COMPOSITE1, 1, CX25840_COMPOSITE1 }, |
890 | }, | 892 | }, |
891 | .audio_inputs = { | 893 | .audio_inputs = { |
894 | { IVTV_CARD_INPUT_AUD_TUNER, CX25840_AUDIO5 }, | ||
892 | { IVTV_CARD_INPUT_LINE_IN1, CX25840_AUDIO_SERIAL }, | 895 | { IVTV_CARD_INPUT_LINE_IN1, CX25840_AUDIO_SERIAL }, |
893 | }, | 896 | }, |
897 | .radio_input = { IVTV_CARD_INPUT_AUD_TUNER, CX25840_AUDIO5 }, | ||
898 | .xceive_pin = 12, | ||
899 | .tuners = { | ||
900 | { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 }, | ||
901 | }, | ||
894 | .pci_list = ivtv_pci_pg600v2, | 902 | .pci_list = ivtv_pci_pg600v2, |
895 | .i2c = &ivtv_i2c_std, | 903 | .i2c = &ivtv_i2c_std, |
896 | }; | 904 | }; |