From patchwork Mon Jun 2 05:22:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: YoungJun Cho X-Patchwork-Id: 4279811 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 459CABEEA7 for ; Mon, 2 Jun 2014 05:23:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 748B2203AF for ; Mon, 2 Jun 2014 05:23:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8B242203DB for ; Mon, 2 Jun 2014 05:23:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751966AbaFBFXD (ORCPT ); Mon, 2 Jun 2014 01:23:03 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:37250 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751826AbaFBFW6 (ORCPT ); Mon, 2 Jun 2014 01:22:58 -0400 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N6J000PX0A6EU50@mailout2.samsung.com>; Mon, 02 Jun 2014 14:22:54 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.45]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 84.DF.19452.E2A0C835; Mon, 02 Jun 2014 14:22:54 +0900 (KST) X-AuditID: cbfee68e-b7fb96d000004bfc-3d-538c0a2e0d6f Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 64.79.08203.E2A0C835; Mon, 02 Jun 2014 14:22:54 +0900 (KST) Content-transfer-encoding: 8BIT Received: from localhost.localdomain ([10.252.75.90]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N6J00KWX0A3O8D0@mmp2.samsung.com>; Mon, 02 Jun 2014 14:22:54 +0900 (KST) From: YoungJun Cho To: airlied@linux.ie, dri-devel@lists.freedesktop.org Cc: devicetree@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux-samsung-soc@vger.kernel.org, thierry.reding@gmail.com, kyungmin.park@samsung.com, inki.dae@samsung.com, kgene.kim@samsung.com, jy0922.shim@samsung.com, sw0312.kim@samsung.com, a.hajda@samsung.com Subject: =?UTF-8?q?=5BPATCH=20v3=2004/15=5D=20ARM=3A=20dts=3A=20samsung-fimd=3A=20add=20LCD=20I80=20interface=20specific=20properties?= Date: Mon, 02 Jun 2014 14:22:40 +0900 Message-id: <1401686571-22148-5-git-send-email-yj44.cho@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1401686571-22148-1-git-send-email-yj44.cho@samsung.com> References: <1401686571-22148-1-git-send-email-yj44.cho@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrNIsWRmVeSWpSXmKPExsVy+t8zXV09rp5gg+YGfYtb686xWvSeO8lk Mf8IkHXl63s2i/43C1ktzr1ayWgx6f4EFosX9y6yWPQuuMpmcbbpDbvFjPP7mCyWXr/IZDFh +loWi9a9R4Bik1+yWfzcNY/FQcBjzbw1jB6X+3qZPHbOusvusXL5FzaPTas62Ty2f3vA6nG/ +ziTR9+WVYwenzfJBXBGcdmkpOZklqUW6dslcGX8m7icpWCTeMX1HZUNjBcEuhg5OSQETCRO f5jPDmGLSVy4t56ti5GLQ0hgGaPE7baHbDBFy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MmreIGaK8lUni9EonEJtNQFPi+ccdrCC2iICpRMekpUCtXED1 T5gkTm3eD+YIC3QySmxrvQG2jEVAVaJxxil2kAW8Ai4S/64lgJgSAgoScybZgFRwCrhKHH6w iRVil4vEm2XTWCcwCsxCct0shOtmIbluASPzKkbR1ILkguKk9FxDveLE3OLSvHS95PzcTYzg dPJMagfjygaLQ4wCHIxKPLwTFnQFC7EmlhVX5h5ilOBgVhLhPXq2O1iINyWxsiq1KD++qDQn tfgQYzLQ2ROZpUST84GpLq8k3tDYxMzI0sjM2MTc2Jg0YSVx3gOt1oFCAumJJanZqakFqUUw W5g4OKUaGCuD/Z48VyuXeZL4/fhD37rD2Rd+1JT5MiVubJ/6UbTeebJ20LxPsR1XIk0+PWN7 PzVFa92ReTdW+VqWvNy55Pf7FClj+w/B9+Sv5d5QOjTxb5jq7JNGsizr1XPi7S7NFzp6eaWh a8dMj2kfTfq3ftmgLrd/+c43r89kzGKwmLy2cHVigOH6azuVWIozEg21mIuKEwGvWE8kawMA AA== 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 In case of using MIPI DSI based I80 interface panel, the relevant registers should be set. So this patch adds relevant DT bindings. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- .../devicetree/bindings/video/samsung-fimd.txt | 28 ++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/bindings/video/samsung-fimd.txt b/Documentation/devicetree/bindings/video/samsung-fimd.txt index 2dad41b..59ff61e 100644 --- a/Documentation/devicetree/bindings/video/samsung-fimd.txt +++ b/Documentation/devicetree/bindings/video/samsung-fimd.txt @@ -44,6 +44,34 @@ Optional Properties: - display-timings: timing settings for FIMD, as described in document [1]. Can be used in case timings cannot be provided otherwise or to override timings provided by the panel. +- samsung,sysreg: handle to syscon used to control the system registers +- i80-if-timings: timing configuration for lcd i80 interface support. + - cs-setup: clock cycles for the active period of address signal is enabled + until chip select is enabled. + If not specified, the default value(0) will be used. + - wr-setup: clock cycles for the active period of CS signal is enabled until + write signal is enabled. + If not specified, the default value(0) will be used. + - wr-active: clock cycles for the active period of CS is enabled. + If not specified, the default value(1) will be used. + - wr-hold: clock cycles for the active period of CS is disabled until write + signal is disabled. + If not specified, the default value(0) will be used. + + The parameters are defined as: + + VCLK(internal) __|¯¯¯¯¯¯|_____|¯¯¯¯¯¯|_____|¯¯¯¯¯¯|_____|¯¯¯¯¯¯|_____|¯¯ + : : : : : + Address Output --:| : : : + Chip Select ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|____________:____________:____________|¯¯ + | wr-setup+1 | | wr-hold+1 | + |<---------->| |<---------->| + Write Enable ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|____________|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ + | wr-active+1| + |<---------->| + Video Data ------------------------------ The device node can contain 'port' child nodes according to the bindings defined in [2]. The following are properties specific to those nodes: