diff options
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-cards.c')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-cards.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c index 23302ddf4187..1ec48169277d 100644 --- a/drivers/media/video/cx23885/cx23885-cards.c +++ b/drivers/media/video/cx23885/cx23885-cards.c | |||
@@ -782,10 +782,14 @@ void cx23885_gpio_setup(struct cx23885_dev *dev) | |||
782 | cx_set(GP0_IO, 0x00040004); | 782 | cx_set(GP0_IO, 0x00040004); |
783 | break; | 783 | break; |
784 | case CX23885_BOARD_TBS_6920: | 784 | case CX23885_BOARD_TBS_6920: |
785 | case CX23885_BOARD_TEVII_S470: | ||
786 | cx_write(MC417_CTL, 0x00000036); | 785 | cx_write(MC417_CTL, 0x00000036); |
787 | cx_write(MC417_OEN, 0x00001000); | 786 | cx_write(MC417_OEN, 0x00001000); |
788 | cx_write(MC417_RWD, 0x00001800); | 787 | cx_set(MC417_RWD, 0x00000002); |
788 | mdelay(200); | ||
789 | cx_clear(MC417_RWD, 0x00000800); | ||
790 | mdelay(200); | ||
791 | cx_set(MC417_RWD, 0x00000800); | ||
792 | mdelay(200); | ||
789 | break; | 793 | break; |
790 | case CX23885_BOARD_NETUP_DUAL_DVBS2_CI: | 794 | case CX23885_BOARD_NETUP_DUAL_DVBS2_CI: |
791 | /* GPIO-0 INTA from CiMax1 | 795 | /* GPIO-0 INTA from CiMax1 |
@@ -1002,8 +1006,12 @@ void cx23885_card_setup(struct cx23885_dev *dev) | |||
1002 | ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ | 1006 | ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ |
1003 | ts2->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO; | 1007 | ts2->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO; |
1004 | break; | 1008 | break; |
1005 | case CX23885_BOARD_TEVII_S470: | ||
1006 | case CX23885_BOARD_TBS_6920: | 1009 | case CX23885_BOARD_TBS_6920: |
1010 | ts1->gen_ctrl_val = 0x4; /* Parallel */ | ||
1011 | ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ | ||
1012 | ts1->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO; | ||
1013 | break; | ||
1014 | case CX23885_BOARD_TEVII_S470: | ||
1007 | case CX23885_BOARD_DVBWORLD_2005: | 1015 | case CX23885_BOARD_DVBWORLD_2005: |
1008 | ts1->gen_ctrl_val = 0x5; /* Parallel */ | 1016 | ts1->gen_ctrl_val = 0x5; /* Parallel */ |
1009 | ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ | 1017 | ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ |