diff mbox

ARM: EXYNOS: Add HDMIPHY I2C adaptor

Message ID 1344261462-14183-2-git-send-email-dongjin.kim@agreeyamobility.net (mailing list archive)
State New, archived
Headers show

Commit Message

Dongjin Kim Aug. 6, 2012, 1:57 p.m. UTC
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@agreeyamobility.net>
---
 arch/arm/plat-samsung/devs.c |    4 ++++
 1 file changed, 4 insertions(+)

Comments

Sachin Kamat Aug. 7, 2012, 6:56 a.m. UTC | #1
Hi Dongjin,

A patch series to add HDMI platform data support is already under consideration.

http://comments.gmane.org/gmane.linux.kernel.samsung-soc/11352



On 6 August 2012 19:27, Dongjin Kim <tobetter@gmail.com> wrote:
> 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@agreeyamobility.net>
> ---
>  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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
Dongjin Kim Aug. 7, 2012, 7:28 a.m. UTC | #2
Hi Sachin,

Thanks for your feedback, I couldnt find the patch series eariler. ;)

Regards,
Dongjin.

Sent from Moxier Mail
(http://www.moxier.com)


----- ?? ??? -----
?? ??:Sachin Kamat <sachin.kamat@linaro.org>
?? ??:Dongjin Kim <tobetter@gmail.com>
??:Dongjin Kim <Dongjin.Kim@agreeyamobility.net>, Ben Dooks <ben-linux@fluff.org>, Kukjin Kim <kgene.kim@samsung.com>, Russell King <linux@arm.linux.org.uk>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, "linux-samsung-soc@vger.kernel.org" <linux-samsung-soc@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
?? ??:2012. 8. 7. 3:57 ??
??:Re: [PATCH] ARM: EXYNOS: Add HDMIPHY I2C adaptor



Hi Dongjin,

A patch series to add HDMI platform data support is already under consideration.

http://comments.gmane.org/gmane.linux.kernel.samsung-soc/11352



On 6 August 2012 19:27, Dongjin Kim <tobetter@gmail.com> wrote:
> 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@agreeyamobility.net>

> ---

>  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@vger.kernel.org

> More majordomo info at  http://vger.kernel.org/majordomo-info.html

> Please read the FAQ at  http://www.tux.org/lkml/




--
With warm regards,
Sachin
Kim Kukjin Aug. 8, 2012, 5:01 a.m. UTC | #3
I applied the patches Sachin pointed out, so we could drop this patch.

Note, Dongjin, please don't use Korean character in your e-mail and keep
the new line for over 80 columns, actually 76 or 78? anyways.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

Dongjin Kim wrote:
> 
> Hi Sachin,
> 
> Thanks for your feedback, I couldnt find the patch series eariler. ;)
> 
> Regards,
> Dongjin.
> 
> Sent from Moxier Mail
> (http://www.moxier.com)
> 
> 
> ----- ?? ??? -----
> ?? ??:Sachin Kamat <sachin.kamat@linaro.org> ?? ??:Dongjin Kim
> <tobetter@gmail.com> ??:Dongjin Kim <Dongjin.Kim@agreeyamobility.net>,
> Ben Dooks <ben-linux@fluff.org>, Kukjin Kim <kgene.kim@samsung.com>,
> Russell King <linux@arm.linux.org.uk>, "linux-arm-
> kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>,
> "linux-samsung-soc@vger.kernel.org" <linux-samsung-soc@vger.kernel.org>,
> "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> ??
??:2012.
> 8. 7. 3:57 ??
> ??:Re: [PATCH] ARM: EXYNOS: Add HDMIPHY I2C adaptor
> 
> 
> 
> Hi Dongjin,
> 
> A patch series to add HDMI platform data support is already under
> consideration.
> 
> http://comments.gmane.org/gmane.linux.kernel.samsung-soc/11352
> 
[...]
diff mbox

Patch

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