All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rahul Sharma <rahul.sharma@samsung.com>
To: dri-devel@lists.freedesktop.org
Cc: t.stanislaws@samsung.com, l.krishna@samsung.com,
	joshi@samsung.com, kyungmin.park@samsung.com,
	fahad.k@samsung.com, rahul.sharma@samsung.com,
	prashanth.g@samsung.com, s.shirish@samsung.com
Subject: [PATCH v1 08/14] drm: exynos: hdmi: add support for exynos5 hdmiphy
Date: Thu, 04 Oct 2012 20:48:50 +0530	[thread overview]
Message-ID: <1349363936-8531-9-git-send-email-rahul.sharma@samsung.com> (raw)
In-Reply-To: <1349363936-8531-1-git-send-email-rahul.sharma@samsung.com>

This patch adds support for exynos5 hdmi phy with device tree enabled.

Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
---
 drivers/gpu/drm/exynos/exynos_hdmiphy.c |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/exynos/exynos_hdmiphy.c b/drivers/gpu/drm/exynos/exynos_hdmiphy.c
index 9fe2995..a33073b 100644
--- a/drivers/gpu/drm/exynos/exynos_hdmiphy.c
+++ b/drivers/gpu/drm/exynos/exynos_hdmiphy.c
@@ -42,13 +42,23 @@ static int hdmiphy_remove(struct i2c_client *client)
 
 static const struct i2c_device_id hdmiphy_id[] = {
 	{ "s5p_hdmiphy", 0 },
+	{ "exynos5-hdmiphy", 0 },
 	{ },
 };
 
+static struct of_device_id hdmiphy_match_types[] = {
+	{
+		.compatible = "samsung,exynos5-hdmiphy",
+	}, {
+		/* end node */
+	}
+};
+
 struct i2c_driver hdmiphy_driver = {
 	.driver = {
-		.name	= "s5p-hdmiphy",
+		.name	= "exynos-hdmiphy",
 		.owner	= THIS_MODULE,
+		.of_match_table = hdmiphy_match_types,
 	},
 	.id_table = hdmiphy_id,
 	.probe		= hdmiphy_probe,
-- 
1.7.0.4

  parent reply	other threads:[~2012-10-04  7:02 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-04 15:18 [PATCH v1 00/14] drm: exynos: hdmi: add dt based support for exynos5 hdmi Rahul Sharma
2012-10-04 15:18 ` [PATCH v1 01/14] media: s5p-hdmi: add HPD GPIO to platform data Rahul Sharma
2012-10-05  9:40   ` Tomasz Stanislawski
2012-10-04 15:18 ` [PATCH v1 02/14] drm: exynos: hdmi: support for platform variants Rahul Sharma
2012-10-04 15:18 ` [PATCH v1 03/14] drm: exynos: hdmi: fix interrupt handling Rahul Sharma
2012-10-04 15:18 ` [PATCH v1 04/14] drm: exynos: hdmi: use s5p-hdmi platform data Rahul Sharma
2012-10-04 15:18 ` [PATCH v1 05/14] drm: exynos: hdmi: turn off HPD interrupt in HDMI chip Rahul Sharma
2012-10-04 15:18 ` [PATCH v1 06/14] drm: exynos: remove drm hdmi platform data struct Rahul Sharma
2012-10-04 15:18 ` [PATCH v1 07/14] drm: exynos: hdmi: add support for exynos5 ddc Rahul Sharma
2012-10-04 15:18 ` Rahul Sharma [this message]
2012-10-04 15:18 ` [PATCH v1 09/14] drm: exynos: hdmi: add support for platform variants for mixer Rahul Sharma
2012-10-04 15:18 ` [PATCH v1 10/14] drm: exynos: hdmi: add support to disable video processor in mixer Rahul Sharma
2012-10-04 15:18 ` [PATCH v1 11/14] drm: exynos: hdmi: add support for exynos5 mixer Rahul Sharma
2012-10-04 15:18 ` [PATCH v1 12/14] drm: exynos: hdmi: replace is_v13 with version check in hdmi Rahul Sharma
2012-10-04 15:18 ` [PATCH v1 13/14] drm: exynos: hdmi: add support for exynos5 hdmi Rahul Sharma
2012-10-04 15:18 ` [PATCH v1 14/14] drm: exynos: hdmi: remove drm common hdmi platform data struct Rahul Sharma
2012-10-04 15:42 [PATCH v1 00/14] drm: exynos: hdmi: add dt based support for exynos5 hdmi Rahul Sharma
2012-10-04 15:42 ` [PATCH v1 08/14] drm: exynos: hdmi: add support for exynos5 hdmiphy Rahul Sharma
2012-10-04 15:42   ` Rahul Sharma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1349363936-8531-9-git-send-email-rahul.sharma@samsung.com \
    --to=rahul.sharma@samsung.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=fahad.k@samsung.com \
    --cc=joshi@samsung.com \
    --cc=kyungmin.park@samsung.com \
    --cc=l.krishna@samsung.com \
    --cc=prashanth.g@samsung.com \
    --cc=s.shirish@samsung.com \
    --cc=t.stanislaws@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.