diff options
author | Pojar George <geoubuntu@gmail.com> | 2014-02-07 12:56:17 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-03-11 10:40:31 -0400 |
commit | 493a9cfdb9f7bd576603d15778419dddd49994a2 (patch) | |
tree | 58d8701914d064b5d1c42c71b86d8c4af2d7da0b /drivers/media/pci | |
parent | e01c15dbbd8e4737743a29ff325fe54ff8680786 (diff) |
[media] bttv: Add support for Kworld V-Stream Xpert TV PVR878
New board addition. No other changes.
[m.chehab@samsung.com: rebase patch and fix whitespace mangling]
Signed-off-by: Pojar George <geoubuntu@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/pci')
-rw-r--r-- | drivers/media/pci/bt8xx/bttv-cards.c | 17 | ||||
-rw-r--r-- | drivers/media/pci/bt8xx/bttv-input.c | 1 | ||||
-rw-r--r-- | drivers/media/pci/bt8xx/bttv.h | 1 |
3 files changed, 18 insertions, 1 deletions
diff --git a/drivers/media/pci/bt8xx/bttv-cards.c b/drivers/media/pci/bt8xx/bttv-cards.c index 6662b495b22c..d06963b3dcf3 100644 --- a/drivers/media/pci/bt8xx/bttv-cards.c +++ b/drivers/media/pci/bt8xx/bttv-cards.c | |||
@@ -2855,7 +2855,22 @@ struct tvcard bttv_tvcards[] = { | |||
2855 | .tuner_type = TUNER_ABSENT, | 2855 | .tuner_type = TUNER_ABSENT, |
2856 | .tuner_addr = ADDR_UNSET, | 2856 | .tuner_addr = ADDR_UNSET, |
2857 | }, | 2857 | }, |
2858 | 2858 | [BTTV_BOARD_KWORLD_VSTREAM_XPERT] = { | |
2859 | /* Pojar George <geoubuntu@gmail.com> */ | ||
2860 | .name = "Kworld V-Stream Xpert TV PVR878", | ||
2861 | .video_inputs = 3, | ||
2862 | /* .audio_inputs= 1, */ | ||
2863 | .svhs = 2, | ||
2864 | .gpiomask = 0x001c0007, | ||
2865 | .muxsel = MUXSEL(2, 3, 1, 1), | ||
2866 | .gpiomux = { 0, 1, 2, 2 }, | ||
2867 | .gpiomute = 3, | ||
2868 | .pll = PLL_28, | ||
2869 | .tuner_type = TUNER_TENA_9533_DI, | ||
2870 | .tuner_addr = ADDR_UNSET, | ||
2871 | .has_remote = 1, | ||
2872 | .has_radio = 1, | ||
2873 | }, | ||
2859 | }; | 2874 | }; |
2860 | 2875 | ||
2861 | static const unsigned int bttv_num_tvcards = ARRAY_SIZE(bttv_tvcards); | 2876 | static const unsigned int bttv_num_tvcards = ARRAY_SIZE(bttv_tvcards); |
diff --git a/drivers/media/pci/bt8xx/bttv-input.c b/drivers/media/pci/bt8xx/bttv-input.c index f36821367d8d..5930bce16658 100644 --- a/drivers/media/pci/bt8xx/bttv-input.c +++ b/drivers/media/pci/bt8xx/bttv-input.c | |||
@@ -483,6 +483,7 @@ int bttv_input_init(struct bttv *btv) | |||
483 | case BTTV_BOARD_ASKEY_CPH03X: | 483 | case BTTV_BOARD_ASKEY_CPH03X: |
484 | case BTTV_BOARD_CONCEPTRONIC_CTVFMI2: | 484 | case BTTV_BOARD_CONCEPTRONIC_CTVFMI2: |
485 | case BTTV_BOARD_CONTVFMI: | 485 | case BTTV_BOARD_CONTVFMI: |
486 | case BTTV_BOARD_KWORLD_VSTREAM_XPERT: | ||
486 | ir_codes = RC_MAP_PIXELVIEW; | 487 | ir_codes = RC_MAP_PIXELVIEW; |
487 | ir->mask_keycode = 0x001F00; | 488 | ir->mask_keycode = 0x001F00; |
488 | ir->mask_keyup = 0x006000; | 489 | ir->mask_keyup = 0x006000; |
diff --git a/drivers/media/pci/bt8xx/bttv.h b/drivers/media/pci/bt8xx/bttv.h index df578efe03c9..bb5da349a46e 100644 --- a/drivers/media/pci/bt8xx/bttv.h +++ b/drivers/media/pci/bt8xx/bttv.h | |||
@@ -188,6 +188,7 @@ | |||
188 | #define BTTV_BOARD_ADLINK_MPG24 0xa2 | 188 | #define BTTV_BOARD_ADLINK_MPG24 0xa2 |
189 | #define BTTV_BOARD_BT848_CAP_14 0xa3 | 189 | #define BTTV_BOARD_BT848_CAP_14 0xa3 |
190 | #define BTTV_BOARD_CYBERVISION_CV06 0xa4 | 190 | #define BTTV_BOARD_CYBERVISION_CV06 0xa4 |
191 | #define BTTV_BOARD_KWORLD_VSTREAM_XPERT 0xa5 | ||
191 | 192 | ||
192 | /* more card-specific defines */ | 193 | /* more card-specific defines */ |
193 | #define PT2254_L_CHANNEL 0x10 | 194 | #define PT2254_L_CHANNEL 0x10 |