From patchwork Wed Mar 11 15:27:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Davor Joja X-Patchwork-Id: 5986661 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B34C3BF90F for ; Wed, 11 Mar 2015 15:34:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CC90D203AC for ; Wed, 11 Mar 2015 15:34:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DC9E920386 for ; Wed, 11 Mar 2015 15:34:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754093AbbCKPde (ORCPT ); Wed, 11 Mar 2015 11:33:34 -0400 Received: from mail.logicbricks.com ([89.201.165.134]:27597 "EHLO mail.logicbricks.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754075AbbCKPdc (ORCPT ); Wed, 11 Mar 2015 11:33:32 -0400 X-Greylist: delayed 334 seconds by postgrey-1.27 at vger.kernel.org; Wed, 11 Mar 2015 11:33:15 EDT From: Davor Joja To: , , , CC: Davor Joja Subject: [PATCH 10/10] bindings: video: Xylon framebuffer driver binding Date: Wed, 11 Mar 2015 16:27:11 +0100 X-Mailer: git-send-email 1.9.1 In-Reply-To: <1426087631-9952-1-git-send-email-davorjoja@logicbricks.com> References: <1426087631-9952-1-git-send-email-davorjoja@logicbricks.com> MIME-Version: 1.0 X-Originating-IP: [192.168.0.95] Message-ID: <8195d8ed-e97c-4a77-8a0d-7d8dd6f199b4@mail.xylon.local> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Xylon framebuffer driver binding description. Signed-off-by: Davor Joja --- .../devicetree/bindings/video/xylon-fb.txt | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/xylon-fb.txt \ No newline at end of file diff --git a/Documentation/devicetree/bindings/video/xylon-fb.txt b/Documentation/devicetree/bindings/video/xylon-fb.txt new file mode 100644 index 0000000..665166f --- /dev/null +++ b/Documentation/devicetree/bindings/video/xylon-fb.txt @@ -0,0 +1,52 @@ +Binding for Xylon FB driver + +Xylon FB driver supports Xylon configurable video controller +logiCVC FPGA IP core device. + +Required properties: + - compatible: value must be "xylon,fb-3.00.a" + - device: the phandle for logiCVC video controller device + +Optional properties: + - clocks: the phandle for the pixel clock generator + - console-layer: layer ID for FB console (0 - 4) + If omitted, FB console started on default layer ID 0. + Note: FB console can be started only on layer configured with one + of parameters combination below: + ====================================== + bits-per-pixel type transparency + ====================================== + 8 yuv clut32 + 8 rgb clut16 + 8 rgb clut32 + 8 rgb layer + 16 rgb layer + 32 rgb layer + 32 rgb pixel + ====================================== + + - edid-video-mode: video mode set to preferred EDID resolution + If omitted, configured according to "video-mode" property. + - edid-print: prints EDID description in system log + Must be used only with "edid-video-mode". + If omitted, functionality is not available. + - vsync-irq: generate interrupt on vertical synchronization pulse + - video-mode: preferred video mode resolution + If omitted, configures logiCVC to default video resolution "1024x768". + - M: Coordinated Video Timings (CVT) + - R: reduced video timings for digital displays + - i: calculate for an interlaced mode + - m: add margins to calculation calculation + (1.8% of xres rounded down to 8 pixels and 1.8% of yres). +Example: + + xylon_fb { + compatible = "xylon,fb-3.00.a"; + clocks = <&clkout_0>; + device = <&logicvc_0>; + console-layer = <0>; + edid-video-mode; + edid-print; + vsync-irq; + video-mode = "1920x1080MR"; + };