From patchwork Mon Apr 1 14:22:32 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: 15793 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 B95EE23E00 for ; Mon, 1 Apr 2013 14:23:03 +0000 (UTC) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by fiordland.canonical.com (Postfix) with ESMTP id 5DF93A18250 for ; Mon, 1 Apr 2013 14:23:03 +0000 (UTC) Received: by mail-ve0-f173.google.com with SMTP id cy12so2552249veb.18 for ; Mon, 01 Apr 2013 07:23:02 -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=kPzuhscpKekfnCS1KNn5HwdWGaA5tZxAhO0TME7eIBM=; b=bRq/yaIzoGfTMjgg8DO4ExYluZ5YA0Csdro9tNFxNHmk5duMeFnU0dXb2nMW+PE0/g 4FrukWk1xMzKf3yunnPU9J/OUqd8IiIGfYEWcfRWZxBeJjYWRHCPph6qFaFpehKQ2KvS /KgEwu29ZlcGNQxcytnnzcTyCVhj4lVQAPOrqOO+Nol02LwGxkTTzD0nUyG5uFtlh9/G zX7Fs1tjB13AKzQ57LFY7xboqRW57H1yGrX2rR6vvSlURw1t4xn0zbBsrKWyrQIfljRf nHUCLQ7bofqfKk3WCqUM/RDIev/dkHCZt6ygoRXc1BAvuUI9xOooZmDsw0TJ+s/+m+xj fZKw== X-Received: by 10.52.31.103 with SMTP id z7mr7963518vdh.56.1364826182904; Mon, 01 Apr 2013 07:23:02 -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.59.4.204 with SMTP id cg12csp83478ved; Mon, 1 Apr 2013 07:23:01 -0700 (PDT) X-Received: by 10.66.102.10 with SMTP id fk10mr19449466pab.169.1364826181497; Mon, 01 Apr 2013 07:23:01 -0700 (PDT) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by mx.google.com with ESMTPS id ul7si13260307pbc.268.2013.04.01.07.23.01 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Apr 2013 07:23:01 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.49 is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) client-ip=209.85.220.49; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.49 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-f49.google.com with SMTP id kp14so1349486pab.36 for ; Mon, 01 Apr 2013 07:23:01 -0700 (PDT) X-Received: by 10.66.139.133 with SMTP id qy5mr19081317pab.152.1364826181096; Mon, 01 Apr 2013 07:23:01 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id kl4sm14001944pbc.31.2013.04.01.07.22.56 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Apr 2013 07:22:59 -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, patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH v10 3/3] ARM: dts: Add FIMD DT binding Documentation Date: Mon, 1 Apr 2013 19:52:32 +0530 Message-Id: <1364826153-8925-4-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1364826153-8925-1-git-send-email-vikas.sajjan@linaro.org> References: <1364826153-8925-1-git-send-email-vikas.sajjan@linaro.org> X-Gm-Message-State: ALoCoQkGZerdYd5lFb1HqIpPF6Pb6XiPBOd5kcQn+1WPawGNcsy2dWvCtUEm0z+yz8XZTymep/wc Add DT binding documentation for the FIMD IP block found in Samsung SoCs. Signed-off-by: Vikas Sajjan --- .../devicetree/bindings/video/samsung-fimd.txt | 65 ++++++++++++++++++++ 1 file changed, 65 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..1984dbb --- /dev/null +++ b/Documentation/devicetree/bindings/video/samsung-fimd.txt @@ -0,0 +1,65 @@ +Device-Tree bindings for Samsung SoC display controller (FIMD) + +FIMD (Fully Interactive Mobile Display) is the Display Controller for the +Samsung series of SoCs which transfers the image data from a video memory buffer +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: should be the phandle of the fimd controller's + parent interrupt controller. + +- interrupts: should contain a list of all FIMD IP block interrupts in the + order: 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-0: pin control group to be used for this controller. + +- pinctrl-names: must contain a "default" entry. + +- clocks: must include clock specifiers corresponding to entries in the + clock-names properties. + +- clock-names: List of clock names sorted in the same order as the clocks + property. Must 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"; + samsung,power-domain = <&pd_lcd0>; + status = "disabled"; + }; + +Board specific DT entry: + + fimd@11c00000 { + pinctrl-0 = <&lcd_clk &lcd_data24 &pwm1_out>; + pinctrl-names = "default"; + status = "okay"; + };