diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2007-07-31 22:06:50 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:04:30 -0400 |
commit | 19dc74b7c5f02ada19840a85582f42f4dddcdb3e (patch) | |
tree | 93e8d1b03ce88d03e37a65f5aaa4eb76423363e8 /drivers | |
parent | bfd7beacff2b5c811badb587a74c3dfbf7f98721 (diff) |
V4L/DVB (5975): cx88: Wrong values used for HD-3000 radio mode
After some tedious work with a logic probe and a magnifying glass, I've
determined that GPIO 7 is used to switch between the DTT7612's Sound 4.5 MHz
IF output on pin 12 and the FM 10.7MHz If output on pin 11. GPIO 2 is used to
switch the card's analog sound output from from the analog input connector to
the CX23883's audio DACs.
So, in radio mode GPIO2 = 1 and GPIO7 = 0.
Add some comments about how the HD-3000's GPIOs are connected.
Delete the vmux setting for the radio, as vmux doesn't apply to radio mode.
Also delete the lines setting unused gpio words to zero; it's not necessary as
0 is the default value for uninitialized fields.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/cx88/cx88-cards.c | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/drivers/media/video/cx88/cx88-cards.c b/drivers/media/video/cx88/cx88-cards.c index 6a136ddbccf8..1fc71a78b926 100644 --- a/drivers/media/video/cx88/cx88-cards.c +++ b/drivers/media/video/cx88/cx88-cards.c | |||
@@ -575,35 +575,34 @@ struct cx88_board cx88_boards[] = { | |||
575 | .tuner_addr = ADDR_UNSET, | 575 | .tuner_addr = ADDR_UNSET, |
576 | .radio_addr = ADDR_UNSET, | 576 | .radio_addr = ADDR_UNSET, |
577 | .tda9887_conf = TDA9887_PRESENT, | 577 | .tda9887_conf = TDA9887_PRESENT, |
578 | /* GPIO[2] = audio source for analog audio out connector | ||
579 | * 0 = analog audio input connector | ||
580 | * 1 = CX88 audio DACs | ||
581 | * | ||
582 | * GPIO[7] = input to CX88's audio/chroma ADC | ||
583 | * 0 = FM 10.7 MHz IF | ||
584 | * 1 = Sound 4.5 MHz IF | ||
585 | * | ||
586 | * GPIO[1,5,6] = Oren 51132 pins 27,35,28 respectively | ||
587 | * | ||
588 | * GPIO[16] = Remote control input | ||
589 | */ | ||
578 | .input = {{ | 590 | .input = {{ |
579 | .type = CX88_VMUX_TELEVISION, | 591 | .type = CX88_VMUX_TELEVISION, |
580 | .vmux = 0, | 592 | .vmux = 0, |
581 | .gpio0 = 0x00008484, | 593 | .gpio0 = 0x00008484, |
582 | .gpio1 = 0x00000000, | ||
583 | .gpio2 = 0x00000000, | ||
584 | .gpio3 = 0x00000000, | ||
585 | },{ | 594 | },{ |
586 | .type = CX88_VMUX_COMPOSITE1, | 595 | .type = CX88_VMUX_COMPOSITE1, |
587 | .vmux = 1, | 596 | .vmux = 1, |
588 | .gpio0 = 0x00008400, | 597 | .gpio0 = 0x00008400, |
589 | .gpio1 = 0x00000000, | ||
590 | .gpio2 = 0x00000000, | ||
591 | .gpio3 = 0x00000000, | ||
592 | },{ | 598 | },{ |
593 | .type = CX88_VMUX_SVIDEO, | 599 | .type = CX88_VMUX_SVIDEO, |
594 | .vmux = 2, | 600 | .vmux = 2, |
595 | .gpio0 = 0x00008400, | 601 | .gpio0 = 0x00008400, |
596 | .gpio1 = 0x00000000, | ||
597 | .gpio2 = 0x00000000, | ||
598 | .gpio3 = 0x00000000, | ||
599 | }}, | 602 | }}, |
600 | .radio = { | 603 | .radio = { |
601 | .type = CX88_RADIO, | 604 | .type = CX88_RADIO, |
602 | .vmux = 2, | 605 | .gpio0 = 0x00008404, |
603 | .gpio0 = 0x00008400, | ||
604 | .gpio1 = 0x00000000, | ||
605 | .gpio2 = 0x00000000, | ||
606 | .gpio3 = 0x00000000, | ||
607 | }, | 606 | }, |
608 | .mpeg = CX88_MPEG_DVB, | 607 | .mpeg = CX88_MPEG_DVB, |
609 | }, | 608 | }, |