From patchwork Thu Mar 7 06:45:21 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: 15264 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 B984F23E2E for ; Thu, 7 Mar 2013 06:45:41 +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 68380A182B0 for ; Thu, 7 Mar 2013 06:45:41 +0000 (UTC) Received: by mail-vc0-f169.google.com with SMTP id n10so76753vcn.28 for ; Wed, 06 Mar 2013 22:45:40 -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=ZIcAyR6FJFcTBY152UeGbinC2thJiGZNsMrOWJiFarU=; b=pjTA4uEHiQsYDOJYdRdO4X07y8VrVMJkPLFc28ezkkWS6J3NNzUSkxRaTs46ls7nF/ dCeHZ/8hLbjIuMPy8YXMuglPaH+yE7g7ZrqGivTUEJGgt6zqPyx35FYUdqamW9cafXp8 fmg3/BGngjw+rUWrouEsA480ShbAgxLr+CeKx/DrbyYHAoEU09Yt/MvMGz+5xOKyoH9N e5FwsBrZiIQLg8mhLYyv2t+NAL0wEOYxiIzph3AlUmywxxcKYwvV+mTupHBEfaTjrJBZ +O+6vMu+FxFGrLyRNvCJD8meZh+LZD5PJPew0TWUWlypr0J5sqf01IovqvCnNNtE4Ayg O+xQ== X-Received: by 10.220.149.82 with SMTP id s18mr12507048vcv.14.1362638740732; Wed, 06 Mar 2013 22:45:40 -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 nf2csp55865veb; Wed, 6 Mar 2013 22:45:40 -0800 (PST) X-Received: by 10.68.204.234 with SMTP id lb10mr51991100pbc.64.1362638739667; Wed, 06 Mar 2013 22:45:39 -0800 (PST) Received: from mail-pb0-f52.google.com (mail-pb0-f52.google.com [209.85.160.52]) by mx.google.com with ESMTPS id s9si900168pan.14.2013.03.06.22.45.39 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Mar 2013 22:45:39 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.52 is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) client-ip=209.85.160.52; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.52 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-f52.google.com with SMTP id ma3so136618pbc.25 for ; Wed, 06 Mar 2013 22:45:39 -0800 (PST) X-Received: by 10.68.129.135 with SMTP id nw7mr51593512pbb.58.1362638739262; Wed, 06 Mar 2013 22:45:39 -0800 (PST) Received: from localhost.localdomain ([118.143.64.134]) by mx.google.com with ESMTPS id pn9sm611029pbb.22.2013.03.06.22.45.35 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Mar 2013 22:45: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, joshi@samsung.com, linaro-kernel@lists.linaro.org Subject: [PATCH v11 1/2] video: drm: exynos: Add display-timing node parsing using video helper function Date: Thu, 7 Mar 2013 12:15:21 +0530 Message-Id: <1362638722-24112-2-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1362638722-24112-1-git-send-email-vikas.sajjan@linaro.org> References: <1362638722-24112-1-git-send-email-vikas.sajjan@linaro.org> X-Gm-Message-State: ALoCoQnZfukFPUYBZc4Us/DGgPgEoLvAUVWMSfk/7Hk5aOAeuQ7QnT+byJtTZebLVxeFdt8/JFWb 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..f322ec3 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