diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-10-30 04:50:03 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:01:50 -0500 |
commit | e2a1774d9c8b866db65853fd1a17e5f472dd5cf2 (patch) | |
tree | b1269a546476bb6102b0b14c577b31ba5367df19 /drivers/media/video/ivtv/ivtv-cards.c | |
parent | 05e997197e459a03df577ba49c34c1820957ee4a (diff) |
V4L/DVB (6488): ivtv: add ASUS Falcon2 support
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-cards.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-cards.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-cards.c b/drivers/media/video/ivtv/ivtv-cards.c index aaa114b5c268..3211809fe0c8 100644 --- a/drivers/media/video/ivtv/ivtv-cards.c +++ b/drivers/media/video/ivtv/ivtv-cards.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include "ivtv-i2c.h" | 23 | #include "ivtv-i2c.h" |
24 | 24 | ||
25 | #include <media/msp3400.h> | 25 | #include <media/msp3400.h> |
26 | #include <media/m52790.h> | ||
26 | #include <media/wm8775.h> | 27 | #include <media/wm8775.h> |
27 | #include <media/cs53l32a.h> | 28 | #include <media/cs53l32a.h> |
28 | #include <media/cx25840.h> | 29 | #include <media/cx25840.h> |
@@ -915,6 +916,44 @@ static const struct ivtv_card ivtv_card_avertv_mce116 = { | |||
915 | .pci_list = ivtv_pci_avertv_mce116, | 916 | .pci_list = ivtv_pci_avertv_mce116, |
916 | }; | 917 | }; |
917 | 918 | ||
919 | /* ------------------------------------------------------------------------- */ | ||
920 | |||
921 | /* ASUS Falcon2 */ | ||
922 | |||
923 | static const struct ivtv_card_pci_info ivtv_pci_asus_falcon2[] = { | ||
924 | { PCI_DEVICE_ID_IVTV16, IVTV_PCI_ID_ASUSTEK, 0x4b66 }, | ||
925 | { PCI_DEVICE_ID_IVTV16, IVTV_PCI_ID_ASUSTEK, 0x462e }, | ||
926 | { PCI_DEVICE_ID_IVTV16, IVTV_PCI_ID_ASUSTEK, 0x4b2e }, | ||
927 | { 0, 0, 0 } | ||
928 | }; | ||
929 | |||
930 | static const struct ivtv_card ivtv_card_asus_falcon2 = { | ||
931 | .type = IVTV_CARD_ASUS_FALCON2, | ||
932 | .name = "ASUS Falcon2", | ||
933 | .v4l2_capabilities = IVTV_CAP_ENCODER, | ||
934 | .hw_video = IVTV_HW_CX25840, | ||
935 | .hw_audio = IVTV_HW_CX25840, | ||
936 | .hw_audio_ctrl = IVTV_HW_CX25840, | ||
937 | .hw_muxer = IVTV_HW_M52790, | ||
938 | .hw_all = IVTV_HW_CX25840 | IVTV_HW_M52790 | IVTV_HW_TUNER, | ||
939 | .video_inputs = { | ||
940 | { IVTV_CARD_INPUT_VID_TUNER, 0, CX25840_COMPOSITE2 }, | ||
941 | { IVTV_CARD_INPUT_SVIDEO1, 1, CX25840_SVIDEO3 }, | ||
942 | { IVTV_CARD_INPUT_COMPOSITE1, 2, CX25840_COMPOSITE2 }, | ||
943 | }, | ||
944 | .audio_inputs = { | ||
945 | { IVTV_CARD_INPUT_AUD_TUNER, CX25840_AUDIO5, M52790_IN_TUNER }, | ||
946 | { IVTV_CARD_INPUT_LINE_IN1, CX25840_AUDIO_SERIAL, | ||
947 | M52790_IN_V2 | M52790_SW1_YCMIX | M52790_SW2_YCMIX }, | ||
948 | { IVTV_CARD_INPUT_LINE_IN1, CX25840_AUDIO_SERIAL, M52790_IN_V2 }, | ||
949 | }, | ||
950 | .radio_input = { IVTV_CARD_INPUT_AUD_TUNER, CX25840_AUDIO_SERIAL, M52790_IN_TUNER }, | ||
951 | .tuners = { | ||
952 | { .std = V4L2_STD_525_60, .tuner = TUNER_PHILIPS_FM1236_MK3 }, | ||
953 | }, | ||
954 | .pci_list = ivtv_pci_asus_falcon2, | ||
955 | }; | ||
956 | |||
918 | static const struct ivtv_card *ivtv_card_list[] = { | 957 | static const struct ivtv_card *ivtv_card_list[] = { |
919 | &ivtv_card_pvr250, | 958 | &ivtv_card_pvr250, |
920 | &ivtv_card_pvr350, | 959 | &ivtv_card_pvr350, |
@@ -937,6 +976,7 @@ static const struct ivtv_card *ivtv_card_list[] = { | |||
937 | &ivtv_card_pg600v2, | 976 | &ivtv_card_pg600v2, |
938 | &ivtv_card_club3d, | 977 | &ivtv_card_club3d, |
939 | &ivtv_card_avertv_mce116, | 978 | &ivtv_card_avertv_mce116, |
979 | &ivtv_card_asus_falcon2, | ||
940 | 980 | ||
941 | /* Variations of standard cards but with the same PCI IDs. | 981 | /* Variations of standard cards but with the same PCI IDs. |
942 | These cards must come last in this list. */ | 982 | These cards must come last in this list. */ |