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
199aad16
Commit
199aad16
authored
Aug 20, 2014
by
Sonic Zhang
Committed by
Steven Miao
Apr 23, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bf609: add platform data for soft switch devices on the video extenders
Signed-off-by:
Sonic Zhang
<
sonic.zhang@analog.com
>
parent
707e6f0b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
arch/blackfin/mach-bf609/boards/ezkit.c
arch/blackfin/mach-bf609/boards/ezkit.c
+22
-0
No files found.
arch/blackfin/mach-bf609/boards/ezkit.c
View file @
199aad16
...
@@ -1873,6 +1873,16 @@ static const struct mcp23s08_platform_data bfin_mcp23s08_soft_switch1 = {
...
@@ -1873,6 +1873,16 @@ static const struct mcp23s08_platform_data bfin_mcp23s08_soft_switch1 = {
static
const
struct
mcp23s08_platform_data
bfin_mcp23s08_soft_switch2
=
{
static
const
struct
mcp23s08_platform_data
bfin_mcp23s08_soft_switch2
=
{
.
base
=
140
,
.
base
=
140
,
};
};
# if IS_ENABLED(CONFIG_VIDEO_ADV7842)
static
const
struct
mcp23s08_platform_data
bfin_adv7842_soft_switch
=
{
.
base
=
150
,
};
# endif
# if IS_ENABLED(CONFIG_VIDEO_ADV7511) || IS_ENABLED(CONFIG_VIDEO_ADV7343)
static
const
struct
mcp23s08_platform_data
bfin_adv7511_soft_switch
=
{
.
base
=
160
,
};
# endif
#endif
#endif
static
struct
i2c_board_info
__initdata
bfin_i2c_board_info0
[]
=
{
static
struct
i2c_board_info
__initdata
bfin_i2c_board_info0
[]
=
{
...
@@ -1907,6 +1917,18 @@ static struct i2c_board_info __initdata bfin_i2c_board_info0[] = {
...
@@ -1907,6 +1917,18 @@ static struct i2c_board_info __initdata bfin_i2c_board_info0[] = {
I2C_BOARD_INFO
(
"mcp23017"
,
0x23
),
I2C_BOARD_INFO
(
"mcp23017"
,
0x23
),
.
platform_data
=
(
void
*
)
&
bfin_mcp23s08_soft_switch2
.
platform_data
=
(
void
*
)
&
bfin_mcp23s08_soft_switch2
},
},
# if IS_ENABLED(CONFIG_VIDEO_ADV7842)
{
I2C_BOARD_INFO
(
"mcp23017"
,
0x26
),
.
platform_data
=
(
void
*
)
&
bfin_adv7842_soft_switch
},
# endif
# if IS_ENABLED(CONFIG_VIDEO_ADV7511) || IS_ENABLED(CONFIG_VIDEO_ADV7343)
{
I2C_BOARD_INFO
(
"mcp23017"
,
0x25
),
.
platform_data
=
(
void
*
)
&
bfin_adv7511_soft_switch
},
# endif
#endif
#endif
};
};
...
...
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