From patchwork Thu Oct 4 15:18:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 1545671 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 62C723FD9C for ; Thu, 4 Oct 2012 09:29:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2E160A0CC2 for ; Thu, 4 Oct 2012 02:29:30 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 87733A0C25 for ; Thu, 4 Oct 2012 00:02:03 -0700 (PDT) Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MBC00KMJWT4NUC0@mailout1.samsung.com> for dri-devel@lists.freedesktop.org; Thu, 04 Oct 2012 16:01:24 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.124]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 69.9E.03783.4443D605; Thu, 04 Oct 2012 16:01:24 +0900 (KST) X-AuditID: cbfee61a-b7f726d000000ec7-0c-506d34446954 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 98.9E.03783.3443D605; Thu, 04 Oct 2012 16:01:23 +0900 (KST) Received: from localhost.localdomain ([107.108.73.106]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MBC0040MWSZQ360@mmp2.samsung.com> for dri-devel@lists.freedesktop.org; Thu, 04 Oct 2012 16:01:23 +0900 (KST) From: Rahul Sharma To: dri-devel@lists.freedesktop.org Subject: [PATCH v1 08/14] drm: exynos: hdmi: add support for exynos5 hdmiphy Date: Thu, 04 Oct 2012 20:48:50 +0530 Message-id: <1349363936-8531-9-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.0.4 In-reply-to: <1349363936-8531-1-git-send-email-rahul.sharma@samsung.com> References: <1349363936-8531-1-git-send-email-rahul.sharma@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrHLMWRmVeSWpSXmKPExsWyRsSkRtfFJDfA4N5KDosrX9+zOTB63O8+ zhTAGMVlk5Kak1mWWqRvl8CVsffFSsaCTRwVBzr3MzcwvmHrYuTkkBAwkWhbvIkRwhaTuHBv PVCci0NIYCmjxI77++GKdi6/xQyRmM4o8eXvKhYIZzWTxPPFh8Gq2AR0JWYffAY2SkRAWeLv xFWMIEXMAouYJP7d+cAOkhAW8JG4+vAEM4jNIqAqsevYGjCbV8Bd4un2g6wQ6xQkWpcdAqvn FPCQWPjrBpgtBFTz5NolRoheAYlvkw8BXcEBVC8rsekA2HUSApfZJE5dfwA1R1Li4IobLBMY hRcwMqxiFE0tSC4oTkrPNdQrTswtLs1L10vOz93ECAzE0/+eSe1gXNlgcYhRgINRiYfXsDsn QIg1say4MvcQowQHs5II72bF3AAh3pTEyqrUovz4otKc1OJDjD5Al0xklhJNzgdGSV5JvKGx ibmpsamlkZGZqSkOYSVx3maPlAAhgfTEktTs1NSC1CKYcUwcnFINjALveYWMNyvo5Ib/uZou /OYrVz3jb9/pG8znZzmfODB3aue+yAdystY8a5+uf3pgBoOJe1rt4pL0ldsE90b+/Juzl7c/ +Nf2JQwOGyXvaTidEby8oLpm4a3ow7ee/7eVmtEfMSV+93VvvpP3Agu8+nuWvbZ+9+63uE0f z/UtqRc3+3hmzcieL67EUpyRaKjFXFScCADla3c4cQIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkeLIzCtJLcpLzFFi42I5/e+xoK6zSW6AwanNNhZXvr5nc2D0uN99 nCmAMaqB0SYjNTEltUghNS85PyUzL91WyTs43jne1MzAUNfQ0sJcSSEvMTfVVsnFJ0DXLTMH aKySQlliTilQKCCxuFhJ3w7ThNAQN10LmMYIXd+QILgeIwM0kLCGMWPvi5WMBZs4Kg507mdu YHzD1sXIySEhYCKxc/ktZghbTOLCvfVAcS4OIYHpjBJf/q5igXBWM0k8X3wYrINNQFdi9sFn jCC2iICyxN+JqxhBipgFFjFJ/LvzgR0kISzgI3H14QmwsSwCqhK7jq0Bs3kF3CWebj/ICrFO QaJ12SGwek4BD4mFv26A2UJANU+uXWKcwMi7gJFhFaNoakFyQXFSeq6hXnFibnFpXrpecn7u JkZwmD+T2sG4ssHiEKMAB6MSD69hd06AEGtiWXFl7iFGCQ5mJRHezYq5AUK8KYmVValF+fFF pTmpxYcYfYCumsgsJZqcD4zBvJJ4Q2MTc1NjU0sTCxMzSxzCSuK8zR4pAUIC6YklqdmpqQWp RTDjmDg4pRoY8xe18Zn1VPgWXubh7Ynfsct+TaEp/wKR9lMrvQLbn9VuU5fWsPx6zfaz9AkO Sbnjy9y2BWyWruGr9RDYyhTuY5Fgtv/QxlUhb/qMtUWelt6YFmB0rm6ttuF5L9cJ35miW8PN IsVW7l4ol+bWZpIXlyVhKVW0KP73rs76LpVvey1f29zhslBiKc5INNRiLipOBACg5j07oAIA AA== X-CFilter-Loop: Reflected X-Mailman-Approved-At: Thu, 04 Oct 2012 00:52:22 -0700 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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org This patch adds support for exynos5 hdmi phy with device tree enabled. Signed-off-by: Rahul Sharma --- 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,