From patchwork Mon May 12 06:45:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 4156151 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 30AF39F170 for ; Mon, 12 May 2014 06:46:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 68EA320220 for ; Mon, 12 May 2014 06:46:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8886020218 for ; Mon, 12 May 2014 06:46:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752614AbaELGqE (ORCPT ); Mon, 12 May 2014 02:46:04 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:41570 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752540AbaELGqB (ORCPT ); Mon, 12 May 2014 02:46:01 -0400 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 <0N5G0004N84PCIE0@mailout1.samsung.com>; Mon, 12 May 2014 15:46:01 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.125]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 6E.C0.14563.92E60735; Mon, 12 May 2014 15:46:01 +0900 (KST) X-AuditID: cbfee68e-b7fd86d0000038e3-3d-53706e299447 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 25.0D.25708.92E60735; Mon, 12 May 2014 15:46:01 +0900 (KST) Received: from localhost.localdomain ([107.108.83.245]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N5G00AN584F9U10@mmp1.samsung.com>; Mon, 12 May 2014 15:46:01 +0900 (KST) From: Rahul Sharma To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, inki.dae@samsung.com, jg1.han@samsung.com, tomasz.figa@gmail.com, joshi@samsung.com, r.sh.open@gmail.com, Rahul Sharma Subject: [PATCH 1/2] ARM: dts: enable display controller for exynos5800 based peach-pi board Date: Mon, 12 May 2014 12:15:19 +0530 Message-id: <1399877120-4634-2-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1399877120-4634-1-git-send-email-rahul.sharma@samsung.com> References: <1399877120-4634-1-git-send-email-rahul.sharma@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrLLMWRmVeSWpSXmKPExsWyRsSkVlczryDYYP1jYYv5R86xWky6P4HF 4vLCS6wW33d9YbfoXXCVzWLT42usFjPO72OyWPgi3mLKosOsFqt2/WF04PLYOesuu8fmJfUe fVtWMXp83iQXwBLFZZOSmpNZllqkb5fAlbH/+xrGgtk8FfNvv2FpYLzH2cXIySEhYCKxYeEf RghbTOLCvfVsXYxcHEICSxklGuctZoIp2nJjPTNEYhGjxN2PSxghnHYmiZU7jrCAVLEJ6ErM PvgMbJSIQKbE/IPv2EGKmAU2MEq0floJNkpYIE5iW/sd1i5GDg4WAVWJM0cVQcK8Au4SZ+a3 MoOEJQQUJOZMsgEJcwp4SLQf/Q42Ugio5OvRo2wQB61jl7j+RhjEZhEQkPg2+RALRKusxKYD zBAlkhIHV9xgmcAovICRYRWjaGpBckFxUnqRkV5xYm5xaV66XnJ+7iZGYNCf/vesbwfjzQPW hxiTgcZNZJYSTc4HRk1eSbyhsZmRhamJqbGR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k5u9jc9Xx82Vm3Xv377qYt/+9jnXLBsZt5fetkzVe/fO/oO/EktxRqKh FnNRcSIAGcVUKu4CAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 From: Rahul Sharma Enable display controller with timing information for 1080p panel in Exynos5800 peach-pi board. Signed-off-by: Rahul Sharma Reviewed-by: Jingoo Han --- arch/arm/boot/dts/exynos5800-peach-pi.dts | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index 742655b..426705a 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts @@ -72,6 +72,13 @@ samsung,pin-pud = <0>; samsung,pin-drv = <0>; }; + + dp_hpd_gpio: dp_hpd_gpio { + samsung,pins = "gpx2-6"; + samsung,pin-function = <0>; + samsung,pin-pud = <3>; + samsung,pin-drv = <0>; + }; }; &rtc { @@ -121,6 +128,35 @@ }; }; +&dp { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&dp_hpd_gpio>; + samsung,color-space = <0>; + samsung,dynamic-range = <0>; + samsung,ycbcr-coeff = <0>; + samsung,color-depth = <1>; + samsung,link-rate = <0x0a>; + samsung,lane-count = <2>; + samsung,hpd-gpio = <&gpx2 6 0>; + + display-timings { + native-mode = <&timing1>; + + timing1: timing@1 { + clock-frequency = <150660000>; + hactive = <1920>; + vactive = <1080>; + hfront-porch = <60>; + hback-porch = <172>; + hsync-len = <80>; + vback-porch = <25>; + vfront-porch = <10>; + vsync-len = <10>; + }; + }; +}; + &hsi2c_9 { status = "okay"; clock-frequency = <400000>;