mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 09:44:18 +08:00
V4L/DVB (13209): cx23885: card mygica x8506 add analog video input support
Signed-off-by: David T. L. Wong <davidtlwong@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
fd705e7cd8
commit
bc1548adbe
@ -200,11 +200,51 @@ struct cx23885_board cx23885_boards[] = {
|
||||
},
|
||||
[CX23885_BOARD_MYGICA_X8506] = {
|
||||
.name = "Mygica X8506 DMB-TH",
|
||||
.tuner_type = TUNER_ABSENT,
|
||||
.porta = CX23885_ANALOG_VIDEO,
|
||||
.portb = CX23885_MPEG_DVB,
|
||||
.input = {
|
||||
{
|
||||
.type = CX23885_VMUX_COMPOSITE1,
|
||||
.vmux = CX25840_COMPOSITE8,
|
||||
},
|
||||
{
|
||||
.type = CX23885_VMUX_SVIDEO,
|
||||
.vmux = CX25840_SVIDEO_LUMA3 |
|
||||
CX25840_SVIDEO_CHROMA4,
|
||||
},
|
||||
{
|
||||
.type = CX23885_VMUX_COMPONENT,
|
||||
.vmux = CX25840_COMPONENT_ON |
|
||||
CX25840_VIN1_CH1 |
|
||||
CX25840_VIN6_CH2 |
|
||||
CX25840_VIN7_CH3,
|
||||
},
|
||||
},
|
||||
},
|
||||
[CX23885_BOARD_MAGICPRO_PROHDTVE2] = {
|
||||
.name = "Magic-Pro ProHDTV Extreme 2",
|
||||
.tuner_type = TUNER_ABSENT,
|
||||
.porta = CX23885_ANALOG_VIDEO,
|
||||
.portb = CX23885_MPEG_DVB,
|
||||
.input = {
|
||||
{
|
||||
.type = CX23885_VMUX_COMPOSITE1,
|
||||
.vmux = CX25840_COMPOSITE8,
|
||||
},
|
||||
{
|
||||
.type = CX23885_VMUX_SVIDEO,
|
||||
.vmux = CX25840_SVIDEO_LUMA3 |
|
||||
CX25840_SVIDEO_CHROMA4,
|
||||
},
|
||||
{
|
||||
.type = CX23885_VMUX_COMPONENT,
|
||||
.vmux = CX25840_COMPONENT_ON |
|
||||
CX25840_VIN1_CH1 |
|
||||
CX25840_VIN6_CH2 |
|
||||
CX25840_VIN7_CH3,
|
||||
},
|
||||
},
|
||||
},
|
||||
[CX23885_BOARD_HAUPPAUGE_HVR1850] = {
|
||||
.name = "Hauppauge WinTV-HVR1850",
|
||||
@ -970,6 +1010,8 @@ void cx23885_card_setup(struct cx23885_dev *dev)
|
||||
case CX23885_BOARD_NETUP_DUAL_DVBS2_CI:
|
||||
case CX23885_BOARD_COMPRO_VIDEOMATE_E800:
|
||||
case CX23885_BOARD_HAUPPAUGE_HVR1850:
|
||||
case CX23885_BOARD_MYGICA_X8506:
|
||||
case CX23885_BOARD_MAGICPRO_PROHDTVE2:
|
||||
dev->sd_cx25840 = v4l2_i2c_new_subdev(&dev->v4l2_dev,
|
||||
&dev->i2c_bus[2].i2c_adap,
|
||||
"cx25840", "cx25840", 0x88 >> 1, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user