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: 2397621 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 B6A4FDF2E5 for ; Fri, 5 Apr 2013 10:18:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161094Ab3DEKSN (ORCPT ); Fri, 5 Apr 2013 06:18:13 -0400 Received: from mail-da0-f41.google.com ([209.85.210.41]:45971 "EHLO mail-da0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161142Ab3DEKSL (ORCPT ); Fri, 5 Apr 2013 06:18:11 -0400 Received: by mail-da0-f41.google.com with SMTP id w4so1545913dam.14 for ; Fri, 05 Apr 2013 03:18:11 -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=X+NH/t4USu7RadM9mPs8ynuaWriQGwnsS3oCw15/Md0=; b=X9/SwJQ43Md46XxVUYylOVR6H7o+6WZ0uodUcEgZx3g7kXCiOHIW3KGHmrNf//6fCb ldvS/fmK9lZzJ6Q2dA3now2+X15C8PsvdiIpswXsaFkVg1oBtUfFuxh9d5BP81P+QH/d 6qpHE5UFXwc/3qgSD8BLl64zAKTNvacDxJvmenUQtQrAdyjxfePgwMQcdPu+NKbVvbN6 u62gw84Mc4XEGM3hviVjHMFG3ch74A006FTD8SXDB8WUXrY74JIFZpBs2lQRR84A17wJ gyunNzw825hn6eN1J7zIi6HHSYQkssx8hSlzWebkmlpRvMOyYLWuqwoAgL1pivxYur+P 8qfQ== 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: ALoCoQlXxB5vHvYt/J+hMkAJnvhToc9+QAqya4s8zyJ/zJwItw9geamdyfjnyUpp75tDOuWS9nTs Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org 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"; + };