[PATCH] ARM: EXYNOS: Add HDMIPHY I2C adaptor

From: Dongjin Kim
Date: Mon Aug 06 2012 - 09:58:11 EST


This patch assign the I2C channel for HDMIPHY for Exynos4x12
in s5p_i2c_hdmiphy_set_platdata() and s5p_hdmi_set_platdata()

Change-Id: I7e66c8f9327e2f7dce7440efb8583b506d65831a
Signed-off-by: Dongjin Kim <dongjin.kim@xxxxxxxxxxxxxxxxxxx>
---
arch/arm/plat-samsung/devs.c | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c
index a199e55..54614d0 100644
--- a/arch/arm/plat-samsung/devs.c
+++ b/arch/arm/plat-samsung/devs.c
@@ -752,6 +752,8 @@ void __init s5p_i2c_hdmiphy_set_platdata(struct s3c2410_platform_i2c *pd)

if (soc_is_exynos4210())
pd->bus_num = 8;
+ else if (soc_is_exynos4212() || soc_is_exynos4412())
+ pd->bus_num = 8;
else if (soc_is_s5pv210())
pd->bus_num = 3;
else
@@ -771,6 +773,8 @@ void __init s5p_hdmi_set_platdata(struct i2c_board_info *hdmiphy_info,

if (soc_is_exynos4210())
pd->hdmiphy_bus = 8;
+ else if (soc_is_exynos4212() || soc_is_exynos4412())
+ pd->hdmiphy_bus = 8;
else if (soc_is_s5pv210())
pd->hdmiphy_bus = 3;
else
--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/