From patchwork Fri May 9 10:09:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 4141331 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DF086BFF02 for ; Fri, 9 May 2014 10:10:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2C336201ED for ; Fri, 9 May 2014 10:10:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4622A20148 for ; Fri, 9 May 2014 10:10:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755323AbaEIKKh (ORCPT ); Fri, 9 May 2014 06:10:37 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:22443 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754086AbaEIKKe (ORCPT ); Fri, 9 May 2014 06:10:34 -0400 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5A006UJXLJE870@mailout1.samsung.com>; Fri, 09 May 2014 19:10:31 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.125]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id D3.89.11496.799AC635; Fri, 09 May 2014 19:10:31 +0900 (KST) X-AuditID: cbfee691-b7f3e6d000002ce8-ce-536ca997e418 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 45.72.25708.799AC635; Fri, 09 May 2014 19:10:31 +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 <0N5A005L3XL5KC80@mmp2.samsung.com>; Fri, 09 May 2014 19:10:31 +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 v3 4/4] ARM: dts: enable dp-controller for exynos5420 based peach-pit board Date: Fri, 09 May 2014 15:39:46 +0530 Message-id: <1399630186-22610-5-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1399630186-22610-1-git-send-email-rahul.sharma@samsung.com> References: <1399630186-22610-1-git-send-email-rahul.sharma@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrGLMWRmVeSWpSXmKPExsWyRsSkVnf6ypxgg8cLTC3mHznHajHp/gQW i++7vrBb9C64ymax6fE1VosZ5/cxWSx8EW8xZdFhVotVu/4wOnB67Jx1l91j85J6j74tqxg9 Pm+SC2CJ4rJJSc3JLEst0rdL4MpoPV9YcJy74saKD4wNjAs4uxg5OSQETCT2vlnCDGGLSVy4 t56ti5GLQ0hgKaPEhCUfmGCKvt2ZCFYkJDCdUWLVfmmIonYmibXrV7ODJNgEdCVmH3zGCGKL CGRKzD/4jh2kiFlgJqPEmjV3wYqEBWIlrq2aCWazCKhKvP77DGwqr4CHxPeLz4G2cQBtU5CY M8kGxOQU8JSY8z4TYq+HxLlp61gg7lnGLtHxPgViioDEt8mHWCA6ZSU2HYD6RVLi4IobLBMY hRcwMqxiFE0tSC4oTkovMtUrTswtLs1L10vOz93ECAzz0/+eTdzBeP+A9SHGZKBxE5mlRJPz gXGSVxJvaGxmZGFqYmpsZG5pRpqwkjhv+qOkICGB9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WW+1e9KCE8cW+5QKMxcumL4w7s1bsIEuF46dr61qVWIozEg21mIuKEwFG 7Whh5wIAAA== 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 Reviewed-by: Jingoo Han --- arch/arm/boot/dts/exynos5420-peach-pit.dts | 36 ++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index f75da5b..0e79479 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_gpio: dp_hpd_gpio { + samsung,pins = "gpx2-6"; + samsung,pin-function = <0>; + samsung,pin-pud = <3>; + samsung,pin-drv = <0>; + }; }; &rtc { @@ -150,3 +157,32 @@ status = "okay"; samsung,invert-vclk; }; + +&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 = <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>; + }; + }; +};