From patchwork Wed Feb 6 11:51:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2103921 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 1E5DD3FDF1 for ; Wed, 6 Feb 2013 12:01:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751294Ab3BFMBO (ORCPT ); Wed, 6 Feb 2013 07:01:14 -0500 Received: from mail-da0-f52.google.com ([209.85.210.52]:51781 "EHLO mail-da0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750782Ab3BFMBO (ORCPT ); Wed, 6 Feb 2013 07:01:14 -0500 Received: by mail-da0-f52.google.com with SMTP id f10so606195dak.11 for ; Wed, 06 Feb 2013 04:01:13 -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=OqFdcrf0f+ijpwvJBjourPSQf18I4QazB41OFU/Aq0k=; b=YGsCl76l4jNuur1W5SGBu25N64rqMQ2fJI8JiWbgqOIhrwBCQpYlV5hBvXL/ZB9Hmo 1YrNwnVuuox1EclkeychKgxPopvrxiMbEMyBkl6FYuFPkxL0pFGamN9Q0z2KG28bNlOu HSHxmSCczSw7B4NftSpaH1H4KdwhwXSVHgwsjWIgOEVlFgUml8zmFk1JRPLK4P3pngjj WqUr5lqrSTOqRsWqAGaW0Sveitn2YsYv2M8gn3rVyYbKjzOs5yk4hvCJqovgXJGfu2hM 94nCWoYnbqGba7C/iacSfQV8uDkQLHDdBL0ycLxwe6G38IhMoF6p7zsktBRJ3GX1sak4 yRyQ== X-Received: by 10.66.52.50 with SMTP id q18mr10016547pao.16.1360152073731; Wed, 06 Feb 2013 04:01:13 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id d1sm37225153pav.6.2013.02.06.04.01.11 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 06 Feb 2013 04:01:13 -0800 (PST) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org Cc: kgene.kim@samsung.com, s.nawrocki@samsung.com, inki.dae@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 7/7] ARM: dts: Add Samsung G2D DT bindings documentation Date: Wed, 6 Feb 2013 17:21:17 +0530 Message-Id: <1360151477-26460-8-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1360151477-26460-1-git-send-email-sachin.kamat@linaro.org> References: <1360151477-26460-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQmBMJrV5eCAlem/4vzGb9YahJY1zEvhoIzi9p3z39TodZALDBoPihVWdn+1TqgoXIPIaKrM Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Added documentaion about G2D bindings. Signed-off-by: Sachin Kamat --- .../devicetree/bindings/gpu/samsung-g2d.txt | 30 ++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/gpu/samsung-g2d.txt diff --git a/Documentation/devicetree/bindings/gpu/samsung-g2d.txt b/Documentation/devicetree/bindings/gpu/samsung-g2d.txt new file mode 100644 index 0000000..838b26b --- /dev/null +++ b/Documentation/devicetree/bindings/gpu/samsung-g2d.txt @@ -0,0 +1,30 @@ +* Samsung 2D Graphics Accelerator + +Samsung FIMG2D is a 2D graphics accelerator which supports Bit Block Transfer. +We set the drawing-context registers for configuring the rendering parameters +and then start rendering. +The G2D has V4L2 as well as DRM framework based driver support. + +Required properties: + - compatible : value should be one among the following + (a) "samsung,s5pv210-g2d" for G2D IP present in S5PV210 & Exynos4210 SoC + (b) "samsung,exynos4212-g2d" for G2D IP present in Exynos4x12 SoCs + (b) "samsung,exynos5250-g2d" for G2D IP present in Exynos5250 SoC + + - reg : Physical base address of the IP registers and length of memory + mapped region. + + - interrupts : G2D interrupt number to the CPU. + +Optional properties: + - samsung,power-domain : power-domain property defined with a phandle + to respective power domain. + +Example: + g2d@12800000 { + compatible = "samsung,s5pv210-g2d"; + reg = <0x12800000 0x1000>; + interrupts = <0 89 0>; + samsung,power-domain = <&pd_lcd0>; + status = "disabled"; + };