diff options
author | Chris Pascoe <c.pascoe@itee.uq.edu.au> | 2006-01-09 12:25:35 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-09 12:25:35 -0500 |
commit | fc40b261db15d010455ad0a4e2ac59da2ced730f (patch) | |
tree | d91b96cb35c8b2e978d6ff1be5bdf3aad1993709 /drivers/media/video/cx88/cx88-cards.c | |
parent | 50c25fff5385c6baf3114f7c369b0f75a29ac1e8 (diff) |
V4L/DVB (3220): Add support for VP-3054 HDTV board
- Added support for VP-3054 (aka DigitalNow DNTV Live! DVB-T Pro!).
- This board has a secondary I2C bus and remote control.
- Added a new module to handle secondary I2C bus on this board.
Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'drivers/media/video/cx88/cx88-cards.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-cards.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-cards.c b/drivers/media/video/cx88/cx88-cards.c index 85798e1fa047..6b17d1e1e520 100644 --- a/drivers/media/video/cx88/cx88-cards.c +++ b/drivers/media/video/cx88/cx88-cards.c | |||
@@ -982,6 +982,33 @@ struct cx88_board cx88_boards[] = { | |||
982 | /* fixme: Add radio support */ | 982 | /* fixme: Add radio support */ |
983 | .dvb = 1, | 983 | .dvb = 1, |
984 | }, | 984 | }, |
985 | [CX88_BOARD_DNTV_LIVE_DVB_T_PRO] = { | ||
986 | .name = "digitalnow DNTV Live! DVB-T Pro", | ||
987 | .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3, | ||
988 | .radio_type = UNSET, | ||
989 | .tuner_addr = ADDR_UNSET, | ||
990 | .radio_addr = ADDR_UNSET, | ||
991 | .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE | | ||
992 | TDA9887_PORT2_ACTIVE, | ||
993 | .input = {{ | ||
994 | .type = CX88_VMUX_TELEVISION, | ||
995 | .vmux = 0, | ||
996 | .gpio0 = 0xf80808, | ||
997 | },{ | ||
998 | .type = CX88_VMUX_COMPOSITE1, | ||
999 | .vmux = 1, | ||
1000 | .gpio0 = 0xf80808, | ||
1001 | },{ | ||
1002 | .type = CX88_VMUX_SVIDEO, | ||
1003 | .vmux = 2, | ||
1004 | .gpio0 = 0xf80808, | ||
1005 | }}, | ||
1006 | .radio = { | ||
1007 | .type = CX88_RADIO, | ||
1008 | .gpio0 = 0xf80808, | ||
1009 | }, | ||
1010 | .dvb = 1, | ||
1011 | }, | ||
985 | }; | 1012 | }; |
986 | const unsigned int cx88_bcount = ARRAY_SIZE(cx88_boards); | 1013 | const unsigned int cx88_bcount = ARRAY_SIZE(cx88_boards); |
987 | 1014 | ||
@@ -1165,6 +1192,10 @@ struct cx88_subid cx88_subids[] = { | |||
1165 | .subvendor = 0x0070, | 1192 | .subvendor = 0x0070, |
1166 | .subdevice = 0x9001, | 1193 | .subdevice = 0x9001, |
1167 | .card = CX88_BOARD_HAUPPAUGE_DVB_T1, | 1194 | .card = CX88_BOARD_HAUPPAUGE_DVB_T1, |
1195 | },{ | ||
1196 | .subvendor = 0x1822, | ||
1197 | .subdevice = 0x0025, | ||
1198 | .card = CX88_BOARD_DNTV_LIVE_DVB_T_PRO, | ||
1168 | }, | 1199 | }, |
1169 | }; | 1200 | }; |
1170 | const unsigned int cx88_idcount = ARRAY_SIZE(cx88_subids); | 1201 | const unsigned int cx88_idcount = ARRAY_SIZE(cx88_subids); |
@@ -1362,6 +1393,9 @@ void cx88_card_setup(struct cx88_core *core) | |||
1362 | cx_clear(MO_GP0_IO, 0x00000007); | 1393 | cx_clear(MO_GP0_IO, 0x00000007); |
1363 | cx_set(MO_GP2_IO, 0x00000101); | 1394 | cx_set(MO_GP2_IO, 0x00000101); |
1364 | break; | 1395 | break; |
1396 | case CX88_BOARD_DNTV_LIVE_DVB_T_PRO: | ||
1397 | cx_write(MO_GP0_IO, 0x00080808); | ||
1398 | break; | ||
1365 | case CX88_BOARD_ATI_HDTVWONDER: | 1399 | case CX88_BOARD_ATI_HDTVWONDER: |
1366 | if (0 == core->i2c_rc) { | 1400 | if (0 == core->i2c_rc) { |
1367 | /* enable tuner */ | 1401 | /* enable tuner */ |