From patchwork Fri Oct 12 20:47:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar X-Patchwork-Id: 1586431 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id CD5FEDFF71 for ; Fri, 12 Oct 2012 11:19:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751718Ab2JLLTS (ORCPT ); Fri, 12 Oct 2012 07:19:18 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:25505 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751114Ab2JLLTP (ORCPT ); Fri, 12 Oct 2012 07:19:15 -0400 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MBS005ZN23SZ6A0@mailout4.samsung.com>; Fri, 12 Oct 2012 20:19:14 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.123]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id DC.03.18144.2BCF7705; Fri, 12 Oct 2012 20:19:14 +0900 (KST) X-AuditID: cbfee61b-b7fd46d0000046e0-eb-5077fcb2f782 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 2C.03.18144.1BCF7705; Fri, 12 Oct 2012 20:19:13 +0900 (KST) Received: from localhost.localdomain ([107.108.73.106]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MBS00A6T210HM80@mmp1.samsung.com>; Fri, 12 Oct 2012 20:19:13 +0900 (KST) From: Ajay Kumar To: linux-samsung-soc@vger.kernel.org, linux-fbdev@vger.kernel.org, jg1.han@samsung.com, devicetree-discuss@lists.ozlabs.org Cc: FlorianSchandinat@gmx.de, sylvester.nawrocki@gmail.com, tomasz.figa@gmail.com, thomas.ab@samsung.com Subject: [PATCH V5 2/2] video: exynos_dp: device tree documentation Date: Sat, 13 Oct 2012 02:17:39 +0530 Message-id: <1350074859-23226-2-git-send-email-ajaykumar.rs@samsung.com> X-Mailer: git-send-email 1.7.0.4 In-reply-to: <1350074859-23226-1-git-send-email-ajaykumar.rs@samsung.com> References: <1350074859-23226-1-git-send-email-ajaykumar.rs@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPLMWRmVeSWpSXmKPExsWyRsSkWnfTn/IAg8P3+SxO9H1gtZhxfh+T A5PH501yAYxRXDYpqTmZZalF+nYJXBkvjzSyFNwVrzj67zdLA+MS4S5GDg4JAROJm0uLuxg5 gUwxiQv31rN1MXJxCAksZZSYvf4LG0TCRGLV+/NQiUWMEo+un2eFcNqZJB4vmMIKUsUmoC2x bfpNFhBbRKBOYv/2E2BxZoEsiWm325hBtgkLOEvM2CkDEmYRUJXoffWKGcTmFfCQWPv4AjPE MgWJ1mWH2EFsTgFPiWOHToPFhYBq/q69wgbRKyDxbfIhFogHZCU2HWAGOUdC4DabxKqet6wQ cyQlDq64wTKBUXgBI8MqRtHUguSC4qT0XCO94sTc4tK8dL3k/NxNjMBQPP3vmfQOxlUNFocY BTgYlXh4C1jKA4RYE8uKK3MPMUpwMCuJ8DL8AgrxpiRWVqUW5ccXleakFh9i9AG6ZCKzlGhy PjBO8kriDY1NzE2NTS2NjMxMTXEIK4nzNnukBAgJpCeWpGanphakFsGMY+LglGpgdPJ0q+DU 76pQXvY++azi50MP8x45yCwyEvp6+TUjE9PO1HUB4QWLvxl7RK/Mu3f1wlf/cqOS6hP3Oos3 MTwRD1K59TZ9mbff7BVTHzFw9z3Vj63PNmc/yf6hb8uUXcw5rgrdqbZ2P7X1U6brz/vy9NE5 bpVSvf31z4qsamp0NzfmrrluZD9DiaU4I9FQi7moOBEAK8bmtnICAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupnkeLIzCtJLcpLzFFi42I5/e+xgO7GP+UBBn03rC1O9H1gtZhxfh+T A5PH501yAYxRDYw2GamJKalFCql5yfkpmXnptkrewfHO8aZmBoa6hpYW5koKeYm5qbZKLj4B um6ZOUCjlRTKEnNKgUIBicXFSvp2mCaEhrjpWsA0Ruj6hgTB9RgZoIGENYwZL480shTcFa84 +u83SwPjEuEuRk4OCQETiVXvz7NB2GISF+6tB7K5OIQEFjFKPLp+nhXCaWeSeLxgCitIFZuA tsS26TdZQGwRgTqJ/dtPgMWZBbIkpt1uY+5i5OAQFnCWmLFTBiTMIqAq0fvqFTOIzSvgIbH2 8QVmiGUKEq3LDrGD2JwCnhLHDp0GiwsB1fxde4VtAiPvAkaGVYyiqQXJBcVJ6blGesWJucWl eel6yfm5mxjBof5MegfjqgaLQ4wCHIxKPLwFLOUBQqyJZcWVuYcYJTiYlUR4GX4BhXhTEiur Uovy44tKc1KLDzH6AF01kVlKNDkfGId5JfGGxibmpsamliYWJmaWOISVxHmbPVIChATSE0tS s1NTC1KLYMYxcXBKNTAW637bpDfpxWXzPZx2nHckbx6sEXon+mKz18pYsbpJ0gG7M+bnnLu6 Su2V5skXLxpqnjZvPWsq/8He9+TBJ8Knd25bllk8rSrE9MuUjyt8BVNCY5dI2Pjr7Gu8UXdD +nK5vE/Tq1LJPJ9w1R/K7mtOz93+ZfLUY7OmTJswxYvhWn/u3PNRj4XilViKMxINtZiLihMB YeRRsaICAAA= X-CFilter-Loop: Reflected Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Add documentation for the DT bindings in exynos display port driver. Signed-off-by: Ajay Kumar --- .../devicetree/bindings/video/exynos_dp.txt | 80 ++++++++++++++++++++ 1 files changed, 80 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/video/exynos_dp.txt diff --git a/Documentation/devicetree/bindings/video/exynos_dp.txt b/Documentation/devicetree/bindings/video/exynos_dp.txt new file mode 100644 index 0000000..e19594b --- /dev/null +++ b/Documentation/devicetree/bindings/video/exynos_dp.txt @@ -0,0 +1,80 @@ +The Exynos display port interface should be configured based on the +based on the type of panel connected to it. + +We use two nodes: + -display-port-controller node + -dptx-phy node(defined inside display-port-controller node) + +For the DP-PHY initialization, we use the dptx-phy node. +Required properties for dptx-phy: + -reg: + Base address of DP PHY register. + -samsung,enable-mask: + The bit-mask used to enable/disable DP PHY. + +For the Panel initialization, we read data from display-port-controller node. +Required properties for display-port-controller: + -compatible: + should be "samsung,exynos5-dp". + -reg: + physical base address of the controller and length + of memory mapped region. + -interrupts: + interrupt combiner values. + -interrupt-parent: + phandle to Interrupt combiner node. + -samsung,color-space: + input video data format. + COLOR_RGB = 0, COLOR_YCBCR422 = 1, COLOR_YCBCR444 = 2 + -samsung,dynamic-range: + dynamic range for input video data. + VESA = 0, CEA = 1 + -samsung,ycbcr-coeff: + YCbCr co-efficients for input video. + COLOR_YCBCR601 = 0, COLOR_YCBCR709 = 1 + -samsung,color-depth: + number of bits per colour component. + COLOR_6 = 0, COLOR_8 = 1, COLOR_10 = 2, COLOR_12 = 3 + -samsung,link-rate: + link rate supported by the panel. + LINK_RATE_1_62GBPS = 0x6, LINK_RATE_2_70GBPS = 0x0A + -samsung,lane-count: + number of lanes supported by the panel. + LANE_COUNT1 = 1, LANE_COUNT2 = 2, LANE_COUNT4 = 4 + +Optional properties for display-port-controller: + -interlaced: + interlace scan mode. + Progressive if defined, Interlaced if not defined + -vsync-active-high: + VSYNC polarity configuration. + High if defined, Low if not defined + -hsync-active-high: + HSYNC polarity configuration. + High if defined, Low if not defined + +Example: + +SOC specific portion: + display-port-controller { + compatible = "samsung,exynos5-dp"; + reg = <0x145b0000 0x10000>; + interrupts = <10 3>; + interrupt-parent = <&combiner>; + + dptx-phy { + reg = <0x10040720>; + samsung,enable-mask = <1>; + }; + + }; + +Board Specific portion: + display-port-controller { + samsung,color-space = <0>; + samsung,dynamic-range = <0>; + samsung,ycbcr-coeff = <0>; + samsung,color-depth = <1>; + samsung,link-rate = <0x0a>; + samsung,lane-count = <2>; + };