From patchwork Wed Feb 12 11:31:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 3637431 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 A10DD9F369 for ; Wed, 12 Feb 2014 11:32:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1E7B8201FA for ; Wed, 12 Feb 2014 11:32:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CB6E82020E for ; Wed, 12 Feb 2014 11:32:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752619AbaBLLcT (ORCPT ); Wed, 12 Feb 2014 06:32:19 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:13449 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752622AbaBLLcS (ORCPT ); Wed, 12 Feb 2014 06:32:18 -0500 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N0V00FSWS1NBLA0@mailout2.w1.samsung.com>; Wed, 12 Feb 2014 11:32:12 +0000 (GMT) X-AuditID: cbfec7f5-b7fc96d000004885-c8-52fb5bbfa7f6 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 04.9D.18565.FBB5BF25; Wed, 12 Feb 2014 11:32:15 +0000 (GMT) Received: from AMDC1061.digital.local ([106.116.147.88]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0N0V00CLBS14OO70@eusync2.samsung.com>; Wed, 12 Feb 2014 11:32:15 +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 , Marek Szyprowski Subject: [RFC PATCH v2 05/21] panel/s6e8aa0: add DT bindings Date: Wed, 12 Feb 2014 12:31:12 +0100 Message-id: <1392204688-4591-6-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 1.8.3.2 In-reply-to: <1392204688-4591-1-git-send-email-a.hajda@samsung.com> References: <1392204688-4591-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrOLMWRmVeSWpSXmKPExsVy+t/xK7r7o38HGew6Jm9xa905Vov5R4DE la/v2Sz63yxktTjwZwejxblXKxktzja9YbeYcX4fk8XaI3fZLZZev8hkMWH6WhaL1r1H2C3u bjjL6MDrsWbeGkaP2Q0XWTwu9/Uyeaxc/oXNY9OqTjaPO9f2sHnc7z7O5NG3ZRWjx+dNcgGc UVw2Kak5mWWpRfp2CVwZP3e/ZimYJFSxuOcKWwPjLb4uRk4OCQETiRMt3awQtpjEhXvr2UBs IYGljBK7j1h3MXIB2X1MEovnPmQHSbAJaEr83XwTrEhEQFni78RVjCBFzAJnmCWuvZ0AlhAW sJH4//odE4jNIqAqMfXMX7ANvAJOEl33rjNBbFOQWPZlLXMXIwcHp4CzxOFuHYjFThJbp99j nMDIu4CRYRWjaGppckFxUnqukV5xYm5xaV66XnJ+7iZGSOB+3cG49JjVIUYBDkYlHl4Gz19B QqyJZcWVuYcYJTiYlUR4g6J+BwnxpiRWVqUW5ccXleakFh9iZOLglGpgdIy5Hioe7NLyt69L 7FiUy/eFNp5rPToWPl0bL37kzfLr16ed7P2+SqC86k/FtzW8Ti61P4pD7jz7UHso651P8Imk u9d56p1+Ze4ucXpWwZTTuiitqXjDvomVm3elZgVJ8mg99bTc/3jJ4uZwv7z/8lNCf+VMUrz+ 7lHWRbNDaV1BrFvf+U7PVmIpzkg01GIuKk4EABTQRH06AgAA 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=-4.5 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, 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 bindings for s6e8aa0 panel. Bindings describes panel resources, boot delays, display timings, orientation and physical size. Signed-off-by: Andrzej Hajda --- v2 - removed samsung prefix from panel physical size props, - renamed file to follow convention of panel bindings --- .../devicetree/bindings/panel/samsung,s6e8aa0.txt | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/panel/samsung,s6e8aa0.txt diff --git a/Documentation/devicetree/bindings/panel/samsung,s6e8aa0.txt b/Documentation/devicetree/bindings/panel/samsung,s6e8aa0.txt new file mode 100644 index 0000000..75a64db --- /dev/null +++ b/Documentation/devicetree/bindings/panel/samsung,s6e8aa0.txt @@ -0,0 +1,51 @@ +Samsung S6E8AA0 AMOLED LCD 5.3 inch panel + +Required properties: + - compatible: "samsung,s6e8aa0" + - reg: the virtual channel number of a DSI peripheral + - vdd3-supply: core voltage supply + - vci-supply: voltage supply for analog circuits + - reset-gpio: a GPIO spec for the reset pin + - display-timings: timings for the connected panel as described by [1] + +Optional properties: + - power-on-delay: delay after turning regulators on [ms] + - reset-delay: delay after reset sequence [ms] + - init-delay: delay after initialization sequence [ms] + - panel-width-mm: physical panel width [mm] + - panel-height-mm: physical panel height [mm] + - flip-horizontal: boolean to flip image horizontally + - flip-vertical: boolean to flip image vertically + +[1]: Documentation/devicetree/bindings/video/display-timing.txt + +Example: + + panel { + compatible = "samsung,s6e8aa0"; + reg = <0>; + vdd3-supply = <&vcclcd_reg>; + vci-supply = <&vlcd_reg>; + reset-gpio = <&gpy4 5 0>; + power-on-delay= <50>; + reset-delay = <100>; + init-delay = <100>; + panel-width-mm = <58>; + panel-height-mm = <103>; + flip-horizontal; + flip-vertical; + + display-timings { + timing0: timing-0 { + clock-frequency = <57153600>; + hactive = <720>; + vactive = <1280>; + hfront-porch = <5>; + hback-porch = <5>; + hsync-len = <5>; + vfront-porch = <13>; + vback-porch = <1>; + vsync-len = <2>; + }; + }; + };