diff options
author | Peter Missel <peter.missel@onlinehome.de> | 2006-01-23 06:51:17 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-01-23 14:06:26 -0500 |
commit | de7e8d78fca428c205ec1f81c0083570ec479c4e (patch) | |
tree | 52a0d51ee9c6e309cda4ab3538b24d9e2f772485 | |
parent | bd7db9790038c25e1726c93e2e88667f1d58c108 (diff) |
V4L/DVB (3409): Mark Typhoon cards as Lifeview OEM's
- Mark Typhoon cards as OEM of Lifeview.
Signed-off-by: Peter Missel <peter.missel@onlinehome.de>
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | Documentation/video4linux/CARDLIST.saa7134 | 6 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-cards.c | 47 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-dvb.c | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134.h | 2 |
4 files changed, 28 insertions, 29 deletions
diff --git a/Documentation/video4linux/CARDLIST.saa7134 b/Documentation/video4linux/CARDLIST.saa7134 index cb3a59bbeb17..8a352597830f 100644 --- a/Documentation/video4linux/CARDLIST.saa7134 +++ b/Documentation/video4linux/CARDLIST.saa7134 | |||
@@ -1,7 +1,7 @@ | |||
1 | 0 -> UNKNOWN/GENERIC | 1 | 0 -> UNKNOWN/GENERIC |
2 | 1 -> Proteus Pro [philips reference design] [1131:2001,1131:2001] | 2 | 1 -> Proteus Pro [philips reference design] [1131:2001,1131:2001] |
3 | 2 -> LifeView FlyVIDEO3000 [5168:0138,4e42:0138] | 3 | 2 -> LifeView FlyVIDEO3000 [5168:0138,4e42:0138] |
4 | 3 -> LifeView FlyVIDEO2000 [5168:0138] | 4 | 3 -> LifeView/Typhoon FlyVIDEO2000 [5168:0138,4e42:0138] |
5 | 4 -> EMPRESS [1131:6752] | 5 | 4 -> EMPRESS [1131:6752] |
6 | 5 -> SKNet Monster TV [1131:4e85] | 6 | 5 -> SKNet Monster TV [1131:4e85] |
7 | 6 -> Tevion MD 9717 | 7 | 6 -> Tevion MD 9717 |
@@ -53,12 +53,12 @@ | |||
53 | 52 -> AverMedia AverTV/305 [1461:2108] | 53 | 52 -> AverMedia AverTV/305 [1461:2108] |
54 | 53 -> ASUS TV-FM 7135 [1043:4845] | 54 | 53 -> ASUS TV-FM 7135 [1043:4845] |
55 | 54 -> LifeView FlyTV Platinum FM [5168:0214,1489:0214] | 55 | 54 -> LifeView FlyTV Platinum FM [5168:0214,1489:0214] |
56 | 55 -> LifeView FlyDVB-T DUO [5168:0502,5168:0306] | 56 | 55 -> LifeView FlyDVB-T DUO [5168:0306] |
57 | 56 -> Avermedia AVerTV 307 [1461:a70a] | 57 | 56 -> Avermedia AVerTV 307 [1461:a70a] |
58 | 57 -> Avermedia AVerTV GO 007 FM [1461:f31f] | 58 | 57 -> Avermedia AVerTV GO 007 FM [1461:f31f] |
59 | 58 -> ADS Tech Instant TV (saa7135) [1421:0350,1421:0351,1421:0370,1421:1370] | 59 | 58 -> ADS Tech Instant TV (saa7135) [1421:0350,1421:0351,1421:0370,1421:1370] |
60 | 59 -> Kworld/Tevion V-Stream Xpert TV PVR7134 | 60 | 59 -> Kworld/Tevion V-Stream Xpert TV PVR7134 |
61 | 60 -> Typhoon DVB-T Duo Digital/Analog Cardbus [4e42:0502] | 61 | 60 -> LifeView/Typhoon FlyDVB-T Duo Cardbus [5168:0502,4e42:0502] |
62 | 61 -> Philips TOUGH DVB-T reference design [1131:2004] | 62 | 61 -> Philips TOUGH DVB-T reference design [1131:2004] |
63 | 62 -> Compro VideoMate TV Gold+II | 63 | 62 -> Compro VideoMate TV Gold+II |
64 | 63 -> Kworld Xpert TV PVR7134 | 64 | 63 -> Kworld Xpert TV PVR7134 |
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index c64718aec9cb..5a35d3b6550d 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -136,7 +136,7 @@ struct saa7134_board saa7134_boards[] = { | |||
136 | }, | 136 | }, |
137 | [SAA7134_BOARD_FLYVIDEO2000] = { | 137 | [SAA7134_BOARD_FLYVIDEO2000] = { |
138 | /* "TC Wan" <tcwan@cs.usm.my> */ | 138 | /* "TC Wan" <tcwan@cs.usm.my> */ |
139 | .name = "LifeView FlyVIDEO2000", | 139 | .name = "LifeView/Typhoon FlyVIDEO2000", |
140 | .audio_clock = 0x00200000, | 140 | .audio_clock = 0x00200000, |
141 | .tuner_type = TUNER_LG_PAL_NEW_TAPC, | 141 | .tuner_type = TUNER_LG_PAL_NEW_TAPC, |
142 | .radio_type = UNSET, | 142 | .radio_type = UNSET, |
@@ -1884,44 +1884,38 @@ struct saa7134_board saa7134_boards[] = { | |||
1884 | .gpio = 0x000, | 1884 | .gpio = 0x000, |
1885 | }, | 1885 | }, |
1886 | }, | 1886 | }, |
1887 | [SAA7134_BOARD_THYPHOON_DVBT_DUO_CARDBUS] = { | 1887 | [SAA7134_BOARD_FLYDVBT_DUO_CARDBUS] = { |
1888 | .name = "Typhoon DVB-T Duo Digital/Analog Cardbus", | 1888 | .name = "LifeView/Typhoon FlyDVB-T Duo Cardbus", |
1889 | .audio_clock = 0x00200000, | 1889 | .audio_clock = 0x00200000, |
1890 | .tuner_type = TUNER_PHILIPS_TDA8290, | 1890 | .tuner_type = TUNER_PHILIPS_TDA8290, |
1891 | .radio_type = UNSET, | 1891 | .radio_type = UNSET, |
1892 | .tuner_addr = ADDR_UNSET, | 1892 | .tuner_addr = ADDR_UNSET, |
1893 | .radio_addr = ADDR_UNSET, | 1893 | .radio_addr = ADDR_UNSET, |
1894 | .mpeg = SAA7134_MPEG_DVB, | 1894 | .mpeg = SAA7134_MPEG_DVB, |
1895 | /* .gpiomask = 0xe000, */ | 1895 | .gpiomask = 0x00200000, |
1896 | .inputs = {{ | 1896 | .inputs = {{ |
1897 | .name = name_tv, | 1897 | .name = name_tv, |
1898 | .vmux = 1, | 1898 | .vmux = 1, |
1899 | .amux = TV, | 1899 | .amux = TV, |
1900 | /* .gpio = 0x0000, */ | 1900 | .gpio = 0x200000, /* GPIO21=High for TV input */ |
1901 | .tv = 1, | 1901 | .tv = 1, |
1902 | },{ | 1902 | },{ |
1903 | .name = name_svideo, /* S-Video signal on S-Video input */ | ||
1904 | .vmux = 8, | ||
1905 | .amux = LINE2, | ||
1906 | },{ | ||
1903 | .name = name_comp1, /* Composite signal on S-Video input */ | 1907 | .name = name_comp1, /* Composite signal on S-Video input */ |
1904 | .vmux = 0, | 1908 | .vmux = 0, |
1905 | .amux = LINE2, | 1909 | .amux = LINE2, |
1906 | /* .gpio = 0x4000, */ | ||
1907 | },{ | 1910 | },{ |
1908 | .name = name_comp2, /* Composite input */ | 1911 | .name = name_comp2, /* Composite input */ |
1909 | .vmux = 3, | 1912 | .vmux = 3, |
1910 | .amux = LINE2, | 1913 | .amux = LINE2, |
1911 | /* .gpio = 0x4000, */ | ||
1912 | },{ | ||
1913 | .name = name_svideo, /* S-Video signal on S-Video input */ | ||
1914 | .vmux = 8, | ||
1915 | .amux = LINE2, | ||
1916 | /* .gpio = 0x4000, */ | ||
1917 | }}, | 1914 | }}, |
1918 | .radio = { | 1915 | .radio = { |
1919 | .name = name_radio, | 1916 | .name = name_radio, |
1920 | .amux = LINE2, | 1917 | .amux = TV, |
1921 | }, | 1918 | .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */ |
1922 | .mute = { | ||
1923 | .name = name_mute, | ||
1924 | .amux = LINE1, | ||
1925 | }, | 1919 | }, |
1926 | }, | 1920 | }, |
1927 | [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII] = { | 1921 | [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII] = { |
@@ -2701,6 +2695,12 @@ struct pci_device_id saa7134_pci_tbl[] = { | |||
2701 | .driver_data = SAA7134_BOARD_FLYVIDEO2000, | 2695 | .driver_data = SAA7134_BOARD_FLYVIDEO2000, |
2702 | },{ | 2696 | },{ |
2703 | .vendor = PCI_VENDOR_ID_PHILIPS, | 2697 | .vendor = PCI_VENDOR_ID_PHILIPS, |
2698 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, | ||
2699 | .subvendor = 0x4e42, /* Typhoon */ | ||
2700 | .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */ | ||
2701 | .driver_data = SAA7134_BOARD_FLYVIDEO2000, | ||
2702 | },{ | ||
2703 | .vendor = PCI_VENDOR_ID_PHILIPS, | ||
2704 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | 2704 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
2705 | .subvendor = 0x5168, | 2705 | .subvendor = 0x5168, |
2706 | .subdevice = 0x0212, /* minipci, LR212 */ | 2706 | .subdevice = 0x0212, /* minipci, LR212 */ |
@@ -2935,7 +2935,7 @@ struct pci_device_id saa7134_pci_tbl[] = { | |||
2935 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | 2935 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
2936 | .subvendor = 0x5168, | 2936 | .subvendor = 0x5168, |
2937 | .subdevice = 0x0502, /* Cardbus version */ | 2937 | .subdevice = 0x0502, /* Cardbus version */ |
2938 | .driver_data = SAA7134_BOARD_FLYDVBTDUO, | 2938 | .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS, |
2939 | },{ | 2939 | },{ |
2940 | .vendor = PCI_VENDOR_ID_PHILIPS, | 2940 | .vendor = PCI_VENDOR_ID_PHILIPS, |
2941 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | 2941 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
@@ -2980,12 +2980,12 @@ struct pci_device_id saa7134_pci_tbl[] = { | |||
2980 | .subdevice = 0x1370, /* cardbus version */ | 2980 | .subdevice = 0x1370, /* cardbus version */ |
2981 | .driver_data = SAA7134_BOARD_ADS_INSTANT_TV, | 2981 | .driver_data = SAA7134_BOARD_ADS_INSTANT_TV, |
2982 | 2982 | ||
2983 | },{ /* Typhoon DVB-T Duo Digital/Analog Cardbus */ | 2983 | },{ |
2984 | .vendor = PCI_VENDOR_ID_PHILIPS, | 2984 | .vendor = PCI_VENDOR_ID_PHILIPS, |
2985 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | 2985 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
2986 | .subvendor = 0x4e42, | 2986 | .subvendor = 0x4e42, /* Typhoon */ |
2987 | .subdevice = 0x0502, | 2987 | .subdevice = 0x0502, /* LifeView LR502 OEM */ |
2988 | .driver_data = SAA7134_BOARD_THYPHOON_DVBT_DUO_CARDBUS, | 2988 | .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS, |
2989 | },{ | 2989 | },{ |
2990 | .vendor = PCI_VENDOR_ID_PHILIPS, | 2990 | .vendor = PCI_VENDOR_ID_PHILIPS, |
2991 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | 2991 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
@@ -3206,8 +3206,7 @@ int saa7134_board_init1(struct saa7134_dev *dev) | |||
3206 | saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000); | 3206 | saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000); |
3207 | saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004); | 3207 | saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004); |
3208 | break; | 3208 | break; |
3209 | case SAA7134_BOARD_FLYDVBTDUO: | 3209 | case SAA7134_BOARD_FLYDVBT_DUO_CARDBUS: |
3210 | case SAA7134_BOARD_THYPHOON_DVBT_DUO_CARDBUS: | ||
3211 | /* turn the fan on */ | 3210 | /* turn the fan on */ |
3212 | saa_writeb(SAA7134_GPIO_GPMODE3, 0x08); | 3211 | saa_writeb(SAA7134_GPIO_GPMODE3, 0x08); |
3213 | saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06); | 3212 | saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06); |
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c index 399f9952596c..1a536e865277 100644 --- a/drivers/media/video/saa7134/saa7134-dvb.c +++ b/drivers/media/video/saa7134/saa7134-dvb.c | |||
@@ -861,7 +861,7 @@ static int dvb_init(struct saa7134_dev *dev) | |||
861 | dev->dvb.frontend = tda10046_attach(&tda827x_lifeview_config, | 861 | dev->dvb.frontend = tda10046_attach(&tda827x_lifeview_config, |
862 | &dev->i2c_adap); | 862 | &dev->i2c_adap); |
863 | break; | 863 | break; |
864 | case SAA7134_BOARD_THYPHOON_DVBT_DUO_CARDBUS: | 864 | case SAA7134_BOARD_FLYDVBT_DUO_CARDBUS: |
865 | dev->dvb.frontend = tda10046_attach(&tda827x_lifeview_config, | 865 | dev->dvb.frontend = tda10046_attach(&tda827x_lifeview_config, |
866 | &dev->i2c_adap); | 866 | &dev->i2c_adap); |
867 | break; | 867 | break; |
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h index e70eae8d29bb..3261d8bebdd1 100644 --- a/drivers/media/video/saa7134/saa7134.h +++ b/drivers/media/video/saa7134/saa7134.h | |||
@@ -185,7 +185,7 @@ struct saa7134_format { | |||
185 | #define SAA7134_BOARD_AVERMEDIA_GO_007_FM 57 | 185 | #define SAA7134_BOARD_AVERMEDIA_GO_007_FM 57 |
186 | #define SAA7134_BOARD_ADS_INSTANT_TV 58 | 186 | #define SAA7134_BOARD_ADS_INSTANT_TV 58 |
187 | #define SAA7134_BOARD_KWORLD_VSTREAM_XPERT 59 | 187 | #define SAA7134_BOARD_KWORLD_VSTREAM_XPERT 59 |
188 | #define SAA7134_BOARD_THYPHOON_DVBT_DUO_CARDBUS 60 | 188 | #define SAA7134_BOARD_FLYDVBT_DUO_CARDBUS 60 |
189 | #define SAA7134_BOARD_PHILIPS_TOUGH 61 | 189 | #define SAA7134_BOARD_PHILIPS_TOUGH 61 |
190 | #define SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII 62 | 190 | #define SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII 62 |
191 | #define SAA7134_BOARD_KWORLD_XPERT 63 | 191 | #define SAA7134_BOARD_KWORLD_XPERT 63 |