From patchwork Fri Feb 15 06:43:07 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: 14827 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 77B9923F72 for ; Fri, 15 Feb 2013 06:43:24 +0000 (UTC) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by fiordland.canonical.com (Postfix) with ESMTP id 2CACDA18303 for ; Fri, 15 Feb 2013 06:43:24 +0000 (UTC) Received: by mail-vc0-f169.google.com with SMTP id n10so2014308vcn.14 for ; Thu, 14 Feb 2013 22:43:23 -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=Zrj2R/oTJwHUy8d1iT83Ds9R5KYLKRe57P6Gd6DEOXk=; b=bgo5VGfu3MG2nMBiM84M+qB6eChAZ/2dwE/nt1Iw+kzKukEeChdxFA9u4cWoU407W+ tpgVwDuU0ro/vAOp1/qmb0bena37Q2vHxQZaxRSJnuyCZh/LnOi/p5tLBkGIVwDui0PW 9KHcEflyz6bhHo+52Sd3cQL4rjRgXl7/tF13tXcBnJaa+5VOSUKZxlKIcOx84pdy+j/d 13HiLKXrQ+yafOPPtVfwFqplWNOXWQBoYVtLCCoCVssZIt2dlPGsna+DxTYTl55NPNAS 6Bz63yRlh0hCnYsrNkop+CVjd2iWaYHiKijcPBYT+4Fs89GyjueQwzcj6WSk6wMbvEY2 vNrw== X-Received: by 10.52.69.74 with SMTP id c10mr1657596vdu.3.1360910603429; Thu, 14 Feb 2013 22:43:23 -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.221.4.5 with SMTP id oa5csp305843vcb; Thu, 14 Feb 2013 22:43:23 -0800 (PST) X-Received: by 10.68.189.133 with SMTP id gi5mr3426492pbc.129.1360910602615; Thu, 14 Feb 2013 22:43:22 -0800 (PST) Received: from mail-da0-f49.google.com (mail-da0-f49.google.com [209.85.210.49]) by mx.google.com with ESMTPS id p10si10880225paw.278.2013.02.14.22.43.22 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Feb 2013 22:43:22 -0800 (PST) Received-SPF: neutral (google.com: 209.85.210.49 is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) client-ip=209.85.210.49; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.49 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-da0-f49.google.com with SMTP id t11so1346734daj.22 for ; Thu, 14 Feb 2013 22:43:22 -0800 (PST) X-Received: by 10.66.81.199 with SMTP id c7mr10552577pay.39.1360910602124; Thu, 14 Feb 2013 22:43:22 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id kc15sm3776317pbb.5.2013.02.14.22.43.18 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Feb 2013 22:43:21 -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, patches@linaro.org Subject: [PATCH v6 1/1] video: drm: exynos: Add display-timing node parsing using video helper function Date: Fri, 15 Feb 2013 12:13:07 +0530 Message-Id: <1360910587-25548-2-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1360910587-25548-1-git-send-email-vikas.sajjan@linaro.org> References: <1360910587-25548-1-git-send-email-vikas.sajjan@linaro.org> X-Gm-Message-State: ALoCoQm4TxD0PnppwmNIRNbSemg3u7rdoXii1pMdHIcAS8weSaGfkEeqNXBu6lY8a4Z9Q/wflC7F Add support for parsing the display-timing node using video helper function. The DT node parsing and pinctrl selection 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 --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 37 ++++++++++++++++++++++++++---- 1 file changed, 33 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..8b2c0ff 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -19,7 +19,9 @@ #include #include #include +#include +#include