From patchwork Thu Oct 4 15:42:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 1545071 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id CFCB13FD9C for ; Thu, 4 Oct 2012 07:25:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752952Ab2JDHZZ (ORCPT ); Thu, 4 Oct 2012 03:25:25 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:45511 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753158Ab2JDHZG (ORCPT ); Thu, 4 Oct 2012 03:25:06 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MBC00LFOXWSZVQ0@mailout2.samsung.com> for linux-media@vger.kernel.org; Thu, 04 Oct 2012 16:24:48 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.126]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id FF.A5.03783.0C93D605; Thu, 04 Oct 2012 16:24:48 +0900 (KST) X-AuditID: cbfee61a-b7f726d000000ec7-dc-506d39c086b8 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 5F.A5.03783.0C93D605; Thu, 04 Oct 2012 16:24:48 +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 <0MBC006I9XWMLU10@mmp2.samsung.com> for linux-media@vger.kernel.org; Thu, 04 Oct 2012 16:24:48 +0900 (KST) From: Rahul Sharma To: linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Cc: t.stanislaws@samsung.com, inki.dae@samsung.com, kyungmin.park@samsung.com, joshi@samsung.com Subject: [PATCH v1 08/14] drm: exynos: hdmi: add support for exynos5 hdmiphy Date: Thu, 04 Oct 2012 21:12:46 +0530 Message-id: <1349365372-21417-9-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.0.4 In-reply-to: <1349365372-21417-1-git-send-email-rahul.sharma@samsung.com> References: <1349365372-21417-1-git-send-email-rahul.sharma@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrFLMWRmVeSWpSXmKPExsWyRsSkTveAZW6AwffJ5hY9G7ayOjB6fN4k F8AYxWWTkpqTWZZapG+XwJWx98VKxoJNHBUHOvczNzC+Yeti5OSQEDCRWPR8MQuELSZx4d56 oDgXh5DAUkaJV8umMsEUXVl4jxUiMZ1RYvWKTcwQznImif4H7WCj2AR0JWYffMYIYosIuEps 3XITzGYWSJL4/nMS2CRhAR+Jqw9PADVzcLAIqEo8OWYHEuYV8JDovbSeFWKZgkTrskPsICWc Ap4SR34mgoSFgEomfegAK2EREJD4NvkQC0iJhICsxKYDYNdICJxhk7j2cBY7xBhJiYMrbrBM YBRewMiwilE0tSC5oDgpPddQrzgxt7g0L10vOT93EyMwAE//eya1g3Flg8UhRgEORiUeXsPu nAAh1sSy4srcQ4wSHMxKIrybFXMDhHhTEiurUovy44tKc1KLDzH6AF0ykVlKNDkfGB15JfGG xibmpsamlkZGZqamOISVxHmbPVIChATSE0tSs1NTC1KLYMYxcXBKNTDuWf/x5/ILudE72TXe HOBj1Xdhv+bOkbs1exv3yi/d+g88xNIPhF1nXGx2zD1Pp07L9tEcs+tR8+89nfR0mszMSUen 3Pif/P0Nq0kWwxeuCUbeLkL+yp+WOzhxfZ59/VDx1Yi5ytEWDoENT64errn5aO/Wi7erDzC+ 0lFsubcm5+kO+0uGnTv1lViKMxINtZiLihMBvwPUGW0CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupkkeLIzCtJLcpLzFFi42I5/e+xoO4By9wAgwndGhY9G7ayOjB6fN4k F8AY1cBok5GamJJapJCal5yfkpmXbqvkHRzvHG9qZmCoa2hpYa6kkJeYm2qr5OIToOuWmQM0 VUmhLDGnFCgUkFhcrKRvh2lCaIibrgVMY4Sub0gQXI+RARpIWMOYsffFSsaCTRwVBzr3Mzcw vmHrYuTkkBAwkbiy8B4rhC0mceHeeqA4F4eQwHRGidUrNjFDOMuZJPoftIN1sAnoSsw++IwR xBYRcJXYuuUmmM0skCTx/eckJhBbWMBH4urDE0DNHBwsAqoST47ZgYR5BTwkei+th1qmING6 7BA7SAmngKfEkZ+JIGEhoJJJHzpYJzDyLmBkWMUomlqQXFCclJ5rqFecmFtcmpeul5yfu4kR HN7PpHYwrmywOMQowMGoxMNr2J0TIMSaWFZcmXuIUYKDWUmEd7NiboAQb0piZVVqUX58UWlO avEhRh+gmyYyS4km5wNjL68k3tDYxNzU2NTSxMLEzBKHsJI4b7NHSoCQQHpiSWp2ampBahHM OCYOTqkGRsHcqLvyaSnFLOabjV3ulV783n9jo5VuveG+v05ZrvLqU86nvzJRM++8cKAt+Nrs 8Ly7c4WavsXfs5r2fX2pneeaS137NioWT8pfqGurLdmwj3+Rdb3pUc+GzNTt6nN91Njn/Mi4 l1eh+enY/Qmvj79n1DcvdM49tYdRKv1D/pvzxwImvJP5rcRSnJFoqMVcVJwIAIgRSQCcAgAA X-CFilter-Loop: Reflected Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.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,