Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
766ed64d
Commit
766ed64d
authored
May 24, 2009
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (11827): Add support for Terratec Grabster AV350
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
4557af9c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
0 deletions
+33
-0
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx-cards.c
+32
-0
drivers/media/video/em28xx/em28xx.h
drivers/media/video/em28xx/em28xx.h
+1
-0
No files found.
drivers/media/video/em28xx/em28xx-cards.c
View file @
766ed64d
...
...
@@ -140,6 +140,16 @@ static struct em28xx_reg_seq compro_mute_gpio[] = {
{
-
1
,
-
1
,
-
1
,
-
1
},
};
/* Terratec AV350 */
static
struct
em28xx_reg_seq
terratec_av350_mute_gpio
[]
=
{
{
EM28XX_R08_GPIO
,
0xff
,
0x7f
,
10
},
{
-
1
,
-
1
,
-
1
,
-
1
},
};
static
struct
em28xx_reg_seq
terratec_av350_unmute_gpio
[]
=
{
{
EM28XX_R08_GPIO
,
0xff
,
0xff
,
10
},
{
-
1
,
-
1
,
-
1
,
-
1
},
};
/*
* Board definitions
*/
...
...
@@ -1363,6 +1373,26 @@ struct em28xx_board em28xx_boards[] = {
.
amux
=
EM28XX_AMUX_VIDEO2
,
}
},
},
[
EM2860_BOARD_TERRATEC_AV350
]
=
{
.
name
=
"Terratec AV350"
,
.
vchannels
=
2
,
.
tuner_type
=
TUNER_ABSENT
,
.
decoder
=
EM28XX_TVP5150
,
.
xclk
=
EM28XX_XCLK_FREQUENCY_12MHZ
,
.
mute_gpio
=
terratec_av350_mute_gpio
,
.
input
=
{
{
.
type
=
EM28XX_VMUX_COMPOSITE1
,
.
vmux
=
TVP5150_COMPOSITE1
,
.
amux
=
EM28XX_AUDIO_SRC_LINE
,
.
gpio
=
terratec_av350_unmute_gpio
,
},
{
.
type
=
EM28XX_VMUX_SVIDEO
,
.
vmux
=
TVP5150_SVIDEO
,
.
amux
=
EM28XX_AUDIO_SRC_LINE
,
.
gpio
=
terratec_av350_unmute_gpio
,
}
},
},
};
const
unsigned
int
em28xx_bcount
=
ARRAY_SIZE
(
em28xx_boards
);
...
...
@@ -1426,6 +1456,8 @@ struct usb_device_id em28xx_id_table[] = {
.
driver_info
=
EM2870_BOARD_TERRATEC_XS
},
{
USB_DEVICE
(
0x0ccd
,
0x0047
),
.
driver_info
=
EM2880_BOARD_TERRATEC_PRODIGY_XS
},
{
USB_DEVICE
(
0x0ccd
,
0x0084
),
.
driver_info
=
EM2860_BOARD_TERRATEC_AV350
},
{
USB_DEVICE
(
0x0ccd
,
0x0096
),
.
driver_info
=
EM2860_BOARD_TERRATEC_GRABBY
},
{
USB_DEVICE
(
0x185b
,
0x2870
),
...
...
drivers/media/video/em28xx/em28xx.h
View file @
766ed64d
...
...
@@ -104,6 +104,7 @@
#define EM2820_BOARD_IODATA_GVMVP_SZ 65
#define EM2880_BOARD_EMPIRE_DUAL_TV 66
#define EM2860_BOARD_TERRATEC_GRABBY 67
#define EM2860_BOARD_TERRATEC_AV350 68
/* Limits minimum and default number of buffers */
#define EM28XX_MIN_BUF 4
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment