linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bttv: Add CyberVision CV06
@ 2013-04-14 21:26 Ondrej Zary
  2013-04-15 19:01 ` Ondrej Zary
  0 siblings, 1 reply; 2+ messages in thread
From: Ondrej Zary @ 2013-04-14 21:26 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: linux-media

Add CyberVision CV06 4-camera card (from CyberVision SV card kit):
http://www.cybervision.com.tw/products-swcard_kits-sv.html
    
There are some interesting things on the card but they're not supported:
4 LEDs, a connector with 4 IN and 4 OUT pins, RESET IN and RESET OUT
connectors, a relay and CyberVision CV8088-SV16 chip

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>

diff --git a/drivers/media/pci/bt8xx/bttv-cards.c b/drivers/media/pci/bt8xx/bttv-cards.c
index 8bcf638..7bce09f 100644
--- a/drivers/media/pci/bt8xx/bttv-cards.c
+++ b/drivers/media/pci/bt8xx/bttv-cards.c
@@ -2833,6 +2833,16 @@ struct tvcard bttv_tvcards[] = {
 		.pll		= PLL_14,
 		.tuner_type	= TUNER_ABSENT,
 	},
+	[BTTV_BOARD_CYBERVISION_CV06] = {
+		.name		= "CyberVision CV06 (SV)",
+		.video_inputs	= 4,
+		/* .audio_inputs= 0, */
+		.svhs		= NO_SVHS,
+		.muxsel		= MUXSEL(2, 3, 1, 0),
+		.pll		= PLL_28,
+		.tuner_type	= TUNER_ABSENT,
+		.tuner_addr	= ADDR_UNSET,
+	},
 
 };
 
diff --git a/drivers/media/pci/bt8xx/bttv.h b/drivers/media/pci/bt8xx/bttv.h
index 2d4b466..bd35114 100644
--- a/drivers/media/pci/bt8xx/bttv.h
+++ b/drivers/media/pci/bt8xx/bttv.h
@@ -186,6 +186,7 @@
 #define BTTV_BOARD_TVT_TD3116		   0xa0
 #define BTTV_BOARD_APOSONIC_WDVR           0xa1
 #define BTTV_BOARD_BT848_14                0xa2
+#define BTTV_BOARD_CYBERVISION_CV06        0xa3
 
 /* more card-specific defines */
 #define PT2254_L_CHANNEL 0x10


-- 
Ondrej Zary

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] bttv: Add CyberVision CV06
  2013-04-14 21:26 [PATCH] bttv: Add CyberVision CV06 Ondrej Zary
@ 2013-04-15 19:01 ` Ondrej Zary
  0 siblings, 0 replies; 2+ messages in thread
From: Ondrej Zary @ 2013-04-15 19:01 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: linux-media

On Sunday 14 April 2013 23:26:21 Ondrej Zary wrote:
> Add CyberVision CV06 4-camera card (from CyberVision SV card kit):
> http://www.cybervision.com.tw/products-swcard_kits-sv.html
>
> There are some interesting things on the card but they're not supported:
> 4 LEDs, a connector with 4 IN and 4 OUT pins, RESET IN and RESET OUT
> connectors, a relay and CyberVision CV8088-SV16 chip

As there's no documentation and even no driver for any OS available, I've 
measured the GPIO connections on the card:
GPIO[00..11] - CV8088-SV16 (probably a relabelled MCU)
GPIO[12..15] - VIN1..VIN4 odd/even field (probably for camera disconnect 
detection - detected by a LM1881 chip for each input)
GPIO[16..19] - IN1..IN4 pins on connector
GPIO[20..23] - OUT1..OUT4 pins on connector


-- 
Ondrej Zary

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-15 19:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-14 21:26 [PATCH] bttv: Add CyberVision CV06 Ondrej Zary
2013-04-15 19:01 ` Ondrej Zary

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).