From patchwork Fri Jan 20 06:52:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 9527541 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 C5D7460434 for ; Fri, 20 Jan 2017 06:53:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6C72285C3 for ; Fri, 20 Jan 2017 06:53:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AAB7D285F5; Fri, 20 Jan 2017 06:53:51 +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 4BF5D285C3 for ; Fri, 20 Jan 2017 06:53:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751407AbdATGwm (ORCPT ); Fri, 20 Jan 2017 01:52:42 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:8733 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751320AbdATGwk (ORCPT ); Fri, 20 Jan 2017 01:52:40 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OK200LYZGFI5L30@mailout2.w1.samsung.com>; Fri, 20 Jan 2017 06:52:30 +0000 (GMT) Received: from eusmges2.samsung.com (unknown [203.254.199.241]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170120065229eucas1p1ee11b19c26f06d3044ca34f06f48928c~baEWEHMYn0190101901eucas1p1d; Fri, 20 Jan 2017 06:52:29 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2.samsung.com (EUCPMTA) with SMTP id 51.4F.30614.DA3B1885; Fri, 20 Jan 2017 06:52:29 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170120065229eucas1p173d2b1844498dd3afdd9d2860cd1ee93~baEVf0ubO0364503645eucas1p1e; Fri, 20 Jan 2017 06:52:29 +0000 (GMT) X-AuditID: cbfec7f1-f793f6d000007796-72-5881b3ad55b3 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 82.05.06687.8E3B1885; Fri, 20 Jan 2017 06:53:28 +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:29 +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 1/7] drm/exynos/hdmi: add 297MHz pixel clock support Date: Fri, 20 Jan 2017 07:52:19 +0100 Message-id: <1484895145-511-2-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+NgFjrHIsWRmVeSWpSXmKPExsWy7djPc7prNzdGGOy+pGlxa905VouNM9az Wlz5+p7NYtL9CSwW589vYLc42/SG3eLy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EHYYhIX7q0Hsrk4 hASWMEp0zVjLAuE0Mkk8b1rPDlLFJqAp8XfzTbAOEYFcifVPZ7KDFDEL/GOU2HD1DRNIQljA ReLM5L9gRSwCqhKLf1wDW8cr4Cix5el2qHVyEjfPdTJ3MXJwcAo4SexdlA4SFgIqOdh8gG0C I+8CRoZVjCKppcW56bnFhnrFibnFpXnpesn5uZsYgWG97djPzTsYL20MPsQowMGoxMObcKwh Qog1say4MvcQowQHs5IIb8/6xggh3pTEyqrUovz4otKc1OJDjKZAN01klhJNzgfGXF5JvKGJ obmloZGxhYW5kZGSOG/JhyvhQgLpiSWp2ampBalFMH1MHJxSDYx5h95/9d1UExaadyhjdsC8 2/lFv0s1DYp4mmOyQ1b+KGddZqe09L70LQV9d58PzPM27/uc82fa3PsB/Wv2P475teDB1G0+ t5095ni8Mn8g4vRBfVfPPTElkUllJcL7LvHqTL3bWtXwUSQrrtlFqLpoP++15hJNK+28s1Js 9sqrfR9x+uhn5CmxFGckGmoxFxUnAgBp/AdzgQIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170120065229eucas1p173d2b1844498dd3afdd9d2860cd1ee93 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: 20170120065229eucas1p173d2b1844498dd3afdd9d2860cd1ee93 X-RootMTR: 20170120065229eucas1p173d2b1844498dd3afdd9d2860cd1ee93 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 297MHz is used by Ultra HD modes. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos_hdmi.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index 5ed8b1e..bef8965 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -587,6 +587,15 @@ static const struct hdmiphy_config hdmiphy_5433_configs[] = { 0x08, 0x10, 0x01, 0x01, 0x48, 0x4a, 0x00, 0x40, }, }, + { + .pixel_clock = 297000000, + .conf = { + 0x01, 0x51, 0x3E, 0x05, 0x40, 0xF0, 0x88, 0xC2, + 0x52, 0x53, 0x44, 0x8C, 0x27, 0x00, 0x7C, 0xAC, + 0xD6, 0x2B, 0x67, 0x00, 0x00, 0x04, 0x00, 0x30, + 0x08, 0x10, 0x01, 0x01, 0x48, 0x40, 0x00, 0x40, + }, + }, }; static const char * const hdmi_clk_gates4[] = {