From patchwork Wed Feb 27 08:43:40 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: 2192631 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id AB436DF2F2 for ; Wed, 27 Feb 2013 08:44:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757574Ab3B0IoS (ORCPT ); Wed, 27 Feb 2013 03:44:18 -0500 Received: from mail-da0-f49.google.com ([209.85.210.49]:52041 "EHLO mail-da0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757014Ab3B0IoR (ORCPT ); Wed, 27 Feb 2013 03:44:17 -0500 Received: by mail-da0-f49.google.com with SMTP id t11so191195daj.22 for ; Wed, 27 Feb 2013 00:44:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=K0iuOIcsDcj8dO03OYwaaD07G+T3qYFkufM42CLFvL8=; b=XEg9X8pD6G5fvLKaoac2vIbT/nxVhkv7m0c+sEGcgfTUcMFSy9j1ozzQDvYu8Y5ykS o3JWi6z/GAhxM4JURWCZCueESRNfTorzBxNmEehGGjSO2giBqB8fQc2zGQupzHHf6ayH W2taHqIeoK3BOFZ//lHNn/MhYgn0E6eWh6Rq3UOQMsYi6BxQ4Zgk+9/xEHtCsPdMKb2L x4Ce26ZQggf1HE/cmMMcFxwRHVE3LP6ooeZu7JoFFF4GFfqCT+pAmA2dinxFrmMHVsx2 HWR2a1rw34c52M1JXTpL72uIy9eBGxS/2Xs1W5b6iF1mmKxk7M/VDXjYarLK7KB31lFy uZqg== X-Received: by 10.68.138.197 with SMTP id qs5mr2156412pbb.121.1361954657047; Wed, 27 Feb 2013 00:44:17 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id y10sm3932386pbf.39.2013.02.27.00.44.12 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Feb 2013 00:44:15 -0800 (PST) From: Vikas Sajjan To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, inki.dae@samsung.com, t.figa@samsung.com, sylvester.nawrocki@gmail.com, devicetree-discuss@lists.ozlabs.org, sachin.kamat@linaro.org, joshi@samsung.com Subject: [PATCH v5 5/5] ARM: exynos: dts: Add FIMD DT binding Documentation Date: Wed, 27 Feb 2013 14:13:40 +0530 Message-Id: <1361954620-20614-6-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1361954620-20614-1-git-send-email-vikas.sajjan@linaro.org> References: <1361954620-20614-1-git-send-email-vikas.sajjan@linaro.org> X-Gm-Message-State: ALoCoQnRcMJ28+b6vf/n76nhf2x9N0X6wX8tUbjeZacdoGsMi9qV48ju4wXwKXB8Z1FcLEdCzcZY Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Adds FIMD DT binding documentation both SoC and Board, with an example Signed-off-by: Vikas Sajjan --- .../devicetree/bindings/video/exynos-fimd.txt | 46 ++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/exynos-fimd.txt diff --git a/Documentation/devicetree/bindings/video/exynos-fimd.txt b/Documentation/devicetree/bindings/video/exynos-fimd.txt new file mode 100644 index 0000000..b3542b9 --- /dev/null +++ b/Documentation/devicetree/bindings/video/exynos-fimd.txt @@ -0,0 +1,46 @@ +Device-Tree bindings for Exynos SoC display controller (FIMD) + +FIMD stands for Fully Interactive Mobile Display, is the Display Controller for +the Exynos 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 can be one these below + "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. Make sure to mention order + as VSYNC, FIFO Level and LCD_SYSTEM as show in the example below. +- 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"; + };