From patchwork Fri Jan 20 06:52:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 9527535 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 74A7060434 for ; Fri, 20 Jan 2017 06:53:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 65D05285F5 for ; Fri, 20 Jan 2017 06:53:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 59A5E285FC; Fri, 20 Jan 2017 06:53:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D8512285C3 for ; Fri, 20 Jan 2017 06:53:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751345AbdATGws (ORCPT ); Fri, 20 Jan 2017 01:52:48 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:55574 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751324AbdATGwo (ORCPT ); Fri, 20 Jan 2017 01:52:44 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OK200DE8GFKJY40@mailout3.w1.samsung.com>; Fri, 20 Jan 2017 06:52:32 +0000 (GMT) Received: from eusmges1.samsung.com (unknown [203.254.199.239]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170120065231eucas1p2acc92c1ccb2e89b8e3e6b6198b41ac6b~baEXftU8M0273402734eucas1p2Y; Fri, 20 Jan 2017 06:52:31 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1.samsung.com (EUCPMTA) with SMTP id 3F.8E.16908.1B3B1885; Fri, 20 Jan 2017 06:52:33 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170120065230eucas1p1839ddd9b5fefa265ad5feab59e67fd2a~baEWV4I9M0188801888eucas1p1Z; Fri, 20 Jan 2017 06:52:30 +0000 (GMT) X-AuditID: cbfec7ef-f79d26d00000420c-fc-5881b3b17025 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 43.05.06687.9E3B1885; Fri, 20 Jan 2017 06:53:29 +0000 (GMT) Received: from AMDC2768.DIGITAL.local ([106.120.43.17]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OK200BZPGFGLA10@eusync4.samsung.com>; Fri, 20 Jan 2017 06:52:30 +0000 (GMT) From: Andrzej Hajda To: Inki Dae , dri-devel@lists.freedesktop.org, Krzysztof Kozlowski Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski , Kyungmin Park , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 3/7] drm/exynos/hdmi: fix PLL for 27MHz settings Date: Fri, 20 Jan 2017 07:52:21 +0100 Message-id: <1484895145-511-4-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1484895145-511-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLIsWRmVeSWpSXmKPExsWy7djP87obNzdGGCyaYmRxa905VouNM9az Wlz5+p7NYtL9CSwW589vYLc42/SG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0/2qmBsZtnF2MnBwSAiYSB840skPYYhIX7q1n62Lk 4hASWMIoce3MHjaQhJBAI5PExbdgNpuApsTfzTfBbBGBXIn1T2eygzQwC/xjlNhw9Q0TSEJY wEHi/6NjLF2MHBwsAqoSyx9GgIR5BRwlnv2bwwaxTE7i5rlOZpASTgEnib2L0iFWOUocbD7A NoGRdwEjwypGkdTS4tz03GJDveLE3OLSvHS95PzcTYzAkN527OfmHYyXNgYfYhTgYFTi4U04 1hAhxJpYVlyZe4hRgoNZSYS3Z31jhBBvSmJlVWpRfnxRaU5q8SFGU6CTJjJLiSbnA+MtryTe 0MTQ3NLQyNjCwtzISEmct+TDlXAhgfTEktTs1NSC1CKYPiYOTqkGxuQ7Ib/lXcqmzk7N4TD6 6u8uvXHrvtaQ5m/e2wQ+n2uQiVPc9fT0kd8if52FLu/8G3b+cWmk+A6zU/sC/E1nzrTjZElq 5kyf2BOtWrBxve+6lPypU24uStyoMsW/+QbPo3c5qzlUE6/9ru1VV9mqqmVfuWztZe/THbFi ZR4/6zxzOYv/+1n9UmIpzkg01GIuKk4EAJ2AomR/AgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170120065230eucas1p1839ddd9b5fefa265ad5feab59e67fd2a X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 X-Local-Sender: =?UTF-8?B?QW5kcnplaiBIYWpkYRtTUlBPTC1LZXJuZWwgKFRQKRvsgrw=?= =?UTF-8?B?7ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?QW5kcnplaiBIYWpkYRtTUlBPTC1LZXJuZWwgKFRQKRtTYW1z?= =?UTF-8?B?dW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20170120065230eucas1p1839ddd9b5fefa265ad5feab59e67fd2a X-RootMTR: 20170120065230eucas1p1839ddd9b5fefa265ad5feab59e67fd2a References: <1484895145-511-1-git-send-email-a.hajda@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Current settings for 27MHz and 27.027MHz do not work. Use the settings from vendor code instead. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos_hdmi.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index 223b872..a73b192 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -509,9 +509,9 @@ static const struct hdmiphy_config hdmiphy_5433_configs[] = { { .pixel_clock = 27000000, .conf = { - 0x01, 0x51, 0x22, 0x51, 0x08, 0xfc, 0x88, 0x46, - 0x72, 0x50, 0x24, 0x0c, 0x24, 0x0f, 0x7c, 0xa5, - 0xd4, 0x2b, 0x87, 0x00, 0x00, 0x04, 0x00, 0x30, + 0x01, 0x51, 0x2d, 0x75, 0x01, 0x00, 0x88, 0x02, + 0x72, 0x50, 0x44, 0x8c, 0x27, 0x00, 0x7c, 0xac, + 0xd6, 0x2b, 0x67, 0x00, 0x00, 0x04, 0x00, 0x30, 0x08, 0x10, 0x01, 0x01, 0x48, 0x40, 0x00, 0x40, }, }, @@ -519,9 +519,9 @@ static const struct hdmiphy_config hdmiphy_5433_configs[] = { .pixel_clock = 27027000, .conf = { 0x01, 0x51, 0x2d, 0x72, 0x64, 0x09, 0x88, 0xc3, - 0x71, 0x50, 0x24, 0x14, 0x24, 0x0f, 0x7c, 0xa5, - 0xd4, 0x2b, 0x87, 0x00, 0x00, 0x04, 0x00, 0x30, - 0x28, 0x10, 0x01, 0x01, 0x48, 0x40, 0x00, 0x40, + 0x71, 0x50, 0x44, 0x8c, 0x27, 0x00, 0x7c, 0xac, + 0xd6, 0x2b, 0x67, 0x00, 0x00, 0x04, 0x00, 0x30, + 0x08, 0x10, 0x01, 0x01, 0x48, 0x40, 0x00, 0x40, }, }, {