diff options
Diffstat (limited to 'drivers/media/video/cx88/cx88-cards.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-cards.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-cards.c b/drivers/media/video/cx88/cx88-cards.c index 97672cb49b51..f220fa2e10d8 100644 --- a/drivers/media/video/cx88/cx88-cards.c +++ b/drivers/media/video/cx88/cx88-cards.c | |||
@@ -2104,6 +2104,18 @@ static const struct cx88_board cx88_boards[] = { | |||
2104 | } }, | 2104 | } }, |
2105 | .mpeg = CX88_MPEG_DVB, | 2105 | .mpeg = CX88_MPEG_DVB, |
2106 | }, | 2106 | }, |
2107 | [CX88_BOARD_TWINHAN_VP1027_DVBS] = { | ||
2108 | .name = "Twinhan VP-1027 DVB-S", | ||
2109 | .tuner_type = TUNER_ABSENT, | ||
2110 | .radio_type = UNSET, | ||
2111 | .tuner_addr = ADDR_UNSET, | ||
2112 | .radio_addr = ADDR_UNSET, | ||
2113 | .input = {{ | ||
2114 | .type = CX88_VMUX_DVB, | ||
2115 | .vmux = 0, | ||
2116 | } }, | ||
2117 | .mpeg = CX88_MPEG_DVB, | ||
2118 | }, | ||
2107 | }; | 2119 | }; |
2108 | 2120 | ||
2109 | /* ------------------------------------------------------------------ */ | 2121 | /* ------------------------------------------------------------------ */ |
@@ -2576,6 +2588,10 @@ static const struct cx88_subid cx88_subids[] = { | |||
2576 | .subvendor = 0xb034, | 2588 | .subvendor = 0xb034, |
2577 | .subdevice = 0x3034, | 2589 | .subdevice = 0x3034, |
2578 | .card = CX88_BOARD_PROF_7301, | 2590 | .card = CX88_BOARD_PROF_7301, |
2591 | }, { | ||
2592 | .subvendor = 0x1822, | ||
2593 | .subdevice = 0x0023, | ||
2594 | .card = CX88_BOARD_TWINHAN_VP1027_DVBS, | ||
2579 | }, | 2595 | }, |
2580 | }; | 2596 | }; |
2581 | 2597 | ||
@@ -3070,6 +3086,13 @@ static void cx88_card_setup_pre_i2c(struct cx88_core *core) | |||
3070 | cx_set(MO_GP1_IO, 0x10); | 3086 | cx_set(MO_GP1_IO, 0x10); |
3071 | mdelay(50); | 3087 | mdelay(50); |
3072 | break; | 3088 | break; |
3089 | |||
3090 | case CX88_BOARD_TWINHAN_VP1027_DVBS: | ||
3091 | cx_write(MO_GP0_IO, 0x00003230); | ||
3092 | cx_write(MO_GP0_IO, 0x00003210); | ||
3093 | msleep(1); | ||
3094 | cx_write(MO_GP0_IO, 0x00001230); | ||
3095 | break; | ||
3073 | } | 3096 | } |
3074 | } | 3097 | } |
3075 | 3098 | ||