aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cx23885-core.c
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2007-08-22 20:01:20 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:08:20 -0400
commita77743bc2d29197d48a6f4ae9f8f9e0f0b0ba5d7 (patch)
tree54297211d81fe39bcfab7be65a2ff92339072eda /drivers/media/video/cx23885/cx23885-core.c
parent4823e9ee9f45c78777d040742b5e46336a42c8b3 (diff)
V4L/DVB (6168): cx23885: Added HVR1250 ATSC support
Adding support for the Hauppauge HVR1250 PCIe ATSC board. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-core.c')
-rw-r--r--drivers/media/video/cx23885/cx23885-core.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c
index d2bc3e586623..1148d684188a 100644
--- a/drivers/media/video/cx23885/cx23885-core.c
+++ b/drivers/media/video/cx23885/cx23885-core.c
@@ -603,6 +603,11 @@ void cx23885_reset(struct cx23885_dev *dev)
603 cx23885_sram_channel_setup(dev, &dev->sram_channels[ SRAM_CH09 ], 128, 0); 603 cx23885_sram_channel_setup(dev, &dev->sram_channels[ SRAM_CH09 ], 128, 0);
604 604
605 switch(dev->board) { 605 switch(dev->board) {
606 case CX23885_BOARD_HAUPPAUGE_HVR1250:
607 /* GPIO-0 cx24227 demodulator reset */
608 dprintk( 1, "%s() Configuring HVR1250 GPIO's\n", __FUNCTION__);
609 cx_set(GP0_IO, 0x00010001); /* Bring the part out of reset */
610 break;
606 case CX23885_BOARD_HAUPPAUGE_HVR1800: 611 case CX23885_BOARD_HAUPPAUGE_HVR1800:
607 /* GPIO-0 656_CLK */ 612 /* GPIO-0 656_CLK */
608 /* GPIO-1 656_D0 */ 613 /* GPIO-1 656_D0 */
@@ -650,6 +655,7 @@ static int cx23885_ir_init(struct cx23885_dev *dev)
650 dprintk(1, "%s()\n", __FUNCTION__); 655 dprintk(1, "%s()\n", __FUNCTION__);
651 656
652 switch (dev->board) { 657 switch (dev->board) {
658 case CX23885_BOARD_HAUPPAUGE_HVR1250:
653 case CX23885_BOARD_HAUPPAUGE_HVR1800: 659 case CX23885_BOARD_HAUPPAUGE_HVR1800:
654 dprintk(1, "%s() FIXME - Implement IR support\n", __FUNCTION__); 660 dprintk(1, "%s() FIXME - Implement IR support\n", __FUNCTION__);
655 break; 661 break;
@@ -1023,6 +1029,7 @@ static int cx23885_start_dma(struct cx23885_tsport *port,
1023 cx_write(GPIO2, 0x00); 1029 cx_write(GPIO2, 0x00);
1024 1030
1025 switch (dev->board) { 1031 switch (dev->board) {
1032 case CX23885_BOARD_HAUPPAUGE_HVR1250:
1026 case CX23885_BOARD_HAUPPAUGE_HVR1800lp: 1033 case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
1027 case CX23885_BOARD_HAUPPAUGE_HVR1800: 1034 case CX23885_BOARD_HAUPPAUGE_HVR1800:
1028 cx_write(port->reg_vld_misc, 0x00); 1035 cx_write(port->reg_vld_misc, 0x00);