From patchwork Thu Dec 19 12:12:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shirish S X-Patchwork-Id: 3384881 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 2EC439F384 for ; Fri, 20 Dec 2013 00:22:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 59B352069A for ; Fri, 20 Dec 2013 00:22:32 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id CB2732068C for ; Fri, 20 Dec 2013 00:22:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B214110F091; Thu, 19 Dec 2013 16:22:18 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by gabe.freedesktop.org (Postfix) with ESMTP id C4106FC905 for ; Thu, 19 Dec 2013 04:09:58 -0800 (PST) Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MY100E3EZ4LCCD0@mailout4.samsung.com> for dri-devel@lists.freedesktop.org; Thu, 19 Dec 2013 21:09:57 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.122]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 9E.F7.10092.512E2B25; Thu, 19 Dec 2013 21:09:57 +0900 (KST) X-AuditID: cbfee68f-b7f156d00000276c-61-52b2e2153692 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 5C.D7.28157.412E2B25; Thu, 19 Dec 2013 21:09:57 +0900 (KST) Received: from chrome-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 <0MY1008RKZ4AY310@mmp1.samsung.com>; Thu, 19 Dec 2013 21:09:56 +0900 (KST) From: Shirish S To: dri-devel@lists.freedesktop.org, inki.dae@samsung.com, devicetree@vger.kernel.org, t.figa@samsung.com Subject: [PATCH 3/4] ARM: exynos: dts: cros5250: Add hdmi phy settings Date: Thu, 19 Dec 2013 17:42:27 +0530 Message-id: <1387455148-22999-4-git-send-email-s.shirish@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1387455148-22999-1-git-send-email-s.shirish@samsung.com> References: <1387455148-22999-1-git-send-email-s.shirish@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrNLMWRmVeSWpSXmKPExsWyRsSkSlf00aYgg/O3+C3mHznHanHl63s2 i0n3J7BY9C64ymYx4/w+JovDb9pZLabN3sho0bTjIJvF+hmvWRw4PWY3XGTxuN99nMmjb8sq Ro/Pm+QCWKK4bFJSczLLUov07RK4Mv69zCtYKVHx/cEk1gbGw0JdjJwcEgImEhseTmWHsMUk LtxbzwZiCwksZZQ4MzkPpubu4S7WLkYuoPgiRolTj7czQzi9TBJdX/eDdbMJqEtcnLyaGcQW EciW+Pr8FjtIEbNAP6NEz44tYEXCAm4Su14dZgKxWQRUJa5ve88CYvMKuEqsunmZEWKdokT3 swlgZ3AC1X/6vQ7qJFeJBfsvs4AMlRBYxi5xv+MW1CABiW+TDwElOIASshKbDjBDzJGUOLji BssERuEFjAyrGEVTC5ILipPSi4z1ihNzi0vz0vWS83M3MQID/vS/Z/07GO8esD7EmAw0biKz lGhyPjBi8kriDY3NjCxMTUyNjcwtzUgTVhLnvf8wKUhIID2xJDU7NbU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FWUmNXu+TFi23uP+rwt7lFiKMxINtZiLihMB 8cFJ4uwCAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-Mailman-Approved-At: Thu, 19 Dec 2013 16:22:17 -0800 Cc: linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com, shirish@chromium.org, Shirish S , s.nawrocki@samsung.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.7 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 moves the hdmi phy setting to arndale dts, as its more of a per board configuration and also shall be easier for supporting future chipsets. Signed-off-by: Shirish S --- arch/arm/boot/dts/cros5250-common.dtsi | 74 ++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/arch/arm/boot/dts/cros5250-common.dtsi b/arch/arm/boot/dts/cros5250-common.dtsi index dc259e8b..45c8583 100644 --- a/arch/arm/boot/dts/cros5250-common.dtsi +++ b/arch/arm/boot/dts/cros5250-common.dtsi @@ -301,6 +301,80 @@ hdmi { hpd-gpio = <&gpx3 7 0>; + hdmiphy-configs { + /* + * Eye diagram test passed for: + * Data de-emphasis: -0.7dB & Data Level: 880mV + * i.e., 0010 0110 = 0x26 + * and Clock level of 515mV and diff 1030mV + * i.e., 0x66 + */ + config0: config0 { + samsung,pixel-clock = <25200000>; + samsung,de-emphasis-level = /bits/ 8 <0x26>; + samsung,clock-level = /bits/ 8 < 0x66>; + }; + config1: config1 { + samsung,pixel-clock = <27000000>; + samsung,de-emphasis-level = /bits/ 8 <0x26>; + samsung,clock-level = /bits/ 8 < 0x66>; + }; + config2: config2 { + samsung,pixel-clock = <27027000>; + samsung,de-emphasis-level = /bits/ 8 <0x26>; + samsung,clock-level = /bits/ 8 < 0x66>; + }; + config3: config3 { + samsung,pixel-clock = <36000000>; + samsung,de-emphasis-level = /bits/ 8 <0x26>; + samsung,clock-level = /bits/ 8 < 0x66>; + }; + config4: config4 { + samsung,pixel-clock = <40000000>; + samsung,de-emphasis-level = /bits/ 8 <0x26>; + samsung,clock-level = /bits/ 8 < 0x66>; + }; + config5: config5 { + samsung,pixel-clock = <65000000>; + samsung,de-emphasis-level = /bits/ 8 <0x26>; + samsung,clock-level = /bits/ 8 < 0x66>; + }; + config6: config6 { + samsung,pixel-clock = <74176000>; + samsung,de-emphasis-level = /bits/ 8 <0x26>; + samsung,clock-level = /bits/ 8 < 0x66>; + }; + config7: config7 { + samsung,pixel-clock = <74250000>; + samsung,de-emphasis-level = /bits/ 8 <0x26>; + samsung,clock-level = /bits/ 8 < 0x66>; + }; + config8: config8 { + samsung,pixel-clock = <83500000>; + samsung,de-emphasis-level = /bits/ 8 <0x26>; + samsung,clock-level = /bits/ 8 < 0x66>; + }; + config9: config9 { + samsung,pixel-clock = <106500000>; + samsung,de-emphasis-level = /bits/ 8 <0x26>; + samsung,clock-level = /bits/ 8 < 0x66>; + }; + config10: config10 { + samsung,pixel-clock = <108000000>; + samsung,de-emphasis-level = /bits/ 8 <0x26>; + samsung,clock-level = /bits/ 8 < 0x66>; + }; + config11: config11 { + samsung,pixel-clock = <146250000>; + samsung,de-emphasis-level = /bits/ 8 <0x26>; + samsung,clock-level = /bits/ 8 < 0x66>; + }; + config12: config12 { + samsung,pixel-clock = <148500000>; + samsung,de-emphasis-level = /bits/ 8 <0x26>; + samsung,clock-level = /bits/ 8 < 0x66>; + }; + }; }; gpio-keys {