From patchwork Wed Feb 27 11:49:55 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: 15122 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 408F223E00 for ; Wed, 27 Feb 2013 11:50:21 +0000 (UTC) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by fiordland.canonical.com (Postfix) with ESMTP id 889F1A18985 for ; Wed, 27 Feb 2013 11:50:20 +0000 (UTC) Received: by mail-ve0-f170.google.com with SMTP id 14so450363vea.29 for ; Wed, 27 Feb 2013 03:50:20 -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=PT9wKWvsDEkq3fcJ60NS9EkaFGNLUPyc2EWRbYpjSXM=; b=PCChS0jaZWsosJcrbedsmKur45ugtRHyZYZfFpNiCDAvUStbr7PY+/G0Xrtxcd2Hjq JMXvnrTGV/Vm2on4aqxpBMZCN3ufR0Dbhbn2zGs1v1PUINLxg/4niV/KoCuTsY6wadPy rcq8Pc4+YxXX/y/t/UppnDfGFiLSW19IUbc73DT1oxcOI1slMmorcB9QbeqDwBMALCQk IoWP21grmX1OJC5zxlcGIZRLPWbdZp6HHqpGLylOt6hRML8ntUt2dBTaJmYxoO7KMdwW 22rVhJ1AWhphp/0KySHmiMH4IG3qXFpQxK8DKLy8Dya3fxuSd4VraYcP4S4UUZ5Y1UKA WFNA== X-Received: by 10.52.93.235 with SMTP id cx11mr640608vdb.51.1361965820050; Wed, 27 Feb 2013 03:50:20 -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 st5csp162402veb; Wed, 27 Feb 2013 03:50:19 -0800 (PST) X-Received: by 10.68.231.70 with SMTP id te6mr2853549pbc.159.1361965818828; Wed, 27 Feb 2013 03:50:18 -0800 (PST) Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by mx.google.com with ESMTPS id jy6si4356924pbc.239.2013.02.27.03.50.18 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Feb 2013 03:50:18 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.47 is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) client-ip=209.85.220.47; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.47 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-pa0-f47.google.com with SMTP id bj3so385594pad.34 for ; Wed, 27 Feb 2013 03:50:18 -0800 (PST) X-Received: by 10.68.31.130 with SMTP id a2mr2760944pbi.213.1361965818439; Wed, 27 Feb 2013 03:50:18 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id vq9sm4424195pbc.36.2013.02.27.03.50.14 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Feb 2013 03:50:17 -0800 (PST) From: Vikas Sajjan To: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org, kgene.kim@samsung.com, joshi@samsung.com, inki.dae@samsung.com, l.krishna@samsung.com, patches@linaro.org, linaro-dev@lists.linaro.org Subject: [PATCH v8 1/2] video: drm: exynos: Add display-timing node parsing using video helper function Date: Wed, 27 Feb 2013 17:19:55 +0530 Message-Id: <1361965796-16117-2-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1361965796-16117-1-git-send-email-vikas.sajjan@linaro.org> References: <1361965796-16117-1-git-send-email-vikas.sajjan@linaro.org> X-Gm-Message-State: ALoCoQmPFu6evMXA8KWIOQSB1aw6VQjYftlbP9hzFTY1E6bseFZWWyI5DcVdXMj/NZ8p3qQfyxWj 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 Acked-by: Joonyoung Shim --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 25 +++++++++++++++++++++---- 1 file changed, 21 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..7932dc2 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