-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[media] v4l: s5p-tv: hdmi: add support for platform data
Moving configuration of s5p-hdmi peripherals from driver data to platfrom data. Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
- Loading branch information
Tomasz Stanislawski
authored and
Mauro Carvalho Chehab
committed
Feb 28, 2012
1 parent
56e1df4
commit 350f2f4
Showing
2 changed files
with
52 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* Driver header for S5P HDMI chip. | ||
* | ||
* Copyright (c) 2011 Samsung Electronics, Co. Ltd | ||
* Contact: Tomasz Stanislawski <t.stanislaws@samsung.com> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
*/ | ||
|
||
#ifndef S5P_HDMI_H | ||
#define S5P_HDMI_H | ||
|
||
struct i2c_board_info; | ||
|
||
/** | ||
* @hdmiphy_bus: controller id for HDMIPHY bus | ||
* @hdmiphy_info: template for HDMIPHY I2C device | ||
* @mhl_bus: controller id for MHL control bus | ||
* @mhl_info: template for MHL I2C device | ||
* | ||
* NULL pointer for *_info fields indicates that | ||
* the corresponding chip is not present | ||
*/ | ||
struct s5p_hdmi_platform_data { | ||
int hdmiphy_bus; | ||
struct i2c_board_info *hdmiphy_info; | ||
int mhl_bus; | ||
struct i2c_board_info *mhl_info; | ||
}; | ||
|
||
#endif /* S5P_HDMI_H */ | ||
|