From patchwork Fri Mar 28 11:52:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 3902771 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 227F9BF54D for ; Fri, 28 Mar 2014 11:53:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 60E5420263 for ; Fri, 28 Mar 2014 11:53:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 844092028D for ; Fri, 28 Mar 2014 11:53:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752144AbaC1Lxm (ORCPT ); Fri, 28 Mar 2014 07:53:42 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:13871 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752110AbaC1Lxj (ORCPT ); Fri, 28 Mar 2014 07:53:39 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N35008IPADDSKA0@mailout1.w1.samsung.com>; Fri, 28 Mar 2014 11:53:37 +0000 (GMT) X-AuditID: cbfec7f5-b7fc96d000004885-4d-533562c1bbb0 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 49.B8.18565.1C265335; Fri, 28 Mar 2014 11:53:37 +0000 (GMT) Received: from AMDC1061.digital.local ([106.116.147.88]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N3500JZBACMH5A0@eusync4.samsung.com>; Fri, 28 Mar 2014 11:53:37 +0000 (GMT) From: Andrzej Hajda To: dri-devel@lists.freedesktop.org Cc: Andrzej Hajda , Mark Rutland , devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Pawel Moll , Ian Campbell , Kyungmin Park , Rob Herring , Kumar Gala , Grant Likely , Sean Paul , Inki Dae , Marek Szyprowski Subject: [PATCH v3 10/12] ARM: dts: exynos4412-trats2: add panel node Date: Fri, 28 Mar 2014 12:52:45 +0100 Message-id: <1396007567-4015-11-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 1.8.3.2 In-reply-to: <1396007567-4015-1-git-send-email-a.hajda@samsung.com> References: <1396007567-4015-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHLMWRmVeSWpSXmKPExsVy+t/xa7oHk0yDDU73qVncWneO1WL+ESBx 5et7Nov+NwtZLQ782cFoce7VSkaLSfcnsFicbXrDbjHj/D4mi7VH7rJbLL1+kcliwvS1LBat e4+wW9zdcJbRgc9jzbw1jB6zGy6yeFzu62XyWLn8C5vHplWdbB53ru1h87jffZzJo2/LKkaP z5vkAjijuGxSUnMyy1KL9O0SuDI2TJ/KXLBMsOLcwfNMDYx/eboYOTkkBEwkVl6cwQxhi0lc uLeerYuRi0NIYCmjxJQ531ghnD4midcz9zOCVLEJaEr83XyTDcQWEVCW+DtxFSNIEbPAe2aJ vVcmgxUJC7hKnN4ymwXEZhFQlZj+bgIriM0r4Czx/k4HK8Q6BYllX9aCreYEiq96OxFsqJCA k8Sd543MExh5FzAyrGIUTS1NLihOSs810itOzC0uzUvXS87P3cQICeOvOxiXHrM6xCjAwajE wzvDyiRYiDWxrLgy9xCjBAezkgjvElvTYCHelMTKqtSi/Pii0pzU4kOMTBycUg2M7ntmHWnk +f99+v0Ei4neb59odSz+vG32t+2TzDyUnl8+rj/zzaJDj7Rf1aUlZ8+P99/Z+PSxUft028Ao jequ9blx269OVLhl6Kgts1FRS3GN1Bflevmcs0f1z/vPL91kdFmS49LlkpOzeOKXcU/1OTa9 +K+C0bLdq7/6XeN70yd823Kyw4cDskosxRmJhlrMRcWJAMUbTHdBAgAA 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.3 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 The patch adds s6e8aa0 panel node for trats2. It adds also trats2 specific properties for DSI and regulator required by panel. Signed-off-by: Andrzej Hajda --- arch/arm/boot/dts/exynos4412-trats2.dts | 66 +++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index 4f851cc..f7070e9 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -71,6 +71,15 @@ enable-active-high; }; + lcd_vdd3_reg: voltage-regulator-2 { + compatible = "regulator-fixed"; + regulator-name = "LCD_VDD_2.2V"; + regulator-min-microvolt = <2200000>; + regulator-max-microvolt = <2200000>; + gpio = <&gpc0 1 0>; + enable-active-high; + }; + /* More to come */ }; @@ -511,6 +520,63 @@ }; }; + dsi_0: dsi@11C80000 { + vddcore-supply = <&ldo8_reg>; + vddio-supply = <&ldo10_reg>; + samsung,pll-clock-frequency = <24000000>; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + reg = <1>; + + dsi_out: endpoint { + remote-endpoint = <&dsi_in>; + samsung,burst-clock-frequency = <500000000>; + samsung,esc-clock-frequency = <20000000>; + }; + }; + }; + + panel@0 { + compatible = "samsung,s6e8aa0"; + reg = <0>; + vdd3-supply = <&lcd_vdd3_reg>; + vci-supply = <&ldo25_reg>; + reset-gpios = <&gpy4 5 0>; + power-on-delay= <50>; + reset-delay = <100>; + init-delay = <100>; + flip-horizontal; + flip-vertical; + panel-width-mm = <58>; + panel-height-mm = <103>; + + display-timings { + timing-0 { + clock-frequency = <0>; + hactive = <720>; + vactive = <1280>; + hfront-porch = <5>; + hback-porch = <5>; + hsync-len = <5>; + vfront-porch = <13>; + vback-porch = <1>; + vsync-len = <2>; + }; + }; + + port { + dsi_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; + }; + camera { pinctrl-0 = <&cam_port_b_clk_active>; pinctrl-names = "default";