From patchwork Fri May 23 08:51:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shirish S X-Patchwork-Id: 4233931 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 BAC8B9F381 for ; Fri, 23 May 2014 15:52:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 041F32016C for ; Fri, 23 May 2014 15:52:41 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id D97A4203A0 for ; Fri, 23 May 2014 15:52:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E140A6EE58; Fri, 23 May 2014 08:52:38 -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 B75246E512 for ; Fri, 23 May 2014 01:52:24 -0700 (PDT) Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N60006C7RBBP490@mailout1.samsung.com> for dri-devel@lists.freedesktop.org; Fri, 23 May 2014 17:52:23 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.122]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id B0.5A.19452.64C0F735; Fri, 23 May 2014 17:52:22 +0900 (KST) X-AuditID: cbfee68e-b7fb96d000004bfc-65-537f0c464254 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 7F.52.07139.64C0F735; Fri, 23 May 2014 17:52:22 +0900 (KST) Received: from chromebld-server.sisodomain.com ([107.108.73.106]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N60005DRRB6BJ10@mmp1.samsung.com>; Fri, 23 May 2014 17:52:22 +0900 (KST) From: Shirish S To: dri-devel@lists.freedesktop.org, inki.dae@samsung.com Subject: [PATCH] drm/exynos: add phy settings for exynos5420 Date: Fri, 23 May 2014 14:21:03 +0530 Message-id: <1400835063-12294-1-git-send-email-s.shirish@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFLMWRmVeSWpSXmKPExsWyRsSkSteNpz7Y4PhaG4srX9+zWUy6P4HF YtrsjYwWdzecZbRo2nGQzYHVY3bDRRaP+93HmTz6tqxiDGCO4rJJSc3JLEst0rdL4Mq4ffAx W8EF7ooN26czNTBO5exi5OSQEDCRWPp7PyuELSZx4d56ti5GLg4hgaWMEutPnWOEKXq4sIcZ IrGIUeLetd9MEM4EJolte6czg1SxCahLXJy8GswWEbCUeLD1N5jNLBAiMePkDaAVHBzCAjYS XQ2hIGEWAVWJiTtOs4DYvAKuEjun7WYEKZEQUJCYM8kGZLyEwHM2iVWLDzND1AtIfJt8iAWi RlZi0wFmiNskJQ6uuMEygVFwASPDKkbR1ILkguKk9CIjveLE3OLSvHS95PzcTYzAcDz971nf DsabB6wPMSYDjZvILCWanA8M57ySeENjMyMLUxNTYyNzSzPShJXEeRc9TAoSEkhPLEnNTk0t SC2KLyrNSS0+xMjEwSnVwNi8X7Owxtpgfd5ee+0J3VJM/QtUKv6LpX79+bJiZiP/tZjS48oZ oYUPk0+FzEmL0vgexKe4KntaHbNmsZaMd+vDIwtKlsQd7HtXG1l632VOP9939eRldpIcngI6 QodyOwxrg182ilj9sjDeo/tnXpa6Chcj57QHxyZE9ue8mqervt9c7sslJZbijERDLeai4kQA KZqu6V0CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrOIsWRmVeSWpSXmKPExsVy+t9jAV03nvpggy+PTSyufH3PZjHp/gQW i2mzNzJa3N1wltGiacdBNgdWj9kNF1k87ncfZ/Lo27KKMYA5qoHRJiM1MSW1SCE1Lzk/JTMv 3VbJOzjeOd7UzMBQ19DSwlxJIS8xN9VWycUnQNctMwdoqZJCWWJOKVAoILG4WEnfDtOE0BA3 XQuYxghd35AguB4jAzSQsIYx4/bBx2wFF7grNmyfztTAOJWzi5GTQ0LAROLhwh5mCFtM4sK9 9WxdjFwcQgKLGCXuXfvNBOFMYJLYtnc6WBWbgLrExcmrwWwRAUuJB1t/g9nMAiESM07eYO1i 5OAQFrCR6GoIBQmzCKhKTNxxmgXE5hVwldg5bTcjSImEgILEnEk2Exi5FzAyrGIUTS1ILihO Ss810itOzC0uzUvXS87P3cQIDvZn0jsYVzVYHGIU4GBU4uF9wFQXLMSaWFZcmXuIUYKDWUmE 15a5PliINyWxsiq1KD++qDQntfgQYzLQ8onMUqLJ+cBIzCuJNzQ2MTc1NrU0sTAxsyRNWEmc 92CrdaCQQHpiSWp2ampBahHMFiYOTqkGRkXBhAcVSx+vue7p9pFtiYDzw4LWv28WP3+a9s/1 TolYw8r024rznR1n1pmUeR91cT4cbvyqaE5Ex56Y3k/84vkKZ7YfvfdQ+YDJi9KkxoyG42J3 +T65ntq8UiHj1eKOa/4NT28EZ5nof7LsqVa+OF3hS0+2/pxjv079/z3bV6ntxIKQwDu2N5RY ijMSDbWYi4oTAYTks1+6AgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-Mailman-Approved-At: Fri, 23 May 2014 08:52:37 -0700 Cc: shirish@chromium.org, 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 adds phy settings of the below mentioned pixel clocks in Exynos5420: 85.5 MHz - 1366x768@60Hz 162 MHz - 1600x1200@60Hz Signed-off-by: Shirish S --- drivers/gpu/drm/exynos/exynos_hdmi.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index e05c86a..07ba387 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -523,6 +523,15 @@ static const struct hdmiphy_config hdmiphy_5420_configs[] = { }, }, { + .pixel_clock = 85500000, + .conf = { + 0x01, 0xd1, 0x24, 0x11, 0x40, 0x40, 0xd0, 0xc8, + 0x84, 0xe8, 0xd6, 0xd8, 0x45, 0xa0, 0xac, 0x80, + 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86, + 0x54, 0x90, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80, + }, + }, + { .pixel_clock = 88750000, .conf = { 0x01, 0xD1, 0x25, 0x11, 0x40, 0x18, 0xFF, 0xC8, @@ -576,6 +585,15 @@ static const struct hdmiphy_config hdmiphy_5420_configs[] = { 0x54, 0x4B, 0x25, 0x03, 0x00, 0x80, 0x01, 0x80, }, }, + { + .pixel_clock = 162000000, + .conf = { + 0x01, 0x54, 0x87, 0x05, 0x40, 0x01, 0x00, 0xc8, + 0x82, 0xc8, 0xcb, 0xd8, 0x45, 0xa0, 0xac, 0x80, + 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86, + 0x54, 0x4c, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80, + }, + }, }; static struct hdmi_driver_data exynos5420_hdmi_driver_data = {