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: 14640 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 6E1A423E39 for ; Wed, 6 Feb 2013 12:01:17 +0000 (UTC) Received: from mail-vb0-f42.google.com (mail-vb0-f42.google.com [209.85.212.42]) by fiordland.canonical.com (Postfix) with ESMTP id 28EC3A18C06 for ; Wed, 6 Feb 2013 12:01:17 +0000 (UTC) Received: by mail-vb0-f42.google.com with SMTP id ff1so777798vbb.1 for ; Wed, 06 Feb 2013 04:01:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=OqFdcrf0f+ijpwvJBjourPSQf18I4QazB41OFU/Aq0k=; b=YxROEaKS/3HWhwtJUhBL1UxQrYIAWU9YiRZBpSGjSI7HLnYxkeCno2j0jGpKcNVKdu sO70cCa+IeSLjugu1pUFvQyUxcHKDOTz9d0ZZbgQVGJDAQka3MrIipjPvm9O3xpI9W2t 4UaqwsfyuawB4v9NAmjqHQtjMUZfBgyaIfuhJHaUZeQDFCsZFSTxQ6sdDRLOammQV4Eu lH2dl1PnTJtrDHrPIy5fYl/75xmK6+k9owWz+qhciULCMyTRbxHLURNmt0tyDlgEG1qv 02YHRe2SrAwkORZrirXlfgvk3KXtEWrU0qKQtYPIAEJxq1gXBO+RdcAaCEeeyCzbbTqP hOiQ== X-Received: by 10.220.219.77 with SMTP id ht13mr31834178vcb.66.1360152076671; Wed, 06 Feb 2013 04:01:16 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.252.8 with SMTP id zo8csp18387vec; Wed, 6 Feb 2013 04:01:15 -0800 (PST) X-Received: by 10.50.236.38 with SMTP id ur6mr5532961igc.19.1360152074932; Wed, 06 Feb 2013 04:01:14 -0800 (PST) Received: from mail-da0-f45.google.com (mail-da0-f45.google.com [209.85.210.45]) by mx.google.com with ESMTPS id u7si28570030paw.330.2013.02.06.04.01.14 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Feb 2013 04:01:14 -0800 (PST) Received-SPF: neutral (google.com: 209.85.210.45 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.210.45; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.45 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-da0-f45.google.com with SMTP id w4so614882dam.4 for ; Wed, 06 Feb 2013 04:01:13 -0800 (PST) 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: ALoCoQkWEo86ry6WTfFjZriIc+F7I+Y3yVYg/6CMrawZcDPKwfXf68VU/AA3CvRc9pztBWB7d8oe 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"; + };