Commit 7cb47a14 authored by Daniel Gimpelevich's avatar Daniel Gimpelevich Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (5685): Cx88: add support for ADS Tech Instant Video PCI

parent 8083c520
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -55,3 +55,4 @@
 54 -> Norwood Micro TV Tuner
 55 -> Shenzhen Tungsten Ages Tech TE-DTV-250 / Swann OEM  [c180:c980]
 56 -> Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder   [0070:9600,0070:9601,0070:9602]
 57 -> ADS Tech Instant Video PCI                          [1421:0390]
+24 −0
Original line number Diff line number Diff line
@@ -1335,6 +1335,26 @@ struct cx88_board cx88_boards[] = {
		/* fixme: Add radio support */
		.mpeg           = CX88_MPEG_DVB | CX88_MPEG_BLACKBIRD,
	},
	[CX88_BOARD_ADSTECH_PTV_390] = {
		.name           = "ADS Tech Instant Video PCI",
		.tuner_type     = TUNER_ABSENT,
		.radio_type     = UNSET,
		.tuner_addr     = ADDR_UNSET,
		.radio_addr     = ADDR_UNSET,
		.input          = {{
			.type   = CX88_VMUX_DEBUG,
			.vmux   = 3,
			.gpio0  = 0x04ff,
		},{
			.type   = CX88_VMUX_COMPOSITE1,
			.vmux   = 1,
			.gpio0  = 0x07fa,
		},{
			.type   = CX88_VMUX_SVIDEO,
			.vmux   = 2,
			.gpio0  = 0x07fa,
		}},
	},
};
const unsigned int cx88_bcount = ARRAY_SIZE(cx88_boards);

@@ -1641,6 +1661,10 @@ struct cx88_subid cx88_subids[] = {
		.subvendor = 0x1421,
		.subdevice = 0x0341, /* ADS Tech InstantTV DVB-S */
		.card      = CX88_BOARD_KWORLD_DVBS_100,
	},{
		.subvendor = 0x1421,
		.subdevice = 0x0390,
		.card      = CX88_BOARD_ADSTECH_PTV_390,
	},
};
const unsigned int cx88_idcount = ARRAY_SIZE(cx88_subids);
+1 −0
Original line number Diff line number Diff line
@@ -209,6 +209,7 @@ extern struct sram_channel cx88_sram_channels[];
#define CX88_BOARD_NORWOOD_MICRO           54
#define CX88_BOARD_TE_DTV_250_OEM_SWANN    55
#define CX88_BOARD_HAUPPAUGE_HVR1300       56
#define CX88_BOARD_ADSTECH_PTV_390         57

enum cx88_itype {
	CX88_VMUX_COMPOSITE1 = 1,