From patchwork Thu Feb 28 09:42:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vikas C Sajjan X-Patchwork-Id: 15144 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 254764C54F8 for ; Thu, 28 Feb 2013 09:43:23 +0000 (UTC) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by fiordland.canonical.com (Postfix) with ESMTP id A9BE5A194DA for ; Thu, 28 Feb 2013 09:43:22 +0000 (UTC) Received: by mail-vc0-f175.google.com with SMTP id p1so507154vcq.34 for ; Thu, 28 Feb 2013 01:43:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=8v7jlVIMrzDtrdwgWy/SNBUCytE47R4IZ+1rd1KbVNI=; b=lPechHQjORsLygaP4PjljvZ6aRbV3vHiVCO3Q1Vw2XWtFUp2IovTuEB2EbAnn7/4n6 C58tFz9k9MA6QpVkNbWuxG57gmmOSnTs8PCYMW1Neu7mlC83/m0zdePqAsoDHXWSaYcV 2SJV+Mn3fHZezhB+Krg9dEBQhcfrPRp3U81f8z41lDTof3CAhIyUDmGKI5TUPvs5J8w1 5hNgN4V9NTyGDQ9YM0aJ3P41YDaspSnQ91yMCoyTQWQ6F4UfspjDyK247ljaOGQTqSvU XLs3R0XMRK8xVIFH6FQJniHHEUbBacs20n3F74AEoLIBAIZ/m2qJ9FpKl+GBX+XRsq+2 0Ehg== X-Received: by 10.58.205.179 with SMTP id lh19mr2327767vec.7.1362044601974; Thu, 28 Feb 2013 01:43:21 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp216058veb; Thu, 28 Feb 2013 01:43:21 -0800 (PST) X-Received: by 10.68.238.163 with SMTP id vl3mr8002959pbc.177.1362044600435; Thu, 28 Feb 2013 01:43:20 -0800 (PST) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by mx.google.com with ESMTPS id n6si8288765paw.23.2013.02.28.01.43.20 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Feb 2013 01:43:20 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.48 is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) client-ip=209.85.220.48; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.48 is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) smtp.mail=vikas.sajjan@linaro.org Received: by mail-pa0-f48.google.com with SMTP id hz10so1044722pad.7 for ; Thu, 28 Feb 2013 01:43:20 -0800 (PST) X-Received: by 10.68.203.33 with SMTP id kn1mr7974030pbc.197.1362044600054; Thu, 28 Feb 2013 01:43:20 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id zm1sm7818402pbc.26.2013.02.28.01.43.15 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Feb 2013 01:43:19 -0800 (PST) From: Vikas Sajjan To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, sachin.kamat@linaro.org, t.figa@samsung.com, sylvester.nawrocki@gmail.com, devicetree-discuss@lists.ozlabs.org, inki.dae@samsung.com, jy0922.shim@samsung.com Subject: [PATCH v6 5/5] ARM: dts: Add FIMD DT binding Documentation Date: Thu, 28 Feb 2013 15:12:39 +0530 Message-Id: <1362044559-7496-6-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1362044559-7496-1-git-send-email-vikas.sajjan@linaro.org> References: <1362044559-7496-1-git-send-email-vikas.sajjan@linaro.org> X-Gm-Message-State: ALoCoQkt788RpTxzXJNbU76LKqE8Fm2PxIia3HZrXAUbW+MPDwOkZz6MoahPeCmdoeIQZrWvMFO+ Adds FIMD DT binding documentation both Samsung SoC and Board, with an example Signed-off-by: Vikas Sajjan --- .../devicetree/bindings/video/samsung-fimd.txt | 54 ++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/samsung-fimd.txt diff --git a/Documentation/devicetree/bindings/video/samsung-fimd.txt b/Documentation/devicetree/bindings/video/samsung-fimd.txt new file mode 100644 index 0000000..8d201e7 --- /dev/null +++ b/Documentation/devicetree/bindings/video/samsung-fimd.txt @@ -0,0 +1,54 @@ +Device-Tree bindings for Samsung SoC display controller (FIMD) + +FIMD stands for Fully Interactive Mobile Display, is the Display Controller for +the Samsung series of SoCs which transfers the image data from a video buffer +located in the system memory to an external LCD interface. + +Required properties: +- compatible := value should be one of the following + "samsung,s3c2443-fimd"; /* for S3C24XX SoCs */ + "samsung,s3c6400-fimd"; /* for S3C64XX SoCs */ + "samsung,s5p6440-fimd"; /* for S5P64X0 SoCs */ + "samsung,s5pc100-fimd"; /* for S5PC100 SoC */ + "samsung,s5pv210-fimd"; /* for S5PV210 SoC */ + "samsung,exynos4210-fimd"; /* for Exynos4 SoCs */ + "samsung,exynos5250-fimd"; /* for Exynos5 SoCs */ + +- reg := physical base address of the fimd and length of memory mapped region + +- interrupt-parent := reference to the interrupt combiner node with phandle + +- interrupts := interrupt number from the combiner to the cpu. + We have 3 interrupts and the interrupt combiner order is + FIFO Level, VSYNC, and LCD_SYSTEM. + but since the driver expects VSYNC to be the first IRQ, + make sure to mention order as VSYNC, FIFO Level and LCD_SYSTEM + keeping VSYNC as first IRQ as shown below. + for example: interrupts = <11 1>, <11 0>, <11 2>; + +- pinctrl := property defining the pinctrl configurations with a phandle + +- pinctrl-names := name of the pinctrl + +Optional Properties: +- samsung,power-domain := power domain property defined with a phandle + +Example: + +SoC specific DT Entry: + + fimd@11c00000 { + compatible = "samsung,exynos4210-fimd"; + interrupt-parent = <&combiner>; + reg = <0x11c00000 0x20000>; + interrupts = <11 1>, <11 0>, <11 2>; + }; + +Board specific DT Entry: + + fimd@11c00000 { + samsung,power-domain = <&pd_lcd0>; + pinctrl-0 = <&lcd_sync &lcd_clk &lcd_en &lcd0_data &pwm1_out>; + pinctrl-names = "default"; + status = "okay"; + };