From patchwork Mon Oct 29 07:21:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Manjunathappa, Prakash" X-Patchwork-Id: 1661661 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id AF5483FCF7 for ; Mon, 29 Oct 2012 07:38:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754106Ab2J2HiX (ORCPT ); Mon, 29 Oct 2012 03:38:23 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:49410 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752205Ab2J2HiW (ORCPT ); Mon, 29 Oct 2012 03:38:22 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id q9T7c6Ph004698; Mon, 29 Oct 2012 02:38:06 -0500 Received: from DBDE70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id q9T7c3JP011121; Mon, 29 Oct 2012 13:08:03 +0530 (IST) Received: from dbdp32.itg.ti.com (172.24.170.251) by dbde70.ent.ti.com (172.24.170.148) with Microsoft SMTP Server id 14.1.323.3; Mon, 29 Oct 2012 13:07:49 +0530 Received: from ucmsshproxy.india.ext.ti.com (dbdp20.itg.ti.com [172.24.170.38]) by dbdp32.itg.ti.com (8.13.8/8.13.8) with SMTP id q9T7bnIV016651; Mon, 29 Oct 2012 13:07:49 +0530 Received: from symphony.india.ext.ti.com (unknown [192.168.247.13]) by ucmsshproxy.india.ext.ti.com (Postfix) with ESMTP id E6272158002; Mon, 29 Oct 2012 13:07:48 +0530 (IST) Received: from localhost.localdomain (linux-psp-server [192.168.247.76]) by symphony.india.ext.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id q9T7bm712356; Mon, 29 Oct 2012 13:07:48 +0530 (IST) From: "Manjunathappa, Prakash" To: , CC: , , , , , , , "Manjunathappa, Prakash" Subject: [PATCH 2/2] video: da8xx-fb: add device tree binding information Date: Mon, 29 Oct 2012 12:51:06 +0530 Message-ID: <1351495266-1202-2-git-send-email-prakash.pm@ti.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1351495266-1202-1-git-send-email-prakash.pm@ti.com> References: <1351495266-1202-1-git-send-email-prakash.pm@ti.com> MIME-Version: 1.0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Signed-off-by: Manjunathappa, Prakash --- Documentation/devicetree/bindings/fb/da8xx-fb.txt | 86 +++++++++++++++++++++ 1 files changed, 86 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/fb/da8xx-fb.txt diff --git a/Documentation/devicetree/bindings/fb/da8xx-fb.txt b/Documentation/devicetree/bindings/fb/da8xx-fb.txt new file mode 100644 index 0000000..3fc2ef9 --- /dev/null +++ b/Documentation/devicetree/bindings/fb/da8xx-fb.txt @@ -0,0 +1,86 @@ +* Texas Instruments DaVinci da8xx-fb + +This file provides information of da830-fb device node. + +Required properties: +- compatible : "ti,da830-lcd" : for DA830, DA850 and am335x platforms +- reg : Offset and length of the register set for the device. +- interrupts : standard interrupt property. +- interrupt-parent : The phandle for the interrupt controller that + services interrupts for this device. +- panel_shade : panel shade for-ex MONOCHROME, PASSIVE, ACTIVE. +- bpp : bits per pixel resolution. +- display-timings: Panel timing information. + +Optional properties: +- ac-bias : AC Bias Pin Frequency. This value defines the + number of Line Clock (LCD_HSYNC) cycles to count + before transitioning signal LCD_AC_ENB_CS. This + output may be used to periodically invert the + polarity of the power supply in order to prevent a + display DC charge build-up on the LCD panel. + +- ac-bias-intrpt : This value is used to specify the number of AC + Bias(LCD_AC_ENB_CS) output transition counts + before setting the AC bias interrupt bit in + register LCD_STAT. This counter is stopped when + the interrupt is set and remains stopped until the + AC bias interrupt status is cleared. A value of + zero will not produce an interrupt. + +- tft-alt-mode : TFT Alternative Signal Mapping +- stn-565-mode : 12-Bit-Per-Pixel (5-6-5) Mode. This is only + available in passive-color (STN) mode when 12 BPP + is specified in the palette. + +- mono-8bit-mode : Mono 8-bit Mode + +- sync-edge : This determines whether the HSYNC/VSYNC is driven + on the rising or falling edge of the pixel clock + +- raster-order : Decides data order, if 0 frame buffer data is + ordered from least-to-most significant bit/nibble/ + byte/word/d-word else most-to- least significant.. + +- panel : panel name along manufacturer name. +- dma-burst-sz : Burst Size setting for DMA transfers +- fifo-threshold : DMA FIFO threshold. The input FIFO becomes ready + so that the Raster controller can start reading + its content only when the number of dwords (1 + dword is 4 bytes) specified by TH_FIFO_READY have + been loaded by the DMA from the frame buffer to + the input FIFO. + +- fdd : FIFO DMA Request Delay. Encoded value used to + specify the number of clocks the input FIFO DMA + request should be disabled. The delay clock count + starts after 16 words are loaded into the input + FIFO. + +Example for da850-evm: + lcd0: lcd@1e13000 { + compatible = "ti,da8xx-lcd"; + reg = <0x213000 0x1000>; + clock-frequency = <150000000>; + interrupts = <52>; + interrupt-parent = <&intc>; + panel_shade = <1>; + bpp = <16>; + display-timings { + default-timing = <&timing0>; + timing0: 480x272p53 { + clock = <7833600>; + hactive = <480>; + vactive = <272>; + hfront-porch = <2>; + hback-porch = <2>; + hsync-len = <41>; + vback-porch = <3>; + vfront-porch = <3>; + vsync-len = <10>; + hsync-active-high; + vsync-active-high; + }; + }; + }; +