V4L/DVB (11486): em28xx: Add EmpireTV board support
Added EmpireTV entry. Thanks to Xwang <xwang1976@email.it> to provide data for this board. Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
ebf58f70e8
commit
e5db5d4443
|
@ -61,3 +61,4 @@
|
|||
63 -> Kaiomy TVnPC U2 (em2860) [eb1a:e303]
|
||||
64 -> Easy Cap Capture DC-60 (em2860)
|
||||
65 -> IO-DATA GV-MVP/SZ (em2820/em2840) [04bb:0515]
|
||||
66 -> Empire dual TV (em2880)
|
||||
|
|
|
@ -1095,6 +1095,31 @@ struct em28xx_board em28xx_boards[] = {
|
|||
.gpio = default_analog,
|
||||
} },
|
||||
},
|
||||
[EM2880_BOARD_EMPIRE_DUAL_TV] = {
|
||||
.name = "Empire dual TV",
|
||||
.tuner_type = TUNER_XC2028,
|
||||
.tuner_gpio = default_tuner_gpio,
|
||||
.has_dvb = 1,
|
||||
.dvb_gpio = default_digital,
|
||||
.mts_firmware = 1,
|
||||
.decoder = EM28XX_TVP5150,
|
||||
.input = { {
|
||||
.type = EM28XX_VMUX_TELEVISION,
|
||||
.vmux = TVP5150_COMPOSITE0,
|
||||
.amux = EM28XX_AMUX_VIDEO,
|
||||
.gpio = default_analog,
|
||||
}, {
|
||||
.type = EM28XX_VMUX_COMPOSITE1,
|
||||
.vmux = TVP5150_COMPOSITE1,
|
||||
.amux = EM28XX_AMUX_LINE_IN,
|
||||
.gpio = default_analog,
|
||||
}, {
|
||||
.type = EM28XX_VMUX_SVIDEO,
|
||||
.vmux = TVP5150_SVIDEO,
|
||||
.amux = EM28XX_AMUX_LINE_IN,
|
||||
.gpio = default_analog,
|
||||
} },
|
||||
},
|
||||
[EM2881_BOARD_DNT_DA2_HYBRID] = {
|
||||
.name = "DNT DA2 Hybrid",
|
||||
.valid = EM28XX_BOARD_NOT_VALIDATED,
|
||||
|
@ -1437,6 +1462,7 @@ static struct em28xx_hash_table em28xx_eeprom_hash[] = {
|
|||
{0x6ce05a8f, EM2820_BOARD_PROLINK_PLAYTV_USB2, TUNER_YMEC_TVF_5533MF},
|
||||
{0x72cc5a8b, EM2820_BOARD_PROLINK_PLAYTV_BOX4_USB2, TUNER_YMEC_TVF_5533MF},
|
||||
{0x966a0441, EM2880_BOARD_KWORLD_DVB_310U, TUNER_XC2028},
|
||||
{0x9567eb1a, EM2880_BOARD_EMPIRE_DUAL_TV, TUNER_XC2028},
|
||||
};
|
||||
|
||||
/* I2C devicelist hash table for devices with generic USB IDs */
|
||||
|
@ -1664,6 +1690,7 @@ static void em28xx_setup_xc3028(struct em28xx *dev, struct xc2028_ctrl *ctl)
|
|||
ctl->mts = em28xx_boards[dev->model].mts_firmware;
|
||||
|
||||
switch (dev->model) {
|
||||
case EM2880_BOARD_EMPIRE_DUAL_TV:
|
||||
case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900:
|
||||
ctl->demod = XC3028_FE_ZARLINK456;
|
||||
break;
|
||||
|
|
|
@ -431,6 +431,7 @@ static int dvb_init(struct em28xx *dev)
|
|||
case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900:
|
||||
case EM2880_BOARD_TERRATEC_HYBRID_XS:
|
||||
case EM2880_BOARD_KWORLD_DVB_310U:
|
||||
case EM2880_BOARD_EMPIRE_DUAL_TV:
|
||||
dvb->frontend = dvb_attach(zl10353_attach,
|
||||
&em28xx_zl10353_with_xc3028,
|
||||
&dev->i2c_adap);
|
||||
|
|
|
@ -102,6 +102,7 @@
|
|||
#define EM2860_BOARD_KAIOMY_TVNPC_U2 63
|
||||
#define EM2860_BOARD_EASYCAP 64
|
||||
#define EM2820_BOARD_IODATA_GVMVP_SZ 65
|
||||
#define EM2880_BOARD_EMPIRE_DUAL_TV 66
|
||||
|
||||
/* Limits minimum and default number of buffers */
|
||||
#define EM28XX_MIN_BUF 4
|
||||
|
|
Loading…
Reference in New Issue