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: 2320401 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id AD1383FD8C for ; Fri, 22 Mar 2013 13:57:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932643Ab3CVN5c (ORCPT ); Fri, 22 Mar 2013 09:57:32 -0400 Received: from mail-pb0-f51.google.com ([209.85.160.51]:58160 "EHLO mail-pb0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932361Ab3CVN5b (ORCPT ); Fri, 22 Mar 2013 09:57:31 -0400 Received: by mail-pb0-f51.google.com with SMTP id rr4so416005pbb.10 for ; Fri, 22 Mar 2013 06:57:31 -0700 (PDT) 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=Gl5z5CgDs3beeUGPZOr2tP9AHiKQ66sNYcqiiusNYmI=; b=P3vrso0qFrWqgUhU24rR8Ft+vyGYu4qkIoZ8hjWf9xkVRxwbVxigr4lRGVF8o0uw23 hA4sczXkSb6T+d/zSDZNSPO13qcNb9/IXnWeoBr8xvZvGXiLbInLnpwv3a0JhXdFJfAw +sZjhWVZrclEH4YRijgiksI+GReepaEEQoZSLT6DlbM2YLnuBagfkCWRQUKFP4iH6tQU gLlEozuIW3sI5L+1aqvO9/ua5NJ/lvhyQ0374AVEqQ6nc0COXyG0yyIChK/U39g2bp1C 0X8JXBDnmhKkS3Y1epxJFLh5mbn1gzDTZnAEaJWKTk6JKi9WEYt9c4AGAhC8FzbfKW1p ngtQ== 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: ALoCoQlPJRM0uYKtCdqWUFaIt4fhLC37iSH1AsRsiQ7uQS4wWvXfgpkB//V9rkg1x4Te0Bxtk5dt 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 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"; + };