Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f39624fd authored by Manenti Marco's avatar Manenti Marco Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (3294): Add Kworld/Vstream Xpert DVB-T card with cx22702 tuner.



- Add Kworld/Vstream Xpert DVB-T card with cx22702 tuner.

Signed-off-by: default avatarManenti Marco <marco_manenti@colman.it>
Signed-off-by: default avatarNickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@brturbo.com.br>
parent b7f355d2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -41,3 +41,4 @@
 40 -> Hauppauge WinTV-HVR1100 DVB-T/Hybrid                [0070:9400,0070:9402]
 41 -> Hauppauge WinTV-HVR1100 DVB-T/Hybrid (Low Profile)  [0070:9800,0070:9802]
 42 -> digitalnow DNTV Live! DVB-T Pro                     [1822:0025]
 43 -> KWorld/VStream XPert DVB-T with cx22702             [17de:08a1]
+28 −1
Original line number Diff line number Diff line
@@ -1009,6 +1009,29 @@ struct cx88_board cx88_boards[] = {
		},
		.dvb            = 1,
	},
	[CX88_BOARD_KWORLD_DVB_T_CX22702] = {
		/* Kworld V-stream Xpert DVB-T with Thomson tuner */
		/* DTT 7579 Conexant CX22702-19 Conexant CX2388x  */
		/* Manenti Marco <marco_manenti@colman.it> */
		.name           = "KWorld/VStream XPert DVB-T with cx22702",
		.tuner_type     = TUNER_ABSENT,
		.radio_type     = UNSET,
		.tuner_addr	= ADDR_UNSET,
		.radio_addr	= ADDR_UNSET,
		.input          = {{
			.type   = CX88_VMUX_COMPOSITE1,
			.vmux   = 1,
			.gpio0  = 0x0700,
			.gpio2  = 0x0101,
		},{
			.type   = CX88_VMUX_SVIDEO,
			.vmux   = 2,
			.gpio0  = 0x0700,
			.gpio2  = 0x0101,
		}},
		.dvb            = 1,
	},

};
const unsigned int cx88_bcount = ARRAY_SIZE(cx88_boards);

@@ -1196,7 +1219,11 @@ struct cx88_subid cx88_subids[] = {
		.subvendor = 0x1822,
		.subdevice = 0x0025,
		.card      = CX88_BOARD_DNTV_LIVE_DVB_T_PRO,
	},
	},{
	       .subvendor = 0x17de,
	       .subdevice = 0x08a1,
	       .card      = CX88_BOARD_KWORLD_DVB_T_CX22702,
       }
};
const unsigned int cx88_idcount = ARRAY_SIZE(cx88_subids);

+1 −0
Original line number Diff line number Diff line
@@ -439,6 +439,7 @@ static int dvb_register(struct cx8802_dev *dev)
		break;
	case CX88_BOARD_TERRATEC_CINERGY_1400_DVB_T1:
	case CX88_BOARD_CONEXANT_DVB_T1:
	case CX88_BOARD_KWORLD_DVB_T_CX22702:
	case CX88_BOARD_WINFAST_DTV1000:
		dev->dvb.frontend = cx22702_attach(&connexant_refboard_config,
						   &dev->core->i2c_adap);
+1 −0
Original line number Diff line number Diff line
@@ -185,6 +185,7 @@ extern struct sram_channel cx88_sram_channels[];
#define CX88_BOARD_HAUPPAUGE_HVR1100       40
#define CX88_BOARD_HAUPPAUGE_HVR1100LP     41
#define CX88_BOARD_DNTV_LIVE_DVB_T_PRO     42
#define CX88_BOARD_KWORLD_DVB_T_CX22702    43

enum cx88_itype {
	CX88_VMUX_COMPOSITE1 = 1,