summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-06-30 20:23:50 -0400
committerSteven Toth <stoth@hauppauge.com>2008-06-30 20:23:50 -0400
commitbd1974db7aad57ce9931e4717afa1c5a7633a0d5 (patch)
treee392b512c66f9be3517c3059bc91cf462b60e1bb /linux/drivers/media/video
parente4b4beeee4577a06e48f44169a3b4617a62391e0 (diff)
downloadmediapointer-dvb-s2-bd1974db7aad57ce9931e4717afa1c5a7633a0d5.tar.gz
mediapointer-dvb-s2-bd1974db7aad57ce9931e4717afa1c5a7633a0d5.tar.bz2
cx23885: FusionHDTV7 Dual Express toggle reset.
From: Steven Toth <stoth@hauppauge.com> Ensure the tuners and demods are brought in and out of reset during driver startup. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: <>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/cx23885/cx23885-cards.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885-cards.c b/linux/drivers/media/video/cx23885/cx23885-cards.c
index 476c33d29..ba69f2b9a 100644
--- a/linux/drivers/media/video/cx23885/cx23885-cards.c
+++ b/linux/drivers/media/video/cx23885/cx23885-cards.c
@@ -437,6 +437,19 @@ void cx23885_gpio_setup(struct cx23885_dev *dev)
mdelay(20);
cx_set(GP0_IO, 0x00050005);
break;
+ case CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP:
+ /* GPIO-0 xc5000 tuner reset i2c bus 0 */
+ /* GPIO-1 s5h1409 demod reset i2c bus 0 */
+ /* GPIO-2 xc5000 tuner reset i2c bus 1 */
+ /* GPIO-3 s5h1409 demod reset i2c bus 0 */
+
+ /* Put the parts into reset and back */
+ cx_set(GP0_IO, 0x000f0000);
+ mdelay(20);
+ cx_clear(GP0_IO, 0x0000000f);
+ mdelay(20);
+ cx_set(GP0_IO, 0x000f000f);
+ break;
}
}