---------- Forwarded message ---------- From: GEORGE <pojar.george@xxxxxxxxx> Date: 2010/12/9 Subject: [PATCH 2.6.32 1/1] bt8xx: add full support for Kworld V-Stream Xpert TV-PVR 878 (VS-TV878RF) card To: majordomo@xxxxxxxxxxxxxxx This patch add full support for Kworld V-Stream Xpert TV-PVR 878 (VS-TV878RF) card. Signed-off-by: Pojar George <pojar.george@xxxxxxxxx> --- linux/Documentation/video4linux/CARDLIST.bttv | 1 + linux/drivers/media/video/bt8xx/bttv-cards.c | 18 ++++++++++++++++++ linux/drivers/media/video/bt8xx/bttv-driver.c | 4 ++-- linux/drivers/media/video/bt8xx/bttv-input.c | 1 + linux/drivers/media/video/bt8xx/bttv.h | 1 + 5 files changed, 23 insertions(+), 2 deletions(-) diff -r abd3aac6644e linux/Documentation/video4linux/CARDLIST.bttv --- a/linux/Documentation/video4linux/CARDLIST.bttv Fri Jul 02 00:38:54 2010 -0300 +++ b/linux/Documentation/video4linux/CARDLIST.bttv Thu Dec 09 09:37:17 2010 +0000 @@ -158,3 +158,4 @@ 157 -> Geovision GV-800(S) (master) [800a:763d] 158 -> Geovision GV-800(S) (slave) [800b:763d,800c:763d,800d:763d] 159 -> ProVideo PV183 [1830:1540,1831:1540,1832:1540,1833:1540,1834:1540,1835:1540,1836:1540,1837:1540] +160 -> Kworld V-Stream Xpert TV-PVR 878 [036e:109e] diff -r abd3aac6644e linux/drivers/media/video/bt8xx/bttv-cards.c --- a/linux/drivers/media/video/bt8xx/bttv-cards.c Fri Jul 02 00:38:54 2010 -0300 +++ b/linux/drivers/media/video/bt8xx/bttv-cards.c Thu Dec 09 09:37:17 2010 +0000 @@ -340,6 +340,7 @@ { 0x15401835, BTTV_BOARD_PV183, "Provideo PV183-6" }, { 0x15401836, BTTV_BOARD_PV183, "Provideo PV183-7" }, { 0x15401837, BTTV_BOARD_PV183, "Provideo PV183-8" }, + { 0x109e036e, BTTV_BOARD_KWORLD_VS_TV878RF, "Kworld V-Stream Xpert TV-PVR 878"}, { 0, -1, NULL } }; @@ -2945,6 +2946,23 @@ .tuner_type = TUNER_ABSENT, .tuner_addr = ADDR_UNSET, }, + /* ---- card 0xa0 ---------------------------------- */ + [BTTV_BOARD_KWORLD_VS_TV878RF] = { + .name = "Kworld V-Stream Xpert TV-PVR 878", + .video_inputs = 3, + /* .audio_inputs= 1, */ + .svhs = 2, + .gpiomask = 0x001c0007, + .muxsel = MUXSEL(2, 3, 1, 1), + .gpiomux = { 0, 1, 2, 2 }, + .gpiomute = 3, + .needs_tvaudio = 0, + .pll = PLL_28, + .tuner_type = TUNER_TENA_9533_DI, + .tuner_addr = ADDR_UNSET, + .has_remote = 1, + .has_radio = 1, + }, }; static const unsigned int bttv_num_tvcards = ARRAY_SIZE(bttv_tvcards); diff -r abd3aac6644e linux/drivers/media/video/bt8xx/bttv-driver.c --- a/linux/drivers/media/video/bt8xx/bttv-driver.c Fri Jul 02 00:38:54 2010 -0300 +++ b/linux/drivers/media/video/bt8xx/bttv-driver.c Thu Dec 09 09:37:17 2010 +0000 @@ -219,12 +219,12 @@ { /* PAL digital input over GPIO[7:0] */ { - 45, // 45 bytes following + 46, // 46 bytes following 0x36,0x11,0x01,0x00,0x90,0x02,0x05,0x10,0x04,0x16, 0x12,0x05,0x11,0x00,0x04,0x12,0xC0,0x00,0x31,0x00, 0x06,0x51,0x08,0x03,0x89,0x08,0x07,0xC0,0x44,0x00, 0x81,0x01,0x01,0xA9,0x0D,0x02,0x02,0x50,0x03,0x37, - 0x37,0x00,0xAF,0x21,0x00 + 0x37,0x00,0xAF,0x21,0x00,0xa0, }, /* NTSC digital input over GPIO[7:0] */ { diff -r abd3aac6644e linux/drivers/media/video/bt8xx/bttv-input.c --- a/linux/drivers/media/video/bt8xx/bttv-input.c Fri Jul 02 00:38:54 2010 -0300 +++ b/linux/drivers/media/video/bt8xx/bttv-input.c Thu Dec 09 09:37:17 2010 +0000 @@ -313,6 +313,7 @@ break; case BTTV_BOARD_ASKEY_CPH03X: case BTTV_BOARD_CONCEPTRONIC_CTVFMI2: + case BTTV_BOARD_KWORLD_VS_TV878RF: case BTTV_BOARD_CONTVFMI: ir_codes = RC_MAP_PIXELVIEW; ir->mask_keycode = 0x001F00; diff -r abd3aac6644e linux/drivers/media/video/bt8xx/bttv.h --- a/linux/drivers/media/video/bt8xx/bttv.h Fri Jul 02 00:38:54 2010 -0300 +++ b/linux/drivers/media/video/bt8xx/bttv.h Thu Dec 09 09:37:17 2010 +0000 @@ -186,6 +186,7 @@ #define BTTV_BOARD_GEOVISION_GV800S 0x9d #define BTTV_BOARD_GEOVISION_GV800S_SL 0x9e #define BTTV_BOARD_PV183 0x9f +#define BTTV_BOARD_KWORLD_VS_TV878RF 0xa0 /* more card-specific defines */ --- -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html