The patch number 9062 was added via Mauro Carvalho Chehab <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Mauro Carvalho Chehab  <[EMAIL PROTECTED]>
Add support for Prolink Pixelview Global Extreme


Thanks to Sidney Matias <[EMAIL PROTECTED]> for getting GPIO
values and testing on this device.

Priority: normal

CC: Sidney Matias <[EMAIL PROTECTED]>
Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>


---

 linux/Documentation/video4linux/CARDLIST.cx88 |    1 
 linux/drivers/media/video/cx88/cx88-cards.c   |   39 +++++++++++++++++-
 linux/drivers/media/video/cx88/cx88-input.c   |    1 
 linux/drivers/media/video/cx88/cx88.h         |    1 
 4 files changed, 41 insertions(+), 1 deletion(-)

diff -r fcd3cebe7d42 -r 34c047b382c1 
linux/Documentation/video4linux/CARDLIST.cx88
--- a/linux/Documentation/video4linux/CARDLIST.cx88     Thu Jun 26 17:03:00 
2008 -0300
+++ b/linux/Documentation/video4linux/CARDLIST.cx88     Mon Sep 29 12:08:29 
2008 -0300
@@ -72,3 +72,4 @@
  71 -> Omicom SS4 DVB-S/S2 PCI                             [A044:2011]
  72 -> TBS 8920 DVB-S/S2                                   [8920:8888]
  73 -> TeVii S420 DVB-S                                    [d420:9022]
+ 74 -> Prolink Pixelview Global Extreme                    [1554:4976]
diff -r fcd3cebe7d42 -r 34c047b382c1 linux/drivers/media/video/cx88/cx88-cards.c
--- a/linux/drivers/media/video/cx88/cx88-cards.c       Thu Jun 26 17:03:00 
2008 -0300
+++ b/linux/drivers/media/video/cx88/cx88-cards.c       Mon Sep 29 12:08:29 
2008 -0300
@@ -1663,6 +1663,36 @@ static const struct cx88_board cx88_boar
                .radio = {
                        .type   = CX88_RADIO,
                        .gpio2 = 0x0cfb,
+               },
+       },
+       [CX88_BOARD_PROLINK_PV_GLOBAL_XTREME] = {
+               .name           = "Prolink Pixelview Global Extreme",
+               .tuner_type     = TUNER_XC2028,
+               .tuner_addr     = 0x61,
+               .input          = { {
+                       .type   = CX88_VMUX_TELEVISION,
+                       .vmux   = 0,
+                       .gpio0 = 0x04fb,
+                       .gpio1 = 0x04080,
+                       .gpio2 = 0x0cf7,
+               }, {
+                       .type   = CX88_VMUX_COMPOSITE1,
+                       .vmux   = 1,
+                       .gpio0 = 0x04fb,
+                       .gpio1 = 0x04080,
+                       .gpio2 = 0x0cfb,
+               }, {
+                       .type   = CX88_VMUX_SVIDEO,
+                       .vmux   = 2,
+                       .gpio0 = 0x04fb,
+                       .gpio1 = 0x04080,
+                       .gpio2 = 0x0cfb,
+               } },
+               .radio = {
+                       .type   = CX88_RADIO,
+                       .gpio0 = 0x04ff,
+                       .gpio1 = 0x04080,
+                       .gpio2 = 0x0cf7,
                },
        },
        /* Both radio, analog and ATSC work with this board.
@@ -2162,6 +2192,10 @@ static const struct cx88_subid cx88_subi
                .subvendor = 0x1554,
                .subdevice = 0x4935,
                .card      = CX88_BOARD_PROLINK_PV_8000GT,
+       }, {
+               .subvendor = 0x1554,
+               .subdevice = 0x4976,
+               .card      = CX88_BOARD_PROLINK_PV_GLOBAL_XTREME,
        }, {
                .subvendor = 0x17de,
                .subdevice = 0x08c1,
@@ -2466,6 +2500,7 @@ static int cx88_xc2028_tuner_callback(st
                return cx88_xc3028_geniatech_tuner_callback(core,
                                                        command, arg);
        case CX88_BOARD_PROLINK_PV_8000GT:
+       case CX88_BOARD_PROLINK_PV_GLOBAL_XTREME:
                return cx88_pv_8000gt_callback(core, command, arg);
        case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_PRO:
        case CX88_BOARD_DVICO_FUSIONHDTV_5_PCI_NANO:
@@ -2619,6 +2654,7 @@ static void cx88_card_setup_pre_i2c(stru
                udelay(1000);
                break;
 
+       case CX88_BOARD_PROLINK_PV_GLOBAL_XTREME:
        case CX88_BOARD_PROLINK_PV_8000GT:
                cx_write(MO_GP2_IO, 0xcf7);
                mdelay(50);
@@ -2666,9 +2702,10 @@ void cx88_setup_xc3028(struct cx88_core 
        case CX88_BOARD_DVICO_FUSIONHDTV_5_PCI_NANO:
                ctl->demod = XC3028_FE_OREN538;
                break;
+       case CX88_BOARD_PROLINK_PV_GLOBAL_XTREME:
        case CX88_BOARD_PROLINK_PV_8000GT:
                /*
-                * This board uses non-MTS firmware
+                * Those boards uses non-MTS firmware
                 */
                break;
        default:
diff -r fcd3cebe7d42 -r 34c047b382c1 linux/drivers/media/video/cx88/cx88-input.c
--- a/linux/drivers/media/video/cx88/cx88-input.c       Thu Jun 26 17:03:00 
2008 -0300
+++ b/linux/drivers/media/video/cx88/cx88-input.c       Mon Sep 29 12:08:29 
2008 -0300
@@ -274,6 +274,7 @@ int cx88_ir_init(struct cx88_core *core,
                ir->polling = 1; /* ms */
                break;
        case CX88_BOARD_PROLINK_PV_8000GT:
+       case CX88_BOARD_PROLINK_PV_GLOBAL_XTREME:
                ir_codes = ir_codes_pixelview_new;
                ir->gpio_addr = MO_GP1_IO;
                ir->mask_keycode = 0x3f;
diff -r fcd3cebe7d42 -r 34c047b382c1 linux/drivers/media/video/cx88/cx88.h
--- a/linux/drivers/media/video/cx88/cx88.h     Thu Jun 26 17:03:00 2008 -0300
+++ b/linux/drivers/media/video/cx88/cx88.h     Mon Sep 29 12:08:29 2008 -0300
@@ -228,6 +228,7 @@ extern struct sram_channel cx88_sram_cha
 #define CX88_BOARD_OMICOM_SS4_PCI          71
 #define CX88_BOARD_TBS_8920                72
 #define CX88_BOARD_TEVII_S420              73
+#define CX88_BOARD_PROLINK_PV_GLOBAL_XTREME 74
 
 enum cx88_itype {
        CX88_VMUX_COMPOSITE1 = 1,


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/34c047b382c16bc035b01689ff383a1a4bb0c51d

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to