]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
[media] media: s5p-hdmi: add HPD GPIO to platform data
authorTomasz Stanislawski <t.stanislaws@samsung.com>
Thu, 4 Oct 2012 15:42:39 +0000 (12:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 6 Oct 2012 02:11:51 +0000 (23:11 -0300)
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>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/media/s5p_hdmi.h

index 361a751f73afac404f2f1b72904ee4bd901a7477..181642b8d0a5bfbd9ed5dada6d7977b24753eaf0 100644 (file)
@@ -20,6 +20,7 @@ struct i2c_board_info;
  * @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
@@ -29,6 +30,7 @@ struct s5p_hdmi_platform_data {
        struct i2c_board_info *hdmiphy_info;
        int mhl_bus;
        struct i2c_board_info *mhl_info;
+       int hpd_gpio;
 };
 
 #endif /* S5P_HDMI_H */