提交 1ebf2c7f 编写于 作者: B Bee Hock Goh 提交者: Mauro Carvalho Chehab

V4L/DVB: tm6000: Add additional GPIO for UT821 during frmware loading

Signed-off-by: NBee Hock Goh <beehock@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 20dead8d
......@@ -349,6 +349,22 @@ int tm6000_tuner_callback(void *ptr, int component, int command, int arg)
case 0:
/* newer tuner can faster reset */
switch (dev->model) {
case TM5600_BOARD_10MOONS_UT821:
tm6000_set_reg(dev, REQ_03_SET_GET_MCU_PIN,
dev->gpio.tuner_reset, 0x01);
tm6000_set_reg(dev, REQ_03_SET_GET_MCU_PIN,
0x300, 0x01);
msleep(10);
tm6000_set_reg(dev, REQ_03_SET_GET_MCU_PIN,
dev->gpio.tuner_reset, 0x00);
tm6000_set_reg(dev, REQ_03_SET_GET_MCU_PIN,
0x300, 0x00);
msleep(10);
tm6000_set_reg(dev, REQ_03_SET_GET_MCU_PIN,
dev->gpio.tuner_reset, 0x01);
tm6000_set_reg(dev, REQ_03_SET_GET_MCU_PIN,
0x300, 0x01);
break;
case TM6010_BOARD_HAUPPAUGE_900H:
case TM6010_BOARD_TERRATEC_CINERGY_HYBRID_XE:
case TM6010_BOARD_TWINHAN_TU501:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册