Re: [PATCH 1/2] drm/exynos: add support for dt based search to exynos4 hdmi

2013-01-31 Thread Rahul Sharma
Thanks Mr. Dae,

I will include DT binding documentation in Arch side patches.
I am following the mentioned thread.

regards,
Rahul Sharma.

On Wed, Jan 30, 2013 at 12:07 PM, Inki Dae inki@samsung.com wrote:
 Hi Rahul,

 Could you add descriptions to dt document file? For this, you can
 refer to the below link,
 https://patchwork.kernel.org/patch/1948061/

 Thanks,
 Inki Dae

 2013/1/25 Rahul Sharma rahul.sha...@samsung.com:
 Signed-off-by: Rahul Sharma rahul.sha...@samsung.com
 ---
  drivers/gpu/drm/exynos/exynos_ddc.c | 2 ++
  drivers/gpu/drm/exynos/exynos_hdmi.c| 6 ++
  drivers/gpu/drm/exynos/exynos_hdmiphy.c | 2 ++
  3 files changed, 10 insertions(+)

 diff --git a/drivers/gpu/drm/exynos/exynos_ddc.c 
 b/drivers/gpu/drm/exynos/exynos_ddc.c
 index 4e9b5ba..7680809 100644
 --- a/drivers/gpu/drm/exynos/exynos_ddc.c
 +++ b/drivers/gpu/drm/exynos/exynos_ddc.c
 @@ -53,6 +53,8 @@ static struct of_device_id hdmiddc_match_types[] = {
 {
 .compatible = samsung,exynos5-hdmiddc,
 }, {
 +   .compatible = samsung,exynos4-hdmiddc,
 +   }, {
 /* end node */
 }
  };
 diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c 
 b/drivers/gpu/drm/exynos/exynos_hdmi.c
 index fbab3c4..202b65f 100644
 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c
 +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
 @@ -2418,6 +2418,12 @@ static struct platform_device_id hdmi_driver_types[] 
 = {
  #ifdef CONFIG_OF
  static struct of_device_id hdmi_match_types[] = {
 {
 +   .compatible = samsung,exynos4-hdmi,
 +   .data   = (void *)HDMI_TYPE13,
 +   }, {
 +   .compatible = samsung,exynos4-hdmi14,
 +   .data   = (void *)HDMI_TYPE14,
 +   }, {
 .compatible = samsung,exynos5-hdmi,
 .data   = (void *)HDMI_TYPE14,
 }, {
 diff --git a/drivers/gpu/drm/exynos/exynos_hdmiphy.c 
 b/drivers/gpu/drm/exynos/exynos_hdmiphy.c
 index ea49d13..2e33f90 100644
 --- a/drivers/gpu/drm/exynos/exynos_hdmiphy.c
 +++ b/drivers/gpu/drm/exynos/exynos_hdmiphy.c
 @@ -51,6 +51,8 @@ static struct of_device_id hdmiphy_match_types[] = {
 {
 .compatible = samsung,exynos5-hdmiphy,
 }, {
 +   .compatible = samsung,exynos4-hdmiphy,
 +   }, {
 /* end node */
 }
  };
 --
 1.8.0

 ___
 dri-devel mailing list
 dri-de...@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/dri-devel
 --
 To unsubscribe from this list: send the line unsubscribe linux-samsung-soc 
 in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 1/2] drm/exynos: add support for dt based search to exynos4 hdmi

2013-01-29 Thread Inki Dae
Hi Rahul,

Could you add descriptions to dt document file? For this, you can
refer to the below link,
https://patchwork.kernel.org/patch/1948061/

Thanks,
Inki Dae

2013/1/25 Rahul Sharma rahul.sha...@samsung.com:
 Signed-off-by: Rahul Sharma rahul.sha...@samsung.com
 ---
  drivers/gpu/drm/exynos/exynos_ddc.c | 2 ++
  drivers/gpu/drm/exynos/exynos_hdmi.c| 6 ++
  drivers/gpu/drm/exynos/exynos_hdmiphy.c | 2 ++
  3 files changed, 10 insertions(+)

 diff --git a/drivers/gpu/drm/exynos/exynos_ddc.c 
 b/drivers/gpu/drm/exynos/exynos_ddc.c
 index 4e9b5ba..7680809 100644
 --- a/drivers/gpu/drm/exynos/exynos_ddc.c
 +++ b/drivers/gpu/drm/exynos/exynos_ddc.c
 @@ -53,6 +53,8 @@ static struct of_device_id hdmiddc_match_types[] = {
 {
 .compatible = samsung,exynos5-hdmiddc,
 }, {
 +   .compatible = samsung,exynos4-hdmiddc,
 +   }, {
 /* end node */
 }
  };
 diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c 
 b/drivers/gpu/drm/exynos/exynos_hdmi.c
 index fbab3c4..202b65f 100644
 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c
 +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
 @@ -2418,6 +2418,12 @@ static struct platform_device_id hdmi_driver_types[] = 
 {
  #ifdef CONFIG_OF
  static struct of_device_id hdmi_match_types[] = {
 {
 +   .compatible = samsung,exynos4-hdmi,
 +   .data   = (void *)HDMI_TYPE13,
 +   }, {
 +   .compatible = samsung,exynos4-hdmi14,
 +   .data   = (void *)HDMI_TYPE14,
 +   }, {
 .compatible = samsung,exynos5-hdmi,
 .data   = (void *)HDMI_TYPE14,
 }, {
 diff --git a/drivers/gpu/drm/exynos/exynos_hdmiphy.c 
 b/drivers/gpu/drm/exynos/exynos_hdmiphy.c
 index ea49d13..2e33f90 100644
 --- a/drivers/gpu/drm/exynos/exynos_hdmiphy.c
 +++ b/drivers/gpu/drm/exynos/exynos_hdmiphy.c
 @@ -51,6 +51,8 @@ static struct of_device_id hdmiphy_match_types[] = {
 {
 .compatible = samsung,exynos5-hdmiphy,
 }, {
 +   .compatible = samsung,exynos4-hdmiphy,
 +   }, {
 /* end node */
 }
  };
 --
 1.8.0

 ___
 dri-devel mailing list
 dri-de...@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/dri-devel
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 1/2] drm/exynos: add support for dt based search to exynos4 hdmi

2013-01-25 Thread Rahul Sharma
Signed-off-by: Rahul Sharma rahul.sha...@samsung.com
---
 drivers/gpu/drm/exynos/exynos_ddc.c | 2 ++
 drivers/gpu/drm/exynos/exynos_hdmi.c| 6 ++
 drivers/gpu/drm/exynos/exynos_hdmiphy.c | 2 ++
 3 files changed, 10 insertions(+)

diff --git a/drivers/gpu/drm/exynos/exynos_ddc.c 
b/drivers/gpu/drm/exynos/exynos_ddc.c
index 4e9b5ba..7680809 100644
--- a/drivers/gpu/drm/exynos/exynos_ddc.c
+++ b/drivers/gpu/drm/exynos/exynos_ddc.c
@@ -53,6 +53,8 @@ static struct of_device_id hdmiddc_match_types[] = {
{
.compatible = samsung,exynos5-hdmiddc,
}, {
+   .compatible = samsung,exynos4-hdmiddc,
+   }, {
/* end node */
}
 };
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c 
b/drivers/gpu/drm/exynos/exynos_hdmi.c
index fbab3c4..202b65f 100644
--- a/drivers/gpu/drm/exynos/exynos_hdmi.c
+++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
@@ -2418,6 +2418,12 @@ static struct platform_device_id hdmi_driver_types[] = {
 #ifdef CONFIG_OF
 static struct of_device_id hdmi_match_types[] = {
{
+   .compatible = samsung,exynos4-hdmi,
+   .data   = (void *)HDMI_TYPE13,
+   }, {
+   .compatible = samsung,exynos4-hdmi14,
+   .data   = (void *)HDMI_TYPE14,
+   }, {
.compatible = samsung,exynos5-hdmi,
.data   = (void *)HDMI_TYPE14,
}, {
diff --git a/drivers/gpu/drm/exynos/exynos_hdmiphy.c 
b/drivers/gpu/drm/exynos/exynos_hdmiphy.c
index ea49d13..2e33f90 100644
--- a/drivers/gpu/drm/exynos/exynos_hdmiphy.c
+++ b/drivers/gpu/drm/exynos/exynos_hdmiphy.c
@@ -51,6 +51,8 @@ static struct of_device_id hdmiphy_match_types[] = {
{
.compatible = samsung,exynos5-hdmiphy,
}, {
+   .compatible = samsung,exynos4-hdmiphy,
+   }, {
/* end node */
}
 };
-- 
1.8.0

--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html