From patchwork Thu May 8 06:19:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 4133321 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 DD8989F1E1 for ; Thu, 8 May 2014 06:21:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 18526201DE for ; Thu, 8 May 2014 06:21:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 30A2E201ED for ; Thu, 8 May 2014 06:21:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752916AbaEHGVH (ORCPT ); Thu, 8 May 2014 02:21:07 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:23851 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752853AbaEHGVF (ORCPT ); Thu, 8 May 2014 02:21:05 -0400 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5800H47SB49E90@mailout4.samsung.com>; Thu, 08 May 2014 15:21:04 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.123]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id AE.6E.11496.0522B635; Thu, 08 May 2014 15:21:04 +0900 (KST) X-AuditID: cbfee691-b7f3e6d000002ce8-58-536b22500b4a Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 57.A3.27725.0522B635; Thu, 08 May 2014 15:21:04 +0900 (KST) Received: from localhost.localdomain ([107.108.83.245]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N58009QMSABILC0@mmp2.samsung.com>; Thu, 08 May 2014 15:21:04 +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, tomasz.figa@gmail.com, joshi@samsung.com, r.sh.open@gmail.com, Rahul Sharma Subject: [PATCH v2 5/5] ARM: dts: enable dp-controller for exynos5420 based peach-pit board Date: Thu, 08 May 2014 11:49:55 +0530 Message-id: <1399529995-8656-6-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1399529995-8656-1-git-send-email-rahul.sharma@samsung.com> References: <1399529995-8656-1-git-send-email-rahul.sharma@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrGLMWRmVeSWpSXmKPExsWyRsSkWjdAKTvYYM4CPYv5R86xWky6P4HF 4vuuL+wWvQuusllsenyN1WLG+X1MFgtfxFtMWXSY1WLVrj+MDpweO2fdZffYvKTeo2/LKkaP z5vkAliiuGxSUnMyy1KL9O0SuDIeddxgLtjEXXHpzAO2BsZ+zi5GTg4JAROJnpNTGSFsMYkL 99azgdhCAksZJbYdqYCpmbznGjNEfDqjxN6l6l2MXEB2O5PEx8kPwBrYBHQlZh98BjZIRCBT Yv7Bd+wgRcwCMxkl1qy5yw6SEBaIlZh35SGYzSKgKrFn00lWEJtXwF3i68suoEEcQNsUJOZM sgExOQU8JDZsyAAxhYAqdq8qB5koIbCIXeLE4QeMEFMEJL5NPsQC0SkrsekAM8TJkhIHV9xg mcAovICRYRWjaGpBckFxUnqRqV5xYm5xaV66XnJ+7iZGYJif/vds4g7G+wesDzEmA42byCwl mpwPjJO8knhDYzMjC1MTU2Mjc0sz0oSVxHnTHyUFCQmkJ5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S0Ks+35AxPxZ9x2vnf6me0wxPnWBEktxRqKhFnNRcSIAk+RS g+cCAAA= 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 dp-controller for peach-pit board. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5420-peach-pit.dts | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index f75da5b..ed76f33 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts @@ -74,6 +74,13 @@ samsung,pin-pud = <0>; samsung,pin-drv = <0>; }; + + dp_hpd: dp_hpd { + samsung,pins = "gpx2-6"; + samsung,pin-function = <0>; + samsung,pin-pud = <3>; + samsung,pin-drv = <0>; + }; }; &rtc { @@ -150,3 +157,30 @@ status = "okay"; samsung,invert-vclk; }; + +&dp { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&dp_hpd>; + samsung,color-space = <0>; + samsung,dynamic-range = <0>; + samsung,ycbcr-coeff = <0>; + samsung,color-depth = <1>; + samsung,link-rate = <0x06>; + samsung,lane-count = <2>; + samsung,hpd-gpio = <&gpx2 6 0>; + display-timings { + native-mode = <&timing1>; + timing1: timing@1 { + clock-frequency = <70589280>; + hactive = <1366>; + vactive = <768>; + hfront-porch = <40>; + hback-porch = <40>; + hsync-len = <32>; + vback-porch = <10>; + vfront-porch = <12>; + vsync-len = <6>; + }; + }; +};