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
4940c53d
Commit
4940c53d
authored
Aug 07, 2013
by
Scott Jiang
Committed by
Steven Miao
Sep 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bf609: add adv7343 video encoder support
Signed-off-by:
Scott Jiang
<
scott.jiang.linux@gmail.com
>
parent
3036dccf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
0 deletions
+54
-0
arch/blackfin/mach-bf609/boards/ezkit.c
arch/blackfin/mach-bf609/boards/ezkit.c
+54
-0
No files found.
arch/blackfin/mach-bf609/boards/ezkit.c
View file @
4940c53d
...
...
@@ -1107,6 +1107,60 @@ static struct bfin_display_config bfin_display_data = {
};
#endif
#if IS_ENABLED(CONFIG_VIDEO_ADV7343)
#include <media/adv7343.h>
static
struct
v4l2_output
adv7343_outputs
[]
=
{
{
.
index
=
0
,
.
name
=
"Composite"
,
.
type
=
V4L2_OUTPUT_TYPE_ANALOG
,
.
std
=
V4L2_STD_ALL
,
.
capabilities
=
V4L2_OUT_CAP_STD
,
},
};
static
struct
disp_route
adv7343_routes
[]
=
{
{
.
output
=
0
,
},
};
static
struct
adv7343_platform_data
adv7343_data
=
{
.
mode_config
=
{
.
sleep_mode
=
false
,
.
pll_control
=
false
,
.
dac_1
=
true
,
.
dac_2
=
true
,
.
dac_3
=
true
,
.
dac_4
=
true
,
.
dac_5
=
true
,
.
dac_6
=
true
,
},
.
sd_config
=
{
.
sd_dac_out1
=
false
,
.
sd_dac_out2
=
false
,
},
};
static
struct
bfin_display_config
bfin_display_data
=
{
.
card_name
=
"BF609"
,
.
outputs
=
adv7343_outputs
,
.
num_outputs
=
ARRAY_SIZE
(
adv7343_outputs
),
.
routes
=
adv7343_routes
,
.
i2c_adapter_id
=
0
,
.
board_info
=
{
.
type
=
"adv7343"
,
.
addr
=
0x2b
,
.
platform_data
=
(
void
*
)
&
adv7343_data
,
},
.
ppi_info
=
&
ppi_info_disp
,
.
ppi_control
=
(
PACK_EN
|
DLEN_8
|
EPPI_CTL_FS1LO_FS2LO
|
EPPI_CTL_POLC3
|
EPPI_CTL_BLANKGEN
|
EPPI_CTL_SYNC2
|
EPPI_CTL_NON656
|
EPPI_CTL_DIR
),
};
#endif
static
struct
platform_device
bfin_display_device
=
{
.
name
=
"bfin_display"
,
.
dev
=
{
...
...
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