This patch adds support for HDMI platform data. Signed-off-by: Tomasz Stanislawski <t.stanislaws@xxxxxxxxxxx> Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx> --- arch/arm/mach-exynos/mach-universal_c210.c | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/mach-universal_c210.c b/arch/arm/mach-exynos/mach-universal_c210.c index 37ac93e..bec57c0 100644 --- a/arch/arm/mach-exynos/mach-universal_c210.c +++ b/arch/arm/mach-exynos/mach-universal_c210.c @@ -45,6 +45,8 @@ #include <media/v4l2-mediabus.h> #include <media/s5p_fimc.h> +#include <media/s5p_hdmi.h> + #include <media/m5mols.h> #include "common.h" @@ -997,6 +999,15 @@ static void __init universal_map_io(void) s3c24xx_init_uarts(universal_uartcfgs, ARRAY_SIZE(universal_uartcfgs)); } +static struct i2c_board_info s5p_hdmiphy_info = { + I2C_BOARD_INFO("hdmiphy", 0x70 >> 1), +}; + +static struct s5p_hdmi_platform_data s5p_hdmi_pdata = { + .hdmiphy_info = &s5p_hdmiphy_info, + .hdmiphy_bus = 8, +}; + void s5p_tv_setup(void) { /* direct HPD to HDMI chip */ @@ -1004,6 +1015,9 @@ void s5p_tv_setup(void) s3c_gpio_cfgpin(EXYNOS4_GPX3(7), S3C_GPIO_SFN(0x3)); s3c_gpio_setpull(EXYNOS4_GPX3(7), S3C_GPIO_PULL_NONE); + /* setting platform data */ + s5p_device_hdmi.dev.platform_data = &s5p_hdmi_pdata; + /* setup dependencies between TV devices */ s5p_device_hdmi.dev.parent = &exynos4_device_pd[PD_TV].dev; s5p_device_mixer.dev.parent = &exynos4_device_pd[PD_TV].dev; -- 1.7.5.4 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html