Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

V4L/DVB (5497): Additional card support for bttv driver

SSAI (www.ssai.us) makes several Bt878-based capture cards that get used in our
surveillance, conferencing, and medical imaging systems. The attached
relatively small patch adds support for these cards, which fall into two broad
* boards with one or more Bt878s, one or more composite inputs, and no S-video
or tuner inputs
* boards with one Bt878, one composite input, one S-video input, and no tuner
input

Signed-off-by: Scott Alfter <salfter@ssai.us>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

authored by

Scott Alfter and committed by
Mauro Carvalho Chehab
1ebba670 4b9d4e7d

+29
+2
Documentation/video4linux/CARDLIST.bttv
··· 143 143 142 -> Sabrent TV-FM (bttv version) 144 144 143 -> Hauppauge ImpactVCB (bt878) [0070:13eb] 145 145 144 -> MagicTV 146 + 145 -> SSAI Security Video Interface [4149:5353] 147 + 146 -> SSAI Ultrasound Video Interface [414a:5353]
+25
drivers/media/video/bt8xx/bttv-cards.c
··· 291 291 292 292 { 0x15409511, BTTV_BOARD_ACORP_Y878F, "Acorp Y878F" }, 293 293 294 + { 0x53534149, BTTV_BOARD_SSAI_SECURITY, "SSAI Security Video Interface" }, 295 + { 0x5353414a, BTTV_BOARD_SSAI_ULTRASOUND, "SSAI Ultrasound Video Interface" }, 296 + 294 297 /* likely broken, vendor id doesn't match the other magic views ... 295 298 * { 0xa0fca04f, BTTV_BOARD_MAGICTVIEW063, "Guillemot Maxi TV Video 3" }, */ 296 299 ··· 2909 2906 .pll = PLL_28, 2910 2907 .has_radio = 1, 2911 2908 .has_remote = 1, 2909 + }, 2910 + [BTTV_BOARD_SSAI_SECURITY] = { 2911 + .name = "SSAI Security Video Interface", 2912 + .video_inputs = 4, 2913 + .audio_inputs = 0, 2914 + .tuner = -1, 2915 + .svhs = -1, 2916 + .muxsel = { 0, 1, 2, 3 }, 2917 + .tuner_type = -1, 2918 + .tuner_addr = ADDR_UNSET, 2919 + .radio_addr = ADDR_UNSET, 2920 + }, 2921 + [BTTV_BOARD_SSAI_ULTRASOUND] = { 2922 + .name = "SSAI Ultrasound Video Interface", 2923 + .video_inputs = 2, 2924 + .audio_inputs = 0, 2925 + .tuner = -1, 2926 + .svhs = 1, 2927 + .muxsel = { 2, 0, 1, 3 }, 2928 + .tuner_type = -1, 2929 + .tuner_addr = ADDR_UNSET, 2930 + .radio_addr = ADDR_UNSET, 2912 2931 }, 2913 2932 }; 2914 2933
+2
drivers/media/video/bt8xx/bttv.h
··· 168 168 #define BTTV_BOARD_SABRENT_TVFM 0x8e 169 169 #define BTTV_BOARD_HAUPPAUGE_IMPACTVCB 0x8f 170 170 #define BTTV_BOARD_MACHTV_MAGICTV 0x90 171 + #define BTTV_BOARD_SSAI_SECURITY 0x91 172 + #define BTTV_BOARD_SSAI_ULTRASOUND 0x92 171 173 172 174 /* more card-specific defines */ 173 175 #define PT2254_L_CHANNEL 0x10