From patchwork Wed Dec 4 04:44:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shirish S X-Patchwork-Id: 3283051 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 9A1B49F386 for ; Wed, 4 Dec 2013 15:40:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 63B78203B4 for ; Wed, 4 Dec 2013 15:40:31 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 204EC204DF for ; Wed, 4 Dec 2013 15:40:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0F105FB328; Wed, 4 Dec 2013 07:40:18 -0800 (PST) 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 48B02FB816 for ; Tue, 3 Dec 2013 20:42:05 -0800 (PST) Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MX9000GNME4KKC0@mailout2.samsung.com> for dri-devel@lists.freedesktop.org; Wed, 04 Dec 2013 13:42:04 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.124]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id F4.4A.15154.B92BE925; Wed, 04 Dec 2013 13:42:03 +0900 (KST) X-AuditID: cbfee68e-b7fee6d000003b32-88-529eb29b7898 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 0C.D7.15903.B92BE925; Wed, 04 Dec 2013 13:42:03 +0900 (KST) Received: from chrome-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 <0MX900G49MDU8360@mmp2.samsung.com>; Wed, 04 Dec 2013 13:42:03 +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: Wed, 04 Dec 2013 10:14:59 +0530 Message-id: <1386132300-29558-4-git-send-email-s.shirish@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1386132300-29558-1-git-send-email-s.shirish@samsung.com> References: <1386132300-29558-1-git-send-email-s.shirish@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrGLMWRmVeSWpSXmKPExsWyRsSkRnf2pnlBBtcmW1jMP3KO1eLK1/ds FpPuT2Cx6F1wlc3i8Jt2VotpszcyWjTtOMhmsX7GaxYHDo/ZDRdZPO53H2fy6NuyitHj8ya5 AJYoLpuU1JzMstQifbsErox/L/MKVkpUfH8wibWB8bBQFyMnh4SAicS8lousELaYxIV769m6 GLk4hASWMkrset7CClN059V8VojEdEaJSw1bmSCcXiaJvcsesoNUsQmoS1ycvJoZxBYRyJb4 +vwWWJxZIEfiXMcpJhBbWMBNYterw2A2i4CqxK9dCxhBbF4BV4m3k5cwQ2xTlOh+NoENxOYE qj+0fCJYvRBQzYRfcxhBFksITGeX6Hu5gxVikIDEt8mHWLoYOYASshKbDkDNkZQ4uOIGywRG 4QWMDKsYRVMLkguKk9KLjPSKE3OLS/PS9ZLzczcxAsP89L9nfTsYbx6wPsSYDDRuIrOUaHI+ ME7ySuINjc2MLExNTI2NzC3NSBNWEudd9DApSEggPbEkNTs1tSC1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eVWIpzkg01GIuKk4EAJHnms7mAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-Mailman-Approved-At: Wed, 04 Dec 2013 07:40:13 -0800 Cc: 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.2 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 {