From patchwork Fri Mar 1 05:34: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: 15187 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 7BD8823E27 for ; Fri, 1 Mar 2013 05:35:01 +0000 (UTC) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by fiordland.canonical.com (Postfix) with ESMTP id 45E6EA1977F for ; Fri, 1 Mar 2013 05:35:01 +0000 (UTC) Received: by mail-vc0-f177.google.com with SMTP id m18so1729272vcm.36 for ; Thu, 28 Feb 2013 21:35:00 -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=7Rv+ctghG2lVrMrTt66wvCKRj2n+XN96Qk/Sn+/BOs8=; b=ndm4WhkpVebAJ3TFEsRmaJRyrLGAnSwERLNh6OFezbyDmbJW0nnIwV/jHSJ1GrXao+ /fb7DZtMaqSszXJf8rzt9xOaz/exrpZ34lgTlJ/qtZj5vKX3OG86IxgkZ3Np9pHH0e9m GFUebUX1KsovcXu55oKMLlUu2OIQgVv7v+5uT8ATzHuB+Rg8NS79h+t1PHmAEmfChiIN f8YiA57PZWJfBxGtRHUjWj3EXSxYr8H6ZLNY5ituuNPnrsFhLtz62F5w5uzKNpBh8BCJ XCCd65FOjxVAFsTSMBu0YaWmdrBN09Lw82skYSHzLbHKRnk9Hbh6yQoJq9a05wHMz4FF OYBg== X-Received: by 10.220.149.82 with SMTP id s18mr3583359vcv.14.1362116100738; Thu, 28 Feb 2013 21:35:00 -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.145.101 with SMTP id st5csp7702veb; Thu, 28 Feb 2013 21:35:00 -0800 (PST) X-Received: by 10.68.83.38 with SMTP id n6mr12807706pby.28.1362116099571; Thu, 28 Feb 2013 21:34:59 -0800 (PST) Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) by mx.google.com with ESMTPS id b7si11300610paz.42.2013.02.28.21.34.59 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Feb 2013 21:34:59 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.43 is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) client-ip=209.85.160.43; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.43 is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) smtp.mail=vikas.sajjan@linaro.org Received: by mail-pb0-f43.google.com with SMTP id md12so1538721pbc.16 for ; Thu, 28 Feb 2013 21:34:59 -0800 (PST) X-Received: by 10.66.4.193 with SMTP id m1mr16690272pam.214.1362116099114; Thu, 28 Feb 2013 21:34:59 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id xr3sm10784083pbc.46.2013.02.28.21.34.54 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Feb 2013 21:34:57 -0800 (PST) From: Vikas Sajjan To: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org, kgene.kim@samsung.com, inki.dae@samsung.com, l.krishna@samsung.com, jy0922.shim@samsung.com, sylvester.nawrocki@gmail.com Subject: [PATCH v10 1/2] video: drm: exynos: Add display-timing node parsing using video helper function Date: Fri, 1 Mar 2013 11:04:39 +0530 Message-Id: <1362116080-20063-2-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1362116080-20063-1-git-send-email-vikas.sajjan@linaro.org> References: <1362116080-20063-1-git-send-email-vikas.sajjan@linaro.org> X-Gm-Message-State: ALoCoQlbRF+KMLGhrE5IOOhjlWYXYwnBfgKLRrosvk4pa47t1DX6xW4o0cRXUQtYZRX8Mju933qn Add support for parsing the display-timing node using video helper function. The DT node parsing is done only if 'dev.of_node' exists and the NON-DT logic is still maintained under the 'else' part. Signed-off-by: Leela Krishna Amudala Signed-off-by: Vikas Sajjan Acked-by: Joonyoung Shim --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index 9537761..e323cf9 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -20,6 +20,7 @@ #include #include +#include