From patchwork Fri Apr 5 10:17:42 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: 15943 Return-Path: X-Original-To: linaro@staging.patches.linaro.org Delivered-To: linaro@staging.patches.linaro.org Received: from mail-yh0-f72.google.com (mail-yh0-f72.google.com [209.85.213.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7AEED26EB0 for ; Fri, 5 Apr 2013 10:18:20 +0000 (UTC) Received: by mail-yh0-f72.google.com with SMTP id i57sf5043166yha.3 for ; Fri, 05 Apr 2013 03:18:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=X+NH/t4USu7RadM9mPs8ynuaWriQGwnsS3oCw15/Md0=; b=CKiXq4icyOejnUJHMJPU2nUd38F1w50IIU0CqHqEXD0Jq8g9nLEd2rSMB6aDsoixdM y34sJ1ARTwrWzhCVOrq6sffYMqga3tsemIRGUwMipY20ClmwUbvTM58Ml5eoNZbalvpa 8B9qRt9m//bWRhuqTFI24+KP+c5t9XDIKpre43dwNC2wc9jy5IeUM0LrSxoiQkidBJ+r HkxKW1RVl9FkH5443ZuLHBCDWXwKWYvRnls0lxmQFqyUiK6JN30SgOUzdkGbzm2j0UNJ ecdDpUEawQcOQGf2gbog49cMp0AlxoCCrPdvF4oaLIg0NSKVsnWbY9fwKE1twK2WdYaD hIYQ== X-Received: by 10.224.157.1 with SMTP id z1mr5165691qaw.8.1365157093239; Fri, 05 Apr 2013 03:18:13 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.5.10 with SMTP id o10ls1822753qeo.69.gmail; Fri, 05 Apr 2013 03:18:13 -0700 (PDT) X-Received: by 10.52.164.211 with SMTP id ys19mr6393041vdb.80.1365157093103; Fri, 05 Apr 2013 03:18:13 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id oy17si10593707vcb.56.2013.04.05.03.18.13 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Apr 2013 03:18:13 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id kw10so832780vcb.19 for ; Fri, 05 Apr 2013 03:18:13 -0700 (PDT) X-Received: by 10.52.65.147 with SMTP id x19mr6552475vds.27.1365157092998; Fri, 05 Apr 2013 03:18:12 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.85.136 with SMTP id h8csp252401vez; Fri, 5 Apr 2013 03:18:12 -0700 (PDT) X-Received: by 10.68.197.164 with SMTP id iv4mr13642027pbc.203.1365157091781; Fri, 05 Apr 2013 03:18:11 -0700 (PDT) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by mx.google.com with ESMTPS id ns4si13943684pbc.110.2013.04.05.03.18.11 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Apr 2013 03:18:11 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.175 is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) client-ip=209.85.192.175; Received: by mail-pd0-f175.google.com with SMTP id g10so1718331pdj.20 for ; Fri, 05 Apr 2013 03:18:11 -0700 (PDT) X-Received: by 10.66.193.227 with SMTP id hr3mr14238607pac.45.1365157091313; Fri, 05 Apr 2013 03:18:11 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id ef3sm15412203pad.20.2013.04.05.03.18.06 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Apr 2013 03:18:10 -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 v11 3/3] ARM: dts: Add FIMD DT binding Documentation Date: Fri, 5 Apr 2013 15:47:42 +0530 Message-Id: <1365157062-8669-4-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1365157062-8669-1-git-send-email-vikas.sajjan@linaro.org> References: <1365157062-8669-1-git-send-email-vikas.sajjan@linaro.org> X-Gm-Message-State: ALoCoQm3U/UtE8XvNsibOVwQus3YJhJe7Y1yCeKPPf1nbWXgbC3O47X9vVNkUtHIzKmxqdQHYj1l X-Original-Sender: vikas.sajjan@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add DT binding documentation for the FIMD IP block found in Samsung SoCs. Signed-off-by: Vikas Sajjan Reviewed-by: Sylwester Nawrocki --- .../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 and length of the FIMD registers set. + +- 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 property. + +- 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"; + };