mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
c17eaf0c4d
This patch extends s5p-hdmi platform data by a GPIO identifier for Hot-Plug-Detection pin. Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com> Acked-by: Tomasz Stanislawski <t.stanislaws@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
37 lines
985 B
C
37 lines
985 B
C
/*
|
|
* 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
|
|
* @hpd_gpio: GPIO for Hot-Plug-Detect pin
|
|
*
|
|
* 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;
|
|
int hpd_gpio;
|
|
};
|
|
|
|
#endif /* S5P_HDMI_H */
|
|
|