aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Marconi <am@massalombarda.net>2006-05-09 17:27:48 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 01:00:25 -0400
commita31246220c4681387799d435ee1d48e65db6d5f6 (patch)
tree762d8a761bf499b3ac1e7faf2d2cffe363704801
parent8397703ee0cc9ca27df5c058f60c4d4f1dc69595 (diff)
V4L/DVB (4016): Cx88-blackbird: add support for ProLink Pixelview Playtv@P7000
- Add support for ProLink Pixelview Playtv@P7000 Raw video and MPEG encoded video confirmed to work properly. SVideo, Composite and FM inputs are untested - disabled for now. Signed-off-by: Angelo Marconi <am@massalombarda.net> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--Documentation/video4linux/CARDLIST.cx881
-rw-r--r--drivers/media/video/cx88/cx88-cards.c20
-rw-r--r--drivers/media/video/cx88/cx88-tvaudio.c1
-rw-r--r--drivers/media/video/cx88/cx88.h1
4 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/video4linux/CARDLIST.cx88 b/Documentation/video4linux/CARDLIST.cx88
index db091e817227..249885c6c662 100644
--- a/Documentation/video4linux/CARDLIST.cx88
+++ b/Documentation/video4linux/CARDLIST.cx88
@@ -47,3 +47,4 @@
47 46 -> DViCO FusionHDTV DVB-T Hybrid [18ac:db40,18ac:db44] 47 46 -> DViCO FusionHDTV DVB-T Hybrid [18ac:db40,18ac:db44]
48 47 -> pcHDTV HD5500 HDTV [7063:5500] 48 47 -> pcHDTV HD5500 HDTV [7063:5500]
49 48 -> Kworld MCE 200 Deluxe [17de:0841] 49 48 -> Kworld MCE 200 Deluxe [17de:0841]
50 49 -> PixelView PlayTV P7000 [1554:4813]
diff --git a/drivers/media/video/cx88/cx88-cards.c b/drivers/media/video/cx88/cx88-cards.c
index 7199169cd14f..16cd6434f2b1 100644
--- a/drivers/media/video/cx88/cx88-cards.c
+++ b/drivers/media/video/cx88/cx88-cards.c
@@ -1132,6 +1132,22 @@ struct cx88_board cx88_boards[] = {
1132 }}, 1132 }},
1133 .blackbird = 1, 1133 .blackbird = 1,
1134 }, 1134 },
1135 [CX88_BOARD_PIXELVIEW_PLAYTV_P7000] = {
1136 /* FIXME: SVideo, Composite and FM inputs are untested */
1137 .name = "PixelView PlayTV P7000",
1138 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
1139 .radio_type = UNSET,
1140 .tuner_addr = ADDR_UNSET,
1141 .radio_addr = ADDR_UNSET,
1142 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE |
1143 TDA9887_PORT2_ACTIVE,
1144 .input = {{
1145 .type = CX88_VMUX_TELEVISION,
1146 .vmux = 0,
1147 .gpio0 = 0x5da6,
1148 }},
1149 .blackbird = 1,
1150 },
1135}; 1151};
1136const unsigned int cx88_bcount = ARRAY_SIZE(cx88_boards); 1152const unsigned int cx88_bcount = ARRAY_SIZE(cx88_boards);
1137 1153
@@ -1361,6 +1377,10 @@ struct cx88_subid cx88_subids[] = {
1361 .subvendor = 0x1822, 1377 .subvendor = 0x1822,
1362 .subdevice = 0x0019, 1378 .subdevice = 0x0019,
1363 .card = CX88_BOARD_DNTV_LIVE_DVB_T_PRO, 1379 .card = CX88_BOARD_DNTV_LIVE_DVB_T_PRO,
1380 },{
1381 .subvendor = 0x1554,
1382 .subdevice = 0x4813,
1383 .card = CX88_BOARD_PIXELVIEW_PLAYTV_P7000,
1364 }, 1384 },
1365}; 1385};
1366const unsigned int cx88_idcount = ARRAY_SIZE(cx88_subids); 1386const unsigned int cx88_idcount = ARRAY_SIZE(cx88_subids);
diff --git a/drivers/media/video/cx88/cx88-tvaudio.c b/drivers/media/video/cx88/cx88-tvaudio.c
index 04d0635695d7..256ae8515d2b 100644
--- a/drivers/media/video/cx88/cx88-tvaudio.c
+++ b/drivers/media/video/cx88/cx88-tvaudio.c
@@ -152,6 +152,7 @@ static void set_audio_finish(struct cx88_core *core, u32 ctl)
152 case CX88_BOARD_HAUPPAUGE_ROSLYN: 152 case CX88_BOARD_HAUPPAUGE_ROSLYN:
153 case CX88_BOARD_KWORLD_MCE200_DELUXE: 153 case CX88_BOARD_KWORLD_MCE200_DELUXE:
154 case CX88_BOARD_KWORLD_HARDWARE_MPEG_TV_XPERT: 154 case CX88_BOARD_KWORLD_HARDWARE_MPEG_TV_XPERT:
155 case CX88_BOARD_PIXELVIEW_PLAYTV_P7000:
155 cx_clear(AUD_CTL, EN_I2SIN_ENABLE); 156 cx_clear(AUD_CTL, EN_I2SIN_ENABLE);
156 break; 157 break;
157 default: 158 default:
diff --git a/drivers/media/video/cx88/cx88.h b/drivers/media/video/cx88/cx88.h
index 411bb9f39c77..663def46f67c 100644
--- a/drivers/media/video/cx88/cx88.h
+++ b/drivers/media/video/cx88/cx88.h
@@ -191,6 +191,7 @@ extern struct sram_channel cx88_sram_channels[];
191#define CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_HYBRID 46 191#define CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_HYBRID 46
192#define CX88_BOARD_PCHDTV_HD5500 47 192#define CX88_BOARD_PCHDTV_HD5500 47
193#define CX88_BOARD_KWORLD_MCE200_DELUXE 48 193#define CX88_BOARD_KWORLD_MCE200_DELUXE 48
194#define CX88_BOARD_PIXELVIEW_PLAYTV_P7000 49
194 195
195enum cx88_itype { 196enum cx88_itype {
196 CX88_VMUX_COMPOSITE1 = 1, 197 CX88_VMUX_COMPOSITE1 = 1,