diff options
author | Igor M. Liplianin <liplianin@me.by> | 2009-01-17 10:18:26 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:42:23 -0400 |
commit | 579943f5487baa7f9fd8e3189a4f357d6b06c76d (patch) | |
tree | 8829327663e4ae9b9a0617e421868fe997ea1d5f /drivers/media/video/cx23885/cx23885-cards.c | |
parent | 96318d0cca02a91b22a2e1a1097ffeea0b3becae (diff) |
V4L/DVB (10267): Add support for TeVii S470 DVB-S2 PCI-e card.
TeVii S470 DVB-S2 PCI-e card contains cx23885 PCI-e bridge
and cx24116 demodulator.
http://www.linuxtv.org/wiki/index.php/TeVii_S470
The card tested by me (Igor).
Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-cards.c')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-cards.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c index 0b050bc88ef5..dbc59d26f6f6 100644 --- a/drivers/media/video/cx23885/cx23885-cards.c +++ b/drivers/media/video/cx23885/cx23885-cards.c | |||
@@ -166,6 +166,10 @@ struct cx23885_board cx23885_boards[] = { | |||
166 | .name = "TurboSight TBS 6920", | 166 | .name = "TurboSight TBS 6920", |
167 | .portb = CX23885_MPEG_DVB, | 167 | .portb = CX23885_MPEG_DVB, |
168 | }, | 168 | }, |
169 | [CX23885_BOARD_TEVII_S470] = { | ||
170 | .name = "TeVii S470", | ||
171 | .portb = CX23885_MPEG_DVB, | ||
172 | }, | ||
169 | }; | 173 | }; |
170 | const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards); | 174 | const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards); |
171 | 175 | ||
@@ -253,6 +257,10 @@ struct cx23885_subid cx23885_subids[] = { | |||
253 | .subvendor = 0x6920, | 257 | .subvendor = 0x6920, |
254 | .subdevice = 0x8888, | 258 | .subdevice = 0x8888, |
255 | .card = CX23885_BOARD_TBS_6920, | 259 | .card = CX23885_BOARD_TBS_6920, |
260 | }, { | ||
261 | .subvendor = 0xd470, | ||
262 | .subdevice = 0x9022, | ||
263 | .card = CX23885_BOARD_TEVII_S470, | ||
256 | }, | 264 | }, |
257 | }; | 265 | }; |
258 | const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids); | 266 | const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids); |
@@ -561,6 +569,7 @@ void cx23885_gpio_setup(struct cx23885_dev *dev) | |||
561 | cx_set(GP0_IO, 0x00040004); | 569 | cx_set(GP0_IO, 0x00040004); |
562 | break; | 570 | break; |
563 | case CX23885_BOARD_TBS_6920: | 571 | case CX23885_BOARD_TBS_6920: |
572 | case CX23885_BOARD_TEVII_S470: | ||
564 | cx_write(MC417_CTL, 0x00000036); | 573 | cx_write(MC417_CTL, 0x00000036); |
565 | cx_write(MC417_OEN, 0x00001000); | 574 | cx_write(MC417_OEN, 0x00001000); |
566 | cx_write(MC417_RWD, 0x00001800); | 575 | cx_write(MC417_RWD, 0x00001800); |
@@ -645,6 +654,7 @@ void cx23885_card_setup(struct cx23885_dev *dev) | |||
645 | ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ | 654 | ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ |
646 | ts2->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO; | 655 | ts2->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO; |
647 | break; | 656 | break; |
657 | case CX23885_BOARD_TEVII_S470: | ||
648 | case CX23885_BOARD_TBS_6920: | 658 | case CX23885_BOARD_TBS_6920: |
649 | ts1->gen_ctrl_val = 0x5; /* Parallel */ | 659 | ts1->gen_ctrl_val = 0x5; /* Parallel */ |
650 | ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ | 660 | ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ |