Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / include / linux / platform_data / media / s5p_hdmi.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Driver header for S5P HDMI chip.
4  *
5  * Copyright (c) 2011 Samsung Electronics, Co. Ltd
6  * Contact: Tomasz Stanislawski <t.stanislaws@samsung.com>
7  */
8
9 #ifndef S5P_HDMI_H
10 #define S5P_HDMI_H
11
12 struct i2c_board_info;
13
14 /**
15  * @hdmiphy_bus: controller id for HDMIPHY bus
16  * @hdmiphy_info: template for HDMIPHY I2C device
17  * @mhl_bus: controller id for MHL control bus
18  * @mhl_info: template for MHL I2C device
19  * @hpd_gpio: GPIO for Hot-Plug-Detect pin
20  *
21  * NULL pointer for *_info fields indicates that
22  * the corresponding chip is not present
23  */
24 struct s5p_hdmi_platform_data {
25         int hdmiphy_bus;
26         struct i2c_board_info *hdmiphy_info;
27         int mhl_bus;
28         struct i2c_board_info *mhl_info;
29         int hpd_gpio;
30 };
31
32 #endif /* S5P_HDMI_H */