This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-dvb.git tree:

Subject: V4L/DVB: tm6000: add gpios for tm6010 generic board
Author:  Stefan Ringel <[email protected]>
Date:    Mon Mar 29 13:51:12 2010 -0300

Signed-off-by: Stefan Ringel <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/staging/tm6000/tm6000-cards.c |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

---

http://git.linuxtv.org/v4l-dvb.git?a=commitdiff;h=5f68cc9fe5b37dfa76675cb606527fc44d5206fd

diff --git a/drivers/staging/tm6000/tm6000-cards.c 
b/drivers/staging/tm6000/tm6000-cards.c
index ab187c3..2f0274d 100644
--- a/drivers/staging/tm6000/tm6000-cards.c
+++ b/drivers/staging/tm6000/tm6000-cards.c
@@ -109,12 +109,22 @@ struct tm6000_board tm6000_boards[] = {
                .type         = TM6010,
                .tuner_type   = TUNER_XC2028,
                .tuner_addr   = 0xc2 >> 1,
+               .demod_addr   = 0x1e >> 1,
                .caps = {
                        .has_tuner      = 1,
                        .has_dvb        = 1,
+                       .has_zl10353    = 1,
+                       .has_eeprom     = 1,
+                       .has_remote     = 1,
                },
                .gpio = {
-                       .tuner_reset    = TM6010_GPIO_4,
+                       .tuner_reset    = TM6010_GPIO_2,
+                       .tuner_on       = TM6010_GPIO_3,
+                       .demod_reset    = TM6010_GPIO_1,
+                       .demod_on       = TM6010_GPIO_4,
+                       .power_led      = TM6010_GPIO_7,
+                       .dvb_led        = TM6010_GPIO_5,
+                       .ir             = TM6010_GPIO_0,
                },
        },
        [TM5600_BOARD_10MOONS_UT821] = {
@@ -400,6 +410,7 @@ int tm6000_cards_setup(struct tm6000_core *dev)
        case TM6010_BOARD_HAUPPAUGE_900H:
        case TM6010_BOARD_TERRATEC_CINERGY_HYBRID_XE:
        case TM6010_BOARD_TWINHAN_TU501:
+       case TM6010_BOARD_GENERIC:
                /* Turn xceive 3028 on */
                tm6000_set_reg(dev, REQ_03_SET_GET_MCU_PIN, dev->gpio.tuner_on, 
0x01);
                msleep(15);

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to