From: Michel Ludwig Date: Wed, 18 Jul 2007 13:29:10 +0000 (-0300) Subject: V4L/DVB (12783): tm6000: add xc2028/3028 to dvb X-Git-Tag: firefly_0821_release~9833^2~2094^2~521 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=90d5802795173580db003699373058f74e5c9d0a;p=firefly-linux-kernel-4.4.55.git V4L/DVB (12783): tm6000: add xc2028/3028 to dvb Add experimental DVB frontend tuner interface to xc2028/3028 Signed-off-by: Michel Ludwig Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/tm6000/tm6000-i2c.c b/drivers/staging/tm6000/tm6000-i2c.c index 2a8c169cf07f..62cd08de03ff 100644 --- a/drivers/staging/tm6000/tm6000-i2c.c +++ b/drivers/staging/tm6000/tm6000-i2c.c @@ -343,6 +343,14 @@ static int tm6000_tuner_callback(void *ptr, int command, int arg) rc=tm6000_set_reg (dev, REQ_03_SET_GET_MCU_PIN, TM6000_GPIO_CLK, 1); break; + case 4: + tm6000_set_reg (dev, REQ_03_SET_GET_MCU_PIN, + TM6000_GPIO_4, 0x00); + msleep(10); + tm6000_set_reg (dev, REQ_03_SET_GET_MCU_PIN, + TM6000_GPIO_4, 0x01); + break; + } } return (rc);