From patchwork Fri Mar 22 13:56:48 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: 15545 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 9B8E823E75 for ; Fri, 22 Mar 2013 13:57:34 +0000 (UTC) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com [209.85.215.42]) by fiordland.canonical.com (Postfix) with ESMTP id 47D77A1827E for ; Fri, 22 Mar 2013 13:57:34 +0000 (UTC) Received: by mail-la0-f42.google.com with SMTP id fe20so7368917lab.15 for ; Fri, 22 Mar 2013 06:57:33 -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=Gl5z5CgDs3beeUGPZOr2tP9AHiKQ66sNYcqiiusNYmI=; b=iuv65u74jxBF95i4Mpxh8gBlQFyCz1ed+OgQgx9daTDPv34YVloKqyaSQSt/JZIIKB xubzpjfIT/Q7iIX59Gly2UiARAq6aRw6hWlrWWoQQhPg77G6kVcDyjoP0cBAmBYLoLFn FvzvLx9OxCayKWUp0qfsfSjyHn0UTkWuJgAMAbufdIL7IZUw79CvetmtIUXOcgnHyUXa gZkSFnNmRnN6X3S395TC4F7hN08ujhwJVgY5hV4sWx/B5N+IN7NWslv281yiPYBH6K+E srZLKEZiWiHEE3j6yX14JrAIlTb3x2KnIY0tmeeeqgPYCuRYvrYvo2t2d8JmHFkAsxBV 2hpw== X-Received: by 10.112.9.10 with SMTP id v10mr1217841lba.47.1363960653833; Fri, 22 Mar 2013 06:57:33 -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.112.91.146 with SMTP id ce18csp110126lbb; Fri, 22 Mar 2013 06:57:32 -0700 (PDT) X-Received: by 10.66.183.33 with SMTP id ej1mr3443898pac.8.1363960652075; Fri, 22 Mar 2013 06:57:32 -0700 (PDT) Received: from mail-da0-x236.google.com (mail-da0-x236.google.com [2607:f8b0:400e:c00::236]) by mx.google.com with ESMTPS id xr1si2635586pbc.249.2013.03.22.06.57.31 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 22 Mar 2013 06:57:32 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c00::236 is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) client-ip=2607:f8b0:400e:c00::236; Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400e:c00::236 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-da0-f54.google.com with SMTP id p1so2282850dad.13 for ; Fri, 22 Mar 2013 06:57:31 -0700 (PDT) X-Received: by 10.66.13.10 with SMTP id d10mr3490524pac.53.1363960651374; Fri, 22 Mar 2013 06:57:31 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id qd8sm2481880pbc.29.2013.03.22.06.57.26 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 22 Mar 2013 06:57:30 -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 v9 4/4] ARM: dts: Add FIMD DT binding Documentation Date: Fri, 22 Mar 2013 19:26:48 +0530 Message-Id: <1363960608-23825-5-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1363960608-23825-1-git-send-email-vikas.sajjan@linaro.org> References: <1363960608-23825-1-git-send-email-vikas.sajjan@linaro.org> X-Gm-Message-State: ALoCoQlI1NMV0NmsAUJXmFct5KYsL9BHMHrCWkbC/OjPMU+UH/rJVcni1shhsHSMjdPg1jhVwAYW Adds FIMD DT binding documentation for both Samsung SoC and Board, with an example Signed-off-by: Vikas Sajjan --- .../devicetree/bindings/video/samsung-fimd.txt | 68 ++++++++++++++++++++ 1 file changed, 68 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..f92c507 --- /dev/null +++ b/Documentation/devicetree/bindings/video/samsung-fimd.txt @@ -0,0 +1,68 @@ +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". + +- clocks : List of phandle and clock ID pairs, one pair for each clock input + to the device. Should contain clock ID as per + Documentation/devicetree/bindings/clock/exynosXXXX-clock.txt + +- clock-names: List of clock input name strings sorted in the same order as + the clocks property. Should contain "sclk_fimd" and "fimd". + +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>; + clocks = <&clock 140>, <&clock 283>; + clock-names = "sclk_fimd", "fimd"; + status = "disabled"; + }; + +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"; + };