From patchwork Sat Mar 9 00:10:19 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: 15277 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 7364823DE1 for ; Sat, 9 Mar 2013 18:58:22 +0000 (UTC) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by fiordland.canonical.com (Postfix) with ESMTP id 23CECA18952 for ; Sat, 9 Mar 2013 00:10:43 +0000 (UTC) Received: by mail-ve0-f175.google.com with SMTP id cy12so1657621veb.34 for ; Fri, 08 Mar 2013 16:10:41 -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=mpK6/MPaiLLjokSZbg196UvBqqcEFe+jFBCYXl9dq3F9LrHzkyV3wysROH/t/RKe4b iNTVnqhEDdYQRAIKPEcqgo2E7P+M7rwI54WAj54qQaBQRWHDFvWQFj29k0ePlz9kta2Y u4dcp9CvITuBFMu2ix1U+ry0ksRvlbQNWjvK31eVr7BARJSFnTr3l/itYZHlaaY12UxV Lhz3cRap0/CVJIiQAhmwIexTRAiEjMkbG7vnpxJVaYKCLKrUIDEkc1UwtmJZ1tqdK1/1 Qr6F1hvaZ8N76xesjUevmfhBpJPJnwCW6ol+A6yezNGBzzOHMyFxK5LuRnyOiKVCetPc fOCw== X-Received: by 10.52.88.237 with SMTP id bj13mr1515170vdb.75.1362787841777; Fri, 08 Mar 2013 16:10:41 -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.127.98 with SMTP id nf2csp3503veb; Fri, 8 Mar 2013 16:10:41 -0800 (PST) X-Received: by 10.68.170.193 with SMTP id ao1mr3618677pbc.129.1362787840813; Fri, 08 Mar 2013 16:10:40 -0800 (PST) Received: from mail-da0-x22f.google.com (mail-da0-x22f.google.com [2607:f8b0:400e:c00::22f]) by mx.google.com with ESMTPS id pl3si8014049pbc.288.2013.03.08.16.10.40 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 08 Mar 2013 16:10:40 -0800 (PST) Received-SPF: neutral (google.com: 2607:f8b0:400e:c00::22f is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) client-ip=2607:f8b0:400e:c00::22f; Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400e:c00::22f 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-f47.google.com with SMTP id s35so234720dak.6 for ; Fri, 08 Mar 2013 16:10:40 -0800 (PST) X-Received: by 10.68.191.9 with SMTP id gu9mr6777291pbc.23.1362787839957; Fri, 08 Mar 2013 16:10:39 -0800 (PST) Received: from user-laptop.solutionip.com ([118.143.64.130]) by mx.google.com with ESMTPS id eg1sm7307924pbb.33.2013.03.08.16.10.34 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 08 Mar 2013 16:10:38 -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, linaro-kernel@lists.linaro.org Subject: [PATCH v13 1/2] video: drm: exynos: Add display-timing node parsing using video helper function Date: Sat, 9 Mar 2013 05:40:19 +0530 Message-Id: <1362787820-5305-2-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1362787820-5305-1-git-send-email-vikas.sajjan@linaro.org> References: <1362787820-5305-1-git-send-email-vikas.sajjan@linaro.org> X-Gm-Message-State: ALoCoQnnCZDOK9jCWjUOGoy7YSBuq+akfgzO4hbPImlM0o6Z3xCIFv5KLQGYokXggKbHWdm4XYP8 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