V4L/DVB (9057): saa7134: Hauppauge HVR-1110, support for radio and analog audio in

The audio switch is at 0x100 and radio on gpio 21.

Tested-by: Thomas Genty <tomlohave@gmail.com>
Signed-off-by: David Bentham <db260179@hotmail.com>
Reviewed-by: Hermann Pitton <hermann-pitton@arcor.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
David Bentham 2008-09-28 16:29:51 -03:00 committed by Mauro Carvalho Chehab
parent 0975fc6871
commit 8acdbcfd90
1 changed files with 14 additions and 10 deletions

View File

@ -3260,6 +3260,7 @@ struct saa7134_board saa7134_boards[] = {
}, },
[SAA7134_BOARD_HAUPPAUGE_HVR1110] = { [SAA7134_BOARD_HAUPPAUGE_HVR1110] = {
/* Thomas Genty <tomlohave@gmail.com> */ /* Thomas Genty <tomlohave@gmail.com> */
/* David Bentham <db260179@hotmail.com> */
.name = "Hauppauge WinTV-HVR1110 DVB-T/Hybrid", .name = "Hauppauge WinTV-HVR1110 DVB-T/Hybrid",
.audio_clock = 0x00187de7, .audio_clock = 0x00187de7,
.tuner_type = TUNER_PHILIPS_TDA8290, .tuner_type = TUNER_PHILIPS_TDA8290,
@ -3268,23 +3269,26 @@ struct saa7134_board saa7134_boards[] = {
.radio_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET,
.tuner_config = 1, .tuner_config = 1,
.mpeg = SAA7134_MPEG_DVB, .mpeg = SAA7134_MPEG_DVB,
.gpiomask = 0x0200100,
.inputs = {{ .inputs = {{
.name = name_tv, .name = name_tv,
.vmux = 1, .vmux = 1,
.amux = TV, .amux = TV,
.tv = 1, .tv = 1,
},{ .gpio = 0x0000100,
.name = name_comp1, }, {
.vmux = 3, .name = name_comp1,
.amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */ .vmux = 3,
},{ .amux = LINE1,
.name = name_svideo, }, {
.vmux = 8, .name = name_svideo,
.amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */ .vmux = 8,
}}, .amux = LINE1,
} },
.radio = { .radio = {
.name = name_radio, .name = name_radio,
.amux = TV, .amux = TV,
.gpio = 0x0200100,
}, },
}, },
[SAA7134_BOARD_CINERGY_HT_PCMCIA] = { [SAA7134_BOARD_CINERGY_HT_PCMCIA] = {