From patchwork Wed Mar 13 10:09:31 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: 15334 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 883A723E48 for ; Wed, 13 Mar 2013 10:10:09 +0000 (UTC) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by fiordland.canonical.com (Postfix) with ESMTP id 30DD5A19B8D for ; Wed, 13 Mar 2013 10:10:09 +0000 (UTC) Received: by mail-ve0-f175.google.com with SMTP id cy12so584200veb.34 for ; Wed, 13 Mar 2013 03:10:08 -0700 (PDT) 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=FnP6hjrOGDjL10rJNjUpohoLIzuhJe9RBLS3+bIrWxw=; b=j5jKpCIzhbudWKBsgdxJVwNrTk4QCvtSBfxt00yw6MnGoSIaKhzVREUyQUzef3RHqT 3tW9u546yYcs2W9KPayW9aC65jEhuK7gmT5TtlXohU1JkA6ld2j4cMXsT+JWFCl2zQtw KtMavk2ORwdQDiGfei36CyUdcU8VKiXQnBS5eu3MUpV1KCpEknvWjeWxWeIdepRjP8kN kmacxUAu5jGqZDX/R9XeJC0GwZehC4WbTOk0Ag7uygj7Z0yvOHWLHswODTakLZEQRhVU xPq/S4sepDq/bbWqBa+1ahNJEZYAzLAbV4SegclDvxvBESdFigXbAsvNg5Cafjgooj80 ah1Q== X-Received: by 10.52.88.237 with SMTP id bj13mr6861900vdb.75.1363169408693; Wed, 13 Mar 2013 03:10:08 -0700 (PDT) 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.127.98 with SMTP id nf2csp10944veb; Wed, 13 Mar 2013 03:10:08 -0700 (PDT) X-Received: by 10.68.225.73 with SMTP id ri9mr45186392pbc.70.1363169407581; Wed, 13 Mar 2013 03:10:07 -0700 (PDT) Received: from mail-pb0-f44.google.com (mail-pb0-f44.google.com [209.85.160.44]) by mx.google.com with ESMTPS id qf10si34956705pbc.278.2013.03.13.03.10.07 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Mar 2013 03:10:07 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.44 is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) client-ip=209.85.160.44; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.44 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-pb0-f44.google.com with SMTP id wz12so867531pbc.3 for ; Wed, 13 Mar 2013 03:10:07 -0700 (PDT) X-Received: by 10.68.252.193 with SMTP id zu1mr44241739pbc.175.1363169406603; Wed, 13 Mar 2013 03:10:06 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id vd4sm28916234pbc.35.2013.03.13.03.10.02 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Mar 2013 03:10:05 -0700 (PDT) From: Vikas Sajjan To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, sylvester.nawrocki@gmail.com, devicetree-discuss@lists.ozlabs.org, inki.dae@samsung.com, linaro-kernel@lists.linaro.org Subject: [PATCH v7 5/5] ARM: dts: Add FIMD DT binding Documentation Date: Wed, 13 Mar 2013 15:39:31 +0530 Message-Id: <1363169371-310-6-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1363169371-310-1-git-send-email-vikas.sajjan@linaro.org> References: <1363169371-310-1-git-send-email-vikas.sajjan@linaro.org> X-Gm-Message-State: ALoCoQkQU5o4GQdIycCeKNMOxcmr0jg+XoDB1tnoQ6UTggP4fXVae+Gd0snnmMVBN3quaPju9CiA Adds FIMD DT binding documentation both Samsung SoC and Board, with an example Signed-off-by: Vikas Sajjan --- .../devicetree/bindings/video/samsung-fimd.txt | 58 ++++++++++++++++++++ 1 file changed, 58 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..0bca1ca --- /dev/null +++ b/Documentation/devicetree/bindings/video/samsung-fimd.txt @@ -0,0 +1,58 @@ +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 : a phandle to the interrupt combiner node + +- interrupts : should contain a list of all FIMD IP block interrupts: + FIFO Level, VSYNC, LCD_SYSTEM. The interrupt specifier format depends + on the interrupt controller used. + +- interrupt-names : should contain the interrupt names: "fifo", "vsync", + "lcd_sys", in the same order as they were listed in the interrupts + property. + +- pinctrl : property defining the pinctrl configurations with a phandle + +- pinctrl-names : "default" state needs to be specified in the fimd node + The pinctrl bindings defined in + ../../../pinctrl/pinctrl-bindings.txt must be used to define a + pinctrl state named "default". + +Optional Properties: +- samsung,power-domain := a phandle to FIMD power domain node + +Example: + +SoC specific DT Entry: + + fimd@11c00000 { + compatible = "samsung,exynos4210-fimd"; + interrupt-parent = <&combiner>; + reg = <0x11c00000 0x20000>; + interrupt-names = "fifo", "vsync", "lcd_sys"; + interrupts = <11 0>, <11 1>, <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"; + };