From patchwork Wed Jan 22 14:35:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 3523601 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 917E49F39C for ; Wed, 22 Jan 2014 14:36:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 85558200D7 for ; Wed, 22 Jan 2014 14:36:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1FA8F20176 for ; Wed, 22 Jan 2014 14:36:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755917AbaAVOgi (ORCPT ); Wed, 22 Jan 2014 09:36:38 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:24503 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755893AbaAVOgU (ORCPT ); Wed, 22 Jan 2014 09:36:20 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) 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 <0MZT006454KJXK70@mailout1.w1.samsung.com>; Wed, 22 Jan 2014 14:36:19 +0000 (GMT) X-AuditID: cbfec7f4-b7f796d000005a13-43-52dfd7622991 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 32.E9.23059.267DFD25; Wed, 22 Jan 2014 14:36:18 +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 <0MZT00JHK4K8L3B0@eusync2.samsung.com>; Wed, 22 Jan 2014 14:36:18 +0000 (GMT) From: Andrzej Hajda To: dri-devel@lists.freedesktop.org Cc: Andrzej Hajda , linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, Grant Likely , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Inki Dae , Kyungmin Park , Thierry Reding , Tomasz Figa Subject: [RFC PATCH 5/9] panel/s6e8aa0: add DT bindings Date: Wed, 22 Jan 2014 15:35:31 +0100 Message-id: <1390401336-22915-6-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 1.8.3.2 In-reply-to: <1390401336-22915-1-git-send-email-a.hajda@samsung.com> References: <1390401336-22915-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrDLMWRmVeSWpSXmKPExsVy+t/xK7pJ1+8HGbzfIWlxa905Vov5R4DE la/v2Sz63yxktTjwZwejxblXKxktJt2fwGJxtukNu8WM8/uYLJZev8hkMWH6WhaL1r1H2C3W z3jNYvFz1zwWBz6PNfPWMHpc7utl8tg56y67x8rlX9g8Nq3qZPO4c20Pm8f97uNMHn1bVjF6 fN4kF8AZxWWTkpqTWZZapG+XwJXxYvIH9oK3QhXH9yQ0MG7k62Lk5JAQMJH48HYrE4QtJnHh 3no2EFtIYCmjxL0r2V2MXEB2H5NE88FdjCAJNgFNib+bb4IViQgoS/yduIoRpIhZ4B2zxNZV Z8ESwgLmEmcu7WEBsVkEVCWOzF/FDGLzCjhLHL/7hxVim4LEsi9rweKcAi4SbeshFggB1Sxf u5x9AiPvAkaGVYyiqaXJBcVJ6bmGesWJucWleel6yfm5mxghIfxlB+PiY1aHGAU4GJV4eAN3 3QsSYk0sK67MPcQowcGsJMKbevl+kBBvSmJlVWpRfnxRaU5q8SFGJg5OqQZGyYDJkUvKCru8 Wa0ULfcdmO8W5hn5YOVt7wf1U9RkHpZs/nw1OmrNHsWf0kr+DHfePprjeeDi331JLZtMLiU7 LOF46/e7ZoWLVJX71Zl51eq6fX0lZxKPH/L8yD3bcs+89V4RxSXt9dFsjZf22WbN497ne4+p 3ptZunWna8qJg8eTJ4cUrf6ixFKckWioxVxUnAgAoWvcVD8CAAA= 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 The patch adds bindings for s6e8aa0 panel. Bindings describes panel resources, boot delays, display timings, orientation and physical size. Signed-off-by: Andrzej Hajda --- .../devicetree/bindings/panel/samsung-s6e8aa0.txt | 53 ++++++++++++++++++++++ 1 file changed, 53 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..675e66e --- /dev/null +++ b/Documentation/devicetree/bindings/panel/samsung-s6e8aa0.txt @@ -0,0 +1,53 @@ +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] + - samsung,panel-width-mm: physical panel width [mm] + - samsung,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>; + samsung,panel-width-mm = <58>; + samsung,panel-height-mm = <103>; + flip-horizontal; + flip-vertical; + + display-timings { + native-mode = <&timing0>; + + 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>; + }; + }; + };