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: 1661681 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by patchwork1.kernel.org (Postfix) with ESMTP id A73543FCF7 for ; Mon, 29 Oct 2012 07:39:14 +0000 (UTC) Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id q9T7c7r4025671; Mon, 29 Oct 2012 02:38:08 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id q9T7c7mf005391; Mon, 29 Oct 2012 02:38:07 -0500 Received: from dlelxv23.itg.ti.com (172.17.1.198) by dfle73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.1.323.3; Mon, 29 Oct 2012 02:38:07 -0500 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlelxv23.itg.ti.com (8.13.8/8.13.8) with ESMTP id q9T7c7Bj022254; Mon, 29 Oct 2012 02:38:07 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id BBA3980628; Mon, 29 Oct 2012 01:38:07 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dbdp20.itg.ti.com (dbdp20.itg.ti.com [172.24.170.38]) by linux.omap.com (Postfix) with ESMTP id ECF3980626 for ; Mon, 29 Oct 2012 01:38:04 -0600 (CST) 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: , 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 CC: , , , , , , X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com 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; + }; + }; + }; +