From patchwork Thu Feb 28 09:42:39 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: 2196311 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 A8AF7DF2A2 for ; Thu, 28 Feb 2013 09:43:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752078Ab3B1JnV (ORCPT ); Thu, 28 Feb 2013 04:43:21 -0500 Received: from mail-pb0-f52.google.com ([209.85.160.52]:38759 "EHLO mail-pb0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752058Ab3B1JnU (ORCPT ); Thu, 28 Feb 2013 04:43:20 -0500 Received: by mail-pb0-f52.google.com with SMTP id ma3so982837pbc.11 for ; Thu, 28 Feb 2013 01:43:20 -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=8v7jlVIMrzDtrdwgWy/SNBUCytE47R4IZ+1rd1KbVNI=; b=oo2CNJ0l7K/24w3jn4XTTFeANS954jMCWHviefIkqwALX9B8QG+5x4264BFDqKbsPU i0Nlts0ZaLOybfl8oZabQAPasbbUU9NqTdRMJqRZkGb5AFq1D/kKQBKP7AGTmLEGXna5 gCnNH2e0B/Ec7foDKzWvPyDsi8TYfWu919iYsXMsJJSqQtbS889bvA1miFdptMHPtLhs wxbFShJ2QVfQ3TIh2dhG2nYB/oFm0sd1xhIzLjUJUp5eaVvTXUnf5zdcjmK7KrjgOaA1 mQZRk1pi+41hO314FYS10+WQiwNwrNpJTg4h2JFWKk7/Kg+lFu6jZTaAqgqr8E06rOkr rQGQ== X-Received: by 10.68.203.33 with SMTP id kn1mr7974030pbc.197.1362044600054; Thu, 28 Feb 2013 01:43:20 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id zm1sm7818402pbc.26.2013.02.28.01.43.15 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Feb 2013 01:43:19 -0800 (PST) From: Vikas Sajjan To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, sachin.kamat@linaro.org, t.figa@samsung.com, sylvester.nawrocki@gmail.com, devicetree-discuss@lists.ozlabs.org, inki.dae@samsung.com, jy0922.shim@samsung.com Subject: [PATCH v6 5/5] ARM: dts: Add FIMD DT binding Documentation Date: Thu, 28 Feb 2013 15:12:39 +0530 Message-Id: <1362044559-7496-6-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1362044559-7496-1-git-send-email-vikas.sajjan@linaro.org> References: <1362044559-7496-1-git-send-email-vikas.sajjan@linaro.org> X-Gm-Message-State: ALoCoQnH6nLH9QJHO+9Ox5vd1ViI7HjNXYmBPWqAzkV+i4yr5y7JuEL2rs0ZIG2HppwBFlv9IKQq 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 Samsung SoC and Board, with an example Signed-off-by: Vikas Sajjan --- .../devicetree/bindings/video/samsung-fimd.txt | 54 ++++++++++++++++++++ 1 file changed, 54 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..8d201e7 --- /dev/null +++ b/Documentation/devicetree/bindings/video/samsung-fimd.txt @@ -0,0 +1,54 @@ +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 := 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. + but since the driver expects VSYNC to be the first IRQ, + make sure to mention order as VSYNC, FIFO Level and LCD_SYSTEM + keeping VSYNC as first IRQ as shown below. + for example: interrupts = <11 1>, <11 0>, <11 2>; + +- 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"; + };