From patchwork Mon May 5 04:57:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shirish S X-Patchwork-Id: 4122611 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 522DB9F387 for ; Tue, 6 May 2014 15:51:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6FF9E20253 for ; Tue, 6 May 2014 15:51:29 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 78FF420251 for ; Tue, 6 May 2014 15:51:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F0FEF6EBC9; Tue, 6 May 2014 08:51:20 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by gabe.freedesktop.org (Postfix) with ESMTP id A6E9C6E0C8 for ; Sun, 4 May 2014 21:58:47 -0700 (PDT) Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5300ANC4HX2AA0@mailout2.samsung.com> for dri-devel@lists.freedesktop.org; Mon, 05 May 2014 13:58:45 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.122]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 73.EB.18501.38A17635; Mon, 05 May 2014 13:58:43 +0900 (KST) X-AuditID: cbfee68d-b7f4e6d000004845-ea-53671a83b9cf Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id B4.44.27725.38A17635; Mon, 05 May 2014 13:58:43 +0900 (KST) Received: from chromebld-server.sisodomain.com ([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 <0N5300JPA4HQY650@mmp2.samsung.com>; Mon, 05 May 2014 13:58:43 +0900 (KST) From: Shirish S To: dri-devel@lists.freedesktop.org, inki.dae@samsung.com, stephane.marchesin@gmail.com Subject: [PATCH] drm/exynos: update phy settings for RB resolutions Date: Mon, 05 May 2014 10:27:51 +0530 Message-id: <1399265872-7834-1-git-send-email-s.shirish@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrCLMWRmVeSWpSXmKPExsWyRsSkSrdZKj3YYGKbusWVr+/ZLCbdn8Bi MW32RkaLXWtbGB1YPHbOusvucb/7OJNH35ZVjAHMUVw2Kak5mWWpRfp2CVwZMz6cYS74Kl7x /nMjewPjBqEuRk4OCQETib69k5ghbDGJC/fWs3UxcnEICSxllDhz+jYLTFFT/zoWiMR0RomH sz9AOROYJJ5P6wCrYhNQl7g4eTXYKBGBSImm8/dZQWxmAVWJq/+3M3UxcnAICzhLfFmhDGKy AIW3dtWAVPAKuEh839nEDBKWEFCQmDPJBmS6hMB9Non7rw6DTWQREJD4NvkQC0SNrMSmA1A3 S0ocXHGDZQKj4AJGhlWMoqkFyQXFSelFhnrFibnFpXnpesn5uZsYgSF4+t+z3h2Mtw9YH2JM Bho3kVlKNDkfGMJ5JfGGxmZGFqYmpsZG5pZmpAkrifMmPUwKEhJITyxJzU5NLUgtii8qzUkt PsTIxMEp1cDoEVb3U3TBkpvfGWbMiPM+d9jxyOTr3bv/v9/QFFj0zurBqYk6y2+EhdjXO12P vFTSsXV3zO8p7Q5q/1WOiKl1Jn+bfUijaM6OGZc3bbHyTv+8X+6d9VdP+5PXdt9o1jZYGrmc 4eDOL1V3jCa6cPYdvMLin1d6Ptc2PFTmkolqyIpDf769tl7PosRSnJFoqMVcVJwIAAsvK1FX AgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrIIsWRmVeSWpSXmKPExsVy+t9jQd1mqfRgg4ktchZXvr5ns5h0fwKL xbTZGxktdq1tYXRg8dg56y67x/3u40wefVtWMQYwRzUw2mSkJqakFimk5iXnp2TmpdsqeQfH O8ebmhkY6hpaWpgrKeQl5qbaKrn4BOi6ZeYA7VNSKEvMKQUKBSQWFyvp22GaEBripmsB0xih 6xsSBNdjZIAGEtYwZsz4cIa54Kt4xfvPjewNjBuEuhg5OSQETCSa+texQNhiEhfurWfrYuTi EBKYzijxcPYHFghnApPE82kdYFVsAuoSFyevZgaxRQQiJZrO32cFsZkFVCWu/t/O1MXIwSEs 4CzxZYUyiMkCFN7aVQNSwSvgIvF9ZxMzSFhCQEFiziSbCYzcCxgZVjGKphYkFxQnpeca6hUn 5haX5qXrJefnbmIEB/gzqR2MKxssDjEKcDAq8fAmMKcHC7EmlhVX5h5ilOBgVhLhncUIFOJN SaysSi3Kjy8qzUktPsSYDLR7IrOUaHI+MPrySuINjU3MTY1NLU0sTMwsSRNWEuc90GodKCSQ nliSmp2aWpBaBLOFiYNTqoHxtKz560+r5Z+/uGzYtH91vZZXaE6F5+3pqomHNxf9+PV665VZ 29wemDlMTi4KTTuc03FKoaX3WMWb2MlegrcVduTLK6mbbmn0edR2dbpx6SP23HMMVWEbPnM1 TN7hPDttXxrzI4UY8TP1rWsVbc04eZ74vLLb+FS7Tvtcq0qt/7bDng9rhCqUWIozEg21mIuK EwE1FmMstAIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-Mailman-Approved-At: Tue, 06 May 2014 08:51:19 -0700 Cc: Shirish S X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch updates phy settings of the below mentioned pixel clocks in Exynos5250 and removes support for 88.75MHz, for it is not supported. 71 MHz - 1280x800@60Hz RB 73.25 MHz - 800x600@120Hz RB 115.5 MHz - 1024x768@120Hz RB 119 MHz - 1680x1050@60Hz RB Signed-off-by: Shirish S --- drivers/gpu/drm/exynos/exynos_hdmi.c | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index 9a6d652..7f14faf 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -319,18 +319,18 @@ static const struct hdmiphy_config hdmiphy_v14_configs[] = { { .pixel_clock = 71000000, .conf = { - 0x01, 0x91, 0x1e, 0x15, 0x40, 0x3c, 0xce, 0x08, - 0x04, 0x20, 0xb2, 0xd8, 0x45, 0xa0, 0xac, 0x80, - 0x06, 0x80, 0x11, 0x04, 0x02, 0x22, 0x44, 0x86, + 0x01, 0xd1, 0x3b, 0x35, 0x40, 0x0c, 0x04, 0x08, + 0x85, 0xa0, 0x63, 0xd9, 0x45, 0xa0, 0xac, 0x80, + 0x08, 0x80, 0x11, 0x04, 0x02, 0x22, 0x44, 0x86, 0x54, 0xad, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80, }, }, { .pixel_clock = 73250000, .conf = { - 0x01, 0xd1, 0x1f, 0x15, 0x40, 0x18, 0xe9, 0x08, - 0x02, 0xa0, 0xb7, 0xd8, 0x45, 0xa0, 0xac, 0x80, - 0x06, 0x80, 0x11, 0x04, 0x02, 0x22, 0x44, 0x86, + 0x01, 0xd1, 0x3d, 0x35, 0x40, 0x18, 0x02, 0x08, + 0x83, 0xa0, 0x6e, 0xd9, 0x45, 0xa0, 0xac, 0x80, + 0x08, 0x80, 0x11, 0x04, 0x02, 0x22, 0x44, 0x86, 0x54, 0xa8, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80, }, }, @@ -362,15 +362,6 @@ static const struct hdmiphy_config hdmiphy_v14_configs[] = { }, }, { - .pixel_clock = 88750000, - .conf = { - 0x01, 0x91, 0x25, 0x17, 0x40, 0x30, 0xfe, 0x08, - 0x06, 0x20, 0xde, 0xd8, 0x45, 0xa0, 0xac, 0x80, - 0x06, 0x80, 0x11, 0x04, 0x02, 0x22, 0x44, 0x86, - 0x54, 0x8a, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80, - }, - }, - { .pixel_clock = 106500000, .conf = { 0x01, 0xd1, 0x2c, 0x12, 0x40, 0x0c, 0x09, 0x08, @@ -391,18 +382,18 @@ static const struct hdmiphy_config hdmiphy_v14_configs[] = { { .pixel_clock = 115500000, .conf = { - 0x01, 0xd1, 0x30, 0x1a, 0x40, 0x40, 0x10, 0x04, - 0x04, 0xa0, 0x21, 0xd9, 0x45, 0xa0, 0xac, 0x80, - 0x06, 0x80, 0x11, 0x04, 0x02, 0x22, 0x44, 0x86, + 0x01, 0xd1, 0x30, 0x12, 0x40, 0x40, 0x10, 0x08, + 0x80, 0x80, 0x21, 0xd9, 0x45, 0xa0, 0xac, 0x80, + 0x08, 0x80, 0x11, 0x04, 0x02, 0x22, 0x44, 0x86, 0x54, 0xaa, 0x25, 0x03, 0x00, 0x00, 0x01, 0x80, }, }, { .pixel_clock = 119000000, .conf = { - 0x01, 0x91, 0x32, 0x14, 0x40, 0x60, 0xd8, 0x08, - 0x06, 0x20, 0x2a, 0xd9, 0x45, 0xa0, 0xac, 0x80, - 0x06, 0x80, 0x11, 0x04, 0x02, 0x22, 0x44, 0x86, + 0x01, 0xd1, 0x32, 0x1a, 0x40, 0x30, 0xd8, 0x08, + 0x04, 0xa0, 0x2a, 0xd9, 0x45, 0xa0, 0xac, 0x80, + 0x08, 0x80, 0x11, 0x04, 0x02, 0x22, 0x44, 0x86, 0x54, 0x9d, 0x25, 0x03, 0x00, 0x00, 0x01, 0x80, }, },